(error)
| 112 | |
| 113 | // Convert LOCK_STOLEN_ERROR to AbortError DOMException |
| 114 | function convertLockError(error) { |
| 115 | if (error?.message === locks.LOCK_STOLEN_ERROR) { |
| 116 | return lazyDOMException('The operation was aborted', 'AbortError'); |
| 117 | } |
| 118 | return error; |
| 119 | } |
| 120 | |
| 121 | function publishLockRequestStart(name, mode) { |
| 122 | if (lockRequestStartChannel.hasSubscribers) { |
no test coverage detected
searching dependent graphs…