Re: [w3c/ServiceWorker] serviceworker for iframes with srcdoc (#765)

Currently working on this. [Process the iframe attributes](https://html.spec.whatwg.org/#process-the-iframe-attributes) algorithm is where it seems the logic should be added (or at least the parts related with this algorithm.)

Note: I strongly feel both `about:blank` (no matter whether it goes through fetch or not) and `about:srcdoc` should NOT have a controller. They are NOT able to match any registration, so should be considered in non-controlled state. (The active service worker of those documents' environment is null by default.) So, going back to the OP issue, only when `sandbox="allow-same-origin"` comes together with `srcdoc="/* source */"`, the iframe should inherit its parent's active service worker, if one exists.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/765#issuecomment-260929417

Received on Wednesday, 16 November 2016 12:02:46 UTC