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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-unknown-resource.html

Issue 2851913002: [DevTools] Do not expose agents on Target
Patch Set: storage and tests.js Created 3 years, 7 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 <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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698