4 https://bugzilla.mozilla.org/show_bug.cgi?id=475636
5 Test that refresh to data: URIs don't inherit the principal
8 <title>Test for Bug
475636</title>
9 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
11 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
13 <body onload=
"gen.next()">
14 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=475636">Mozilla Bug
475636</a>
16 <div id=
"content" style=
"display: none">
19 <iframe id=loader
></iframe>
21 <script class=
"testbody" type=
"application/javascript">
23 SimpleTest.waitForExplicitFinish();
29 window.addEventListener(
"message", function(e) {
33 var url =
"file_bug475636.sjs?";
35 function* runTests() {
36 var loader = document.getElementById('loader');
37 for (var testNum =
1; ; ++testNum) {
38 loader.src = url + testNum;