4 <title>Test for Bug
924708</title>
6 test that a report-only policy that uses policy-uri is not incorrectly
7 enforced due to regressions introduced by Bug 836922.
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
13 <iframe style=
"width:200px;height:200px;" id='testframe'
></iframe>
14 <script class=
"testbody" type=
"text/javascript">
15 SimpleTest.waitForExplicitFinish();
17 var testframe = document.getElementById('testframe');
18 testframe.src = 'file_policyuri_regression_from_multipolicy.html';
19 testframe.addEventListener('load', function checkInlineScriptExecuted () {
20 is(this.contentDocument.getElementById('testdiv').innerHTML,
21 'Inline Script Executed',
22 'Inline script should execute (it would be blocked by the policy, but the policy is report-only)');