()
| 135 | } |
| 136 | }, |
| 137 | onAbort() { |
| 138 | if (!claim()) return |
| 139 | if (bridgeCallbacks && bridgeRequestId) { |
| 140 | bridgeCallbacks.sendResponse(bridgeRequestId, { |
| 141 | behavior: 'deny', |
| 142 | message: 'User aborted', |
| 143 | }) |
| 144 | bridgeCallbacks.cancelRequest(bridgeRequestId) |
| 145 | } |
| 146 | channelUnsubscribe?.() |
| 147 | ctx.logCancelled() |
| 148 | ctx.logDecision( |
| 149 | { decision: 'reject', source: { type: 'user_abort' } }, |
| 150 | { permissionPromptStartTimeMs }, |
| 151 | ) |
| 152 | resolveOnce(ctx.cancelAndAbort(undefined, true)) |
| 153 | }, |
| 154 | async onAllow( |
| 155 | updatedInput, |
| 156 | permissionUpdates: PermissionUpdate[], |
nothing calls this directly
no test coverage detected