Update web platform tests for workers to comply with data: URI inheritance model

RESOLVED FIXED in Firefox 56

Status

()

Core
DOM: Security
P2
normal
RESOLVED FIXED
7 months ago
7 months ago

People

(Reporter: ckerschb, Assigned: ckerschb)

Tracking

unspecified
mozilla56
Points:
---

Firefox Tracking Flags

(firefox56 fixed)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Updated

7 months ago
Assignee: nobody → ckerschb
Blocks: 1377244
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [domsecurity-active]
(Assignee)

Comment 1

7 months ago
Created attachment 8882863 [details] [diff] [review]
bug_1377747_worker_test_update.patch

Hey Ben, we are about to change the behavior of our data: URI inheritance model which means that data: URIs in an iframe a cross origin with the toplevel context, hence parent.foo() does not work anymore. I am rewriting those two failing worker tests to rely on postmessage instead. Are you willing to r+ those changes?
Attachment #8882863 - Flags: review?(bkelly)
(Assignee)

Comment 2

7 months ago
Just for the sake of completeness, flipping the pref security.data_uri.unique_opaque_origin allows you to turn on the new behavior.

Updated

7 months ago
Attachment #8882863 - Flags: review?(bkelly) → review+

Comment 3

7 months ago
Pushed by mozilla@christophkerschbaumer.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/df1bd2ca09f6
Update web platform tests for workers to comply with data: URI inheritance model. r=bkelly

Comment 4

7 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/df1bd2ca09f6
Status: ASSIGNED → RESOLVED
Last Resolved: 7 months ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.