WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
256893
Make sure to run a service worker before firing its activate event
https://bugs.webkit.org/show_bug.cgi?id=256893
Summary
Make sure to run a service worker before firing its activate event
youenn fablet
Reported
2023-05-17 06:27:14 PDT
Make sure to run a service worker before firing its activate event
Attachments
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2023-05-17 06:27:31 PDT
<
rdar://109411104
>
youenn fablet
Comment 2
2023-05-17 06:37:13 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13961
EWS
Comment 3
2023-05-19 02:07:36 PDT
Committed
264242@main
(ff4eced3ff23): <
https://commits.webkit.org/264242@main
> Reviewed commits have been landed. Closing PR #13961 and removing active labels.
Thomas Wisniewski [:twisniewski]
Comment 4
2023-06-07 14:09:09 PDT
Has the new WPT in this patch been sent to be synced upstream? I'm not seeing it on wpt.fyi or wpt.live.
Thomas Wisniewski [:twisniewski]
Comment 5
2023-06-07 14:16:51 PDT
(I also note that `withIframe` isn't defined in the test itself, so it would be good to fix that before sending a PR).
youenn fablet
Comment 6
2023-06-13 06:22:12 PDT
(In reply to Thomas Wisniewski [:twisniewski] from
comment #4
)
> Has the new WPT in this patch been sent to be synced upstream? I'm not > seeing it on wpt.fyi or wpt.live.
The test is in LayoutTests/http/wpt so it is separate from wpt.fyi. I guess we could upstream it though to help other browsers. Would that be of interest? withIFrame is defined in a JS file in wpt repo.
Thomas Wisniewski [:twisniewski]
Comment 7
2023-06-13 06:47:15 PDT
Ah I see, thanks for the explanation! Yes, it would be great to have as much coverage in WPTs as possible instead of browser-specific test infrastructure, so that we can all ensure interop. Even where it isn't currently possible (due to lacking low-level APIs and such), it would be good to let the WPT team know what's missing to make it possible eventually. This doesn't have to be a high priority of course, but every little bit helps (especially with interop202x [1] being a thing; the better our coverage now, the less likely service workers will become a future focus area in that project).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug