()
| 64 | }; |
| 65 | |
| 66 | const sessionFlag = (): Pick<Storage, "getItem" | "setItem"> | null => { |
| 67 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: sessionStorage throws when storage is blocked or full |
| 68 | try { |
| 69 | return window.sessionStorage; |
| 70 | } catch { |
| 71 | return null; |
| 72 | } |
| 73 | }; |
| 74 | |
| 75 | /** |
| 76 | * The real browser half of the environment `respondToPreloadError` consumes. |
no outgoing calls
no test coverage detected