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

Side by Side Diff: LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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> 4 <script>
5 var test = function() 5 var test = function()
6 { 6 {
7 InspectorTest.reloadPage(step1); 7 InspectorTest.reloadPage(step1);
8 8
9 function step1() 9 function step1()
10 { 10 {
11 WebInspector.inspectorView.showPanel("network"); 11 WebInspector.inspectorView.showPanel("network");
12 var requests = WebInspector.panels.network.requests; 12 var requests = WebInspector.inspectorView.panel("network").requests;
13 for (var i = 0; i < requests.length; ++i) 13 for (var i = 0; i < requests.length; ++i)
14 InspectorTest.assertTrue(requests[i].responseHeaderValue("Set-Cookie ") === undefined); 14 InspectorTest.assertTrue(requests[i].responseHeaderValue("Set-Cookie ") === undefined);
15 InspectorTest.addResult("Success, no Set-Cookie headers found."); 15 InspectorTest.addResult("Success, no Set-Cookie headers found.");
16 InspectorTest.completeTest(); 16 InspectorTest.completeTest();
17 } 17 }
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 <body onload="runTest()"> 21 <body onload="runTest()">
22 Tests there is no false positive Set-Cookie audit error. 22 Tests there is no false positive Set-Cookie audit error.
23 <img src="resources/abe.png"> 23 <img src="resources/abe.png">
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698