author Yoshi Huang <>
Tue, 27 Jun 2017 13:42:10 -0700
changeset 368384 68d5e6c5ee1b6b15ed5c4db7aab041e227414293
parent 37891 472fdc09a0aa9c53a09c3b2a4ba5e021da410d63
child 439146 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Bug 1377492 - fix mochitest-1 failure in docshell when data: URI is a unique origin. r=smaug 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.

<!DOCTYPE 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 srcdoc="<body onpagehide='window.parent.opener.secondHidden = true;'>">