Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-none.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/n o-mixed-content-iframe.html"; 13 iframe.src = get_host_info().HTTPS_ORIGIN + "/inspector-protocol/resources/n o-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 not-mixed content.</p> 19 <p>Tests that willSendRequest contains the correct mixed content status for not-mixed content.</p>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698