Closed Bug 1337270 Opened 3 years ago Closed 2 years ago

Convert tests within layout/ to not rely on principal inheritance for data: URIs

Categories

(Core :: DOM: Security, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

Flip pref [1] to 'false' and update tests within layout/ to still work with new data: URI behavior.

[1] pref ("security.data_uri.inherit_security_context", true);
Blocks: 1324406
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Depends on: 1377173
Assignee: nobody → ckerschb
Priority: P3 → P2
Whiteboard: [domsecurity-backlog1] → [domsecurity-active]
Smaug, within this patch I am updating 12 tests:
1: layout/base/tests/chrome/test_bug1041200.xul
2: layout/base/tests/chrome/test_bug458898.html
3: layout/generic/test/test_bug391747.html
4: layout/generic/test/test_bug748961.html
5: layout/generic/test/test_bug938772.html
6: layout/generic/test/test_plugin_mouse_coords.html
7: layout/generic/test/test_scroll_position_iframe.html
8: layout/generic/test/test_selection_expanding.html
9: layout/inspector/tests/test_bug462789.html
10: layout/style/test/test_computed_style_bfcache_display_none.html
11: layout/xul/test/test_bug386386.html
12: layout/xul/test/test_bug563416.html

Most of them are small, easy fixes, hence I bundled them all together within this patch. If you want to me separate some of those test updates into separates bugs, please let me know.
Attachment #8886637 - Flags: review?(bugs)
Status: NEW → ASSIGNED
Attachment #8886637 - Flags: review?(bugs) → review+
Pushed by mozilla@christophkerschbaumer.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/28ad124c24e1
Convert tests within layout/ to not rely on principal inheritance for data: URIs. r=smaug
https://hg.mozilla.org/mozilla-central/rev/28ad124c24e1
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
See Also: → 1383649
See Also: → 1383672
See Also: → 1384427
See Also: → 1385805
You need to log in before you can comment on or make changes to this bug.