mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
71b8c7686e
When we turn on the pref security.data_uri.unique_opaque_origin to make data URI is unique origin, the following tests will fail because now data document is treated as cross origin, so we replace data URIs with seperate files, hence it will still in the same origin.
8 lines
428 B
HTML
8 lines
428 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body onload="setTimeout(function() { window.location = 'bug404548-subframe_window.html'; }, 10)">
|
|
<iframe srcdoc="<body onpagehide='var p = window.parent.opener; var e = window.frameElement; e.parentNode.removeChild(e); if (e.parentNode == null && e.contentWindow == null) { p.firstRemoved = true; }'>">
|
|
</iframe>
|
|
<iframe srcdoc="<body onpagehide='window.parent.opener.secondHidden = true;'>">
|
|
</iframe>
|