OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../inspector-test.js"></script> | 3 <script src="../inspector-test.js"></script> |
4 <script src="../security-test.js"></script> | 4 <script src="../security-test.js"></script> |
5 <script> | 5 <script> |
6 function test() | 6 function test() |
7 { | 7 { |
8 var request = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "http://un
known", "https://foo.test", 0, 0, null); | 8 var request = new SDK.NetworkRequest(InspectorTest.networkManager, Inspector
Test.NetworkAgent, 0, "http://unknown", "https://foo.test", 0, 0, null); |
9 InspectorTest.dispatchRequestFinished(request); | 9 InspectorTest.dispatchRequestFinished(request); |
10 | 10 |
11 InspectorTest.dumpSecurityPanelSidebarOrigins(); | 11 InspectorTest.dumpSecurityPanelSidebarOrigins(); |
12 | 12 |
13 InspectorTest.completeTest(); | 13 InspectorTest.completeTest(); |
14 } | 14 } |
15 </script> | 15 </script> |
16 </head> | 16 </head> |
17 <body onload="runTest()"> | 17 <body onload="runTest()"> |
18 <p>Tests that requests to unresolved origins result in unknown security state an
d show up in the sidebar origin list.</p> | 18 <p>Tests that requests to unresolved origins result in unknown security state an
d show up in the sidebar origin list.</p> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |