OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script type="text/javascript" src="../inspector-protocol/inspector-protocol-tes
t.js"></script> | 4 <script type="text/javascript" src="../inspector-protocol/resources/inspector-pr
otocol-test.js"></script> |
5 <script src="/resources/get-host-info.js"></script> | 5 <script src="/resources/get-host-info.js"></script> |
6 <script src="resources/mixed-content-type-test.js"></script> | 6 <script src="resources/mixed-content-type-test.js"></script> |
7 <script> | 7 <script> |
8 // The test() function is defined in mixed-content-type-test.js and | 8 // The test() function is defined in mixed-content-type-test.js and |
9 // calls this function to add mixed content to the page. | 9 // calls this function to add mixed content to the page. |
10 function addIframeWithMixedContent() | 10 function addIframeWithMixedContent() |
11 { | 11 { |
12 var iframe = document.createElement("iframe"); | 12 var iframe = document.createElement("iframe"); |
13 iframe.src = get_host_info().HTTPS_ORIGIN + "/inspector-protocol/resources/p
assive-mixed-content-iframe.html"; | 13 iframe.src = get_host_info().HTTPS_ORIGIN + "/inspector-protocol/resources/p
assive-mixed-content-iframe.html"; |
14 document.body.appendChild(iframe); | 14 document.body.appendChild(iframe); |
15 } | 15 } |
16 </script> | 16 </script> |
17 </head> | 17 </head> |
18 <body onload="runTest()"> | 18 <body onload="runTest()"> |
19 <p>Tests that willSendRequest contains the correct mixed content status for
passive mixed content.</p> | 19 <p>Tests that willSendRequest contains the correct mixed content status for
passive mixed content.</p> |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |