Closed Bug 1142727 Opened 9 years ago Closed 9 years ago

Service Workers should not intercept sandboxed iframes

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: bkelly, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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?
Flags: needinfo?(bkelly)
(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.
Flags: needinfo?(bkelly)
Assignee: nobody → ehsan
This is temporary until we clarify what we want to do with these
iframes in the spec.
Attachment #8582557 - Flags: review?(nsm.nikhil)
https://hg.mozilla.org/mozilla-central/rev/2c2fa3984d84
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: