| Summary: | ServiceWorker.postMessage() doesn't work from inside iframe | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | nkronlage | ||||||||||||||||||
| Component: | Service Workers | Assignee: | youenn fablet <youennf> | ||||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||||
| Severity: | Normal | CC: | cdumez, esprehn+autocc, ews-watchlist, japhet, kangil.han, webkit-bug-importer, youennf | ||||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||
| Version: | Safari Technology Preview | ||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||
|
Description
nkronlage
2020-07-05 22:08:04 PDT
Issue is that the iframe is not registered as a service worker client. Created attachment 406027 [details]
Patch
Created attachment 457601 [details]
Patch
Created attachment 457603 [details]
Patch
Created attachment 457606 [details]
Patch
Created attachment 457618 [details]
Patch
Comment on attachment 457618 [details]
Patch
r=me
The check to reduce service worker client registrations out of http/blob/about is not working with extension schemes. I'll remove it. Created attachment 457681 [details]
Patch for landing
Created attachment 457685 [details]
Patch
Committed r292905 (249675@main): <https://commits.webkit.org/249675@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 457685 [details]. |