Service Workers should not intercept sandboxed iframes

RESOLVED FIXED in Firefox 39

Status

()

Core
DOM
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: bkelly, Assigned: Ehsan)

Tracking

(Blocks: 1 bug)

unspecified
mozilla39
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox39 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
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
(Assignee)

Comment 1

3 years ago
What kinds of sandbox iframes do you suggest we should block?
Flags: needinfo?(bkelly)
(Reporter)

Comment 2

3 years ago
(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)

Updated

3 years ago
Assignee: nobody → ehsan
(Assignee)

Comment 3

3 years ago
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)
https://hg.mozilla.org/mozilla-central/rev/2c2fa3984d84
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox39: --- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Blocks: 1279406
You need to log in before you can comment on or make changes to this bug.