Closed
Bug 1380249
Opened 7 years ago
Closed 7 years ago
Convert tests within js/xpconnect to comply with new data: URI inheritance model
Categories
(Core :: DOM: Security, enhancement, P2)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file)
4.53 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ckerschb
Blocks: 1324406
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [domsecurity-active]
Assignee | ||
Comment 1•7 years ago
|
||
Bobby, when flipping the pref |security.data_uri.unique_opaque_origin| we encounter three failing tests within js/xpconnect: 1: js/xpconnect/tests/chrome/test_bug484459.xul 2: js/xpconnect/tests/chrome/test_scriptSettings.xul 3: js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html All of those three tests rely on the fact that data: URIs used to be same origin with the including context, which we are about to change. I think the best way to update those tests is to load information from a dummy file which is loaded from the same origin, agreed?
Attachment #8885603 -
Flags: review?(bobbyholley)
Comment 2•7 years ago
|
||
Comment on attachment 8885603 [details] [diff] [review] bug_1380249_update_tests_js_xpconnect.patch Review of attachment 8885603 [details] [diff] [review]: ----------------------------------------------------------------- Please make a copy of file_empty (which lives in the xpconnect mochitest dir) and use that instead of file_dummy, for consistency (you can remove the comment about other consumers for the chrome-copy, probably). r=me with that
Attachment #8885603 -
Flags: review?(bobbyholley) → review+
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5a26c718cf33 Convert tests within js/xpconnect to comply with new data: URI inheritance model. r=bholley
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5a26c718cf33
Status: ASSIGNED → RESOLVED
Closed: 7 years 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.
Description
•