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

Side by Side Diff: LayoutTests/inspector/network-filter-updated-requests.html

Issue 33143002: DevTools: Unify filtering UI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/inspector/network-toggle-type-filter.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script> 3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 function test() { 5 function test() {
6 var panel = WebInspector.showPanel("network"); 6 var panel = WebInspector.showPanel("network");
7 var target = panel._networkLogView; 7 var target = panel._networkLogView;
8 var types = WebInspector.resourceTypes; 8 var types = WebInspector.resourceTypes;
9 9
10 target._toggleTypeFilter(types.XHR.name(), false); 10 target._resourceTypeFilterUI._toggleTypeFilter(types.XHR.name(), false);
11 InspectorTest.addResult("Clicked '" + types.XHR.name() + "' button."); 11 InspectorTest.addResult("Clicked '" + types.XHR.name() + "' button.");
12 12
13 var requestFoo = new WebInspector.NetworkRequest("", "", "", "", ""); 13 var requestFoo = new WebInspector.NetworkRequest("", "", "", "", "");
14 requestFoo.type = types.Script; 14 requestFoo.type = types.Script;
15 requestFoo.requestId = "foo"; 15 requestFoo.requestId = "foo";
16 target._appendRequest(requestFoo); 16 target._appendRequest(requestFoo);
17 var requestBar = new WebInspector.NetworkRequest("", "", "", "", ""); 17 var requestBar = new WebInspector.NetworkRequest("", "", "", "", "");
18 requestBar.type = types.Script; 18 requestBar.type = types.Script;
19 requestBar.requestId = "bar"; 19 requestBar.requestId = "bar";
20 target._appendRequest(requestBar); 20 target._appendRequest(requestBar);
(...skipping 17 matching lines...) Expand all
38 38
39 InspectorTest.completeTest(); 39 InspectorTest.completeTest();
40 } 40 }
41 41
42 </script> 42 </script>
43 </head> 43 </head>
44 <body onload="runTest()"> 44 <body onload="runTest()">
45 <p>Tests that filter is reapplied when request is updated.</p> 45 <p>Tests that filter is reapplied when request is updated.</p>
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/network-toggle-type-filter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698