| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 | 3 |
| 4 <head> | 4 <head> |
| 5 <title>child-src-allowed</title> | 5 <title>child-src-allowed</title> |
| 6 <script src="/resources/testharness.js"></script> | 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> | 7 <script src="/resources/testharnessreport.js"></script> |
| 8 <script src='../support/logTest.sub.js?logs=["PASS IFrame %231 generated a l
oad event."]'></script> | 8 <script src='../support/logTest.sub.js?logs=["PASS IFrame %231 generated a l
oad event."]'></script> |
| 9 <script> | 9 <script> |
| 10 window.addEventListener("message", function(event) { | 10 window.addEventListener("message", function(event) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 function loadEvent() { | 49 function loadEvent() { |
| 50 loads++; | 50 loads++; |
| 51 log("PASS " + "IFrame #" + loads + " generated a load event."); | 51 log("PASS " + "IFrame #" + loads + " generated a load event."); |
| 52 } | 52 } |
| 53 | 53 |
| 54 </script> | 54 </script> |
| 55 </head> | 55 </head> |
| 56 | 56 |
| 57 <body> | 57 <body> |
| 58 <iframe src="/content-security-policy/blink-contrib/resources/postmessage-pa
ss.html" onload="loadEvent()"></iframe> | 58 <iframe src="/content-security-policy/support/postmessage-pass.html" onload=
"loadEvent()"></iframe> |
| 59 <div id="log"></div> | 59 <div id="log"></div> |
| 60 <script async defer src="../support/checkReport.sub.js?reportExists=false"><
/script> | 60 <script async defer src="../support/checkReport.sub.js?reportExists=false"><
/script> |
| 61 </body> | 61 </body> |
| 62 | 62 |
| 63 </html> | 63 </html> |
| OLD | NEW |