Currently the spec does not mention how sandboxed iframes should be treated. To be safe, lets simply not allow Service Workers to intercept these. If there is a loud request for them or spec consensus then we can relax this restriction. Here is the spec issue I opened: https://github.com/slightlyoff/ServiceWorker/issues/648
What kinds of sandbox iframes do you suggest we should block?
(In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from comment #1) > What kinds of sandbox iframes do you suggest we should block? All iframes with the attribute "sandbox" for now. If we can get clarity on the spec issue in comment 0, maybe we could allow interceptions of allow-same-origin.
Created attachment 8582557 [details] [diff] [review] Do not intercept sandboxed iframes with service workers This is temporary until we clarify what we want to do with these iframes in the spec.
Attachment #8582557 - Flags: review?(nsm.nikhil)
Attachment #8582557 - Flags: review?(nsm.nikhil) → review+
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox39: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.