()
| 17 | } |
| 18 | |
| 19 | function regularPath() { |
| 20 | const argString = document.currentScript!.dataset.arg; |
| 21 | if (argString !== undefined) { |
| 22 | document.documentElement.dataset[key] = 'true'; |
| 23 | const args: {enableStyleSheetsProxy: boolean; enableCustomElementRegistryProxy: boolean} = JSON.parse(argString); |
| 24 | logInfo(`MV3 proxy injector: regular path runs injectProxy(${argString}).`); |
| 25 | injectProxyAndCleanup(args); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | function dataReceiver(e: any) { |
| 30 | document.removeEventListener(EVENT_ARG, dataReceiver); |
no test coverage detected
searching dependent graphs…