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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/blank-origins-not-shown.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 request1 = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "https:// foo.test/foo.jpg", "https://foo.test", 0, 0, null); 8 var request1 = new SDK.NetworkRequest(InspectorTest.networkManager, Inspecto rTest.NetworkAgent, 0, "https://foo.test/foo.jpg", "https://foo.test", 0, 0, nul l);
9 InspectorTest.dispatchRequestFinished(request1); 9 InspectorTest.dispatchRequestFinished(request1);
10 10
11 var request2 = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "data:ima ge/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAPElEQVR42mNgQAMZGR n/GfABkIIdO3b8x6kQpgAEsCpEVgADKAqxKcBQCCLwARRFIBodYygiyiSCighhAO4e2jskhrm3AAAAAE lFTkSuQmCC", "https://foo.test", 0, 0, null); 11 var request2 = new SDK.NetworkRequest(InspectorTest.networkManager, Inspecto rTest.NetworkAgent, 0, "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCA YAAABmBXS+AAAAPElEQVR42mNgQAMZGRn/GfABkIIdO3b8x6kQpgAEsCpEVgADKAqxKcBQCCLwARRFIB odYygiyiSCighhAO4e2jskhrm3AAAAAElFTkSuQmCC", "https://foo.test", 0, 0, null);
12 InspectorTest.dispatchRequestFinished(request2); 12 InspectorTest.dispatchRequestFinished(request2);
13 13
14 InspectorTest.dumpSecurityPanelSidebarOrigins(); 14 InspectorTest.dumpSecurityPanelSidebarOrigins();
15 15
16 InspectorTest.completeTest(); 16 InspectorTest.completeTest();
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 <body onload="runTest()"> 20 <body onload="runTest()">
21 <p>Tests that blank origins aren't shown in the security panel origins list.</p> 21 <p>Tests that blank origins aren't shown in the security panel origins list.</p>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698