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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html

Issue 2626553002: [Devtools][Code health] Changed NetworkRequest.url to proper getter/setter (Closed)
Patch Set: changes Created 3 years, 11 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="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script src="../../http/tests/inspector/network-test.js"></script> 5 <script src="../../http/tests/inspector/network-test.js"></script>
6 <script src="../../http/tests/inspector/sources-test.js"></script> 6 <script src="../../http/tests/inspector/sources-test.js"></script>
7 <script src="../../http/tests/inspector/resources-test.js"></script> 7 <script src="../../http/tests/inspector/resources-test.js"></script>
8 <script src="../../http/tests/inspector/extensions-test.js"></script> 8 <script src="../../http/tests/inspector/extensions-test.js"></script>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function logMessage() 10 function logMessage()
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 function showUILocationHook(uiLocation) 98 function showUILocationHook(uiLocation)
99 { 99 {
100 showURL("sources", uiLocation.uiSourceCode.url(), uiLocation.lineNum ber); 100 showURL("sources", uiLocation.uiSourceCode.url(), uiLocation.lineNum ber);
101 } 101 }
102 102
103 function showResourceHook(resource, lineNumber) 103 function showResourceHook(resource, lineNumber)
104 { 104 {
105 showURL("resources", resource.url, lineNumber); 105 showURL("resources", resource.url, lineNumber);
106 } 106 }
107 107
108 /**
109 * @param {!SDK.NetworkRequest} request
110 */
108 function showRequestHook(request) 111 function showRequestHook(request)
109 { 112 {
110 showURL("network", request.url); 113 showURL("network", request.url());
111 } 114 }
112 } 115 }
113 116
114 InspectorTest.switchToLastPanel = function() 117 InspectorTest.switchToLastPanel = function()
115 { 118 {
116 var lastPanelName = UI.inspectorView._tabbedPane._tabs.peekLast().id; 119 var lastPanelName = UI.inspectorView._tabbedPane._tabs.peekLast().id;
117 return UI.inspectorView.showPanel(lastPanelName); 120 return UI.inspectorView.showPanel(lastPanelName);
118 } 121 }
119 } 122 }
120 123
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 var img = document.createElement("img"); 341 var img = document.createElement("img");
339 img.src = "resources/abe.png"; 342 img.src = "resources/abe.png";
340 document.body.appendChild(img); 343 document.body.appendChild(img);
341 } 344 }
342 </script> 345 </script>
343 </head> 346 </head>
344 <body onload="runTest()"> 347 <body onload="runTest()">
345 <p>Tests WebInspector extension API</p> 348 <p>Tests WebInspector extension API</p>
346 </body> 349 </body>
347 </html> 350 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698