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

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

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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/extensions-test.js"></script> 4 <script src="../../http/tests/inspector/extensions-test.js"></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function logMessage() 6 function logMessage()
7 { 7 {
8 console.log("hello"); 8 console.log("hello");
9 } 9 }
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 xpathResult.singleNodeValue.dispatchEvent(click); 52 xpathResult.singleNodeValue.dispatchEvent(click);
53 } 53 }
54 54
55 InspectorTest.installShowResourceLocationHooks = function() 55 InspectorTest.installShowResourceLocationHooks = function()
56 { 56 {
57 function showAnchorLocationHook(anchor) 57 function showAnchorLocationHook(anchor)
58 { 58 {
59 var url = anchor.href.replace(/^.*(([/][^/]*){3}[^/)]*)$/, "...$1"); 59 var url = anchor.href.replace(/^.*(([/][^/]*){3}[^/)]*)$/, "...$1");
60 InspectorTest.addResult("Showing resource " + url + " in panel " + t his.name + " (" + WebInspector.inspectorView.currentPanel().name + "), line: " + anchor.lineNumber); 60 InspectorTest.addResult("Showing resource " + url + " in panel " + t his.name + " (" + WebInspector.inspectorView.currentPanel().name + "), line: " + anchor.lineNumber);
61 } 61 }
62 var panels = ["scripts", "resources", "network"]; 62 var panels = ["sources", "resources", "network"];
63 for (var i = 0; i < panels.length; ++i) 63 for (var i = 0; i < panels.length; ++i)
64 InspectorTest.addSniffer(WebInspector.panel(panels[i]), "showAnchorL ocation", showAnchorLocationHook, true); 64 InspectorTest.addSniffer(WebInspector.panel(panels[i]), "showAnchorL ocation", showAnchorLocationHook, true);
65 } 65 }
66 66
67 InspectorTest.switchToLastPanel = function() 67 InspectorTest.switchToLastPanel = function()
68 { 68 {
69 var lastPanelName = WebInspector.inspectorView._panelOrder.peekLast(); 69 var lastPanelName = WebInspector.inspectorView._panelOrder.peekLast();
70 WebInspector.showPanel(lastPanelName); 70 WebInspector.showPanel(lastPanelName);
71 } 71 }
72 } 72 }
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 var img = document.createElement("img"); 291 var img = document.createElement("img");
292 img.src = "resources/abe.png"; 292 img.src = "resources/abe.png";
293 document.body.appendChild(img); 293 document.body.appendChild(img);
294 } 294 }
295 </script> 295 </script>
296 </head> 296 </head>
297 <body onload="runTest()"> 297 <body onload="runTest()">
298 <p>Tests WebInspector extension API</p> 298 <p>Tests WebInspector extension API</p>
299 </body> 299 </body>
300 </html> 300 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698