Bug 249411 - `browser` namespace is undefined for extension service workers in WebKit.
Summary: `browser` namespace is undefined for extension service workers in WebKit.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Extensions (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-15 10:36 PST by Kiara Rose
Modified: 2022-12-22 10:37 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kiara Rose 2022-12-15 10:36:29 PST
`browser` namespace is undefined for extension service workers in WebKit. Received this error when trying to load a test extension in WebKit using a service worker. 

"ServiceWorkerContainer::jobFailedWithException: Job 7 failed with error ReferenceError: Can't find variable: browser".

We should also add a WebKit test for service workers.
Comment 1 Radar WebKit Bug Importer 2022-12-22 10:37:34 PST
<rdar://problem/103642820>