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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/reveal-objects.html

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 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/elements-test.js"></script> 4 <script src="../http/tests/inspector/elements-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> 6 <script>
7 7
8 var initialize_TestCustom = function() { 8 var initialize_TestCustom = function() {
9 9
10 InspectorTest.preloadPanel("elements"); 10 InspectorTest.preloadPanel("elements");
(...skipping 21 matching lines...) Expand all
32 function init(next) 32 function init(next)
33 { 33 {
34 installHooks(); 34 installHooks();
35 35
36 InspectorTest.resourceTreeModel.forAllResources(function(r) { 36 InspectorTest.resourceTreeModel.forAllResources(function(r) {
37 if (r.url.indexOf("inspector-test.js") !== -1) { 37 if (r.url.indexOf("inspector-test.js") !== -1) {
38 resource = r; 38 resource = r;
39 return true; 39 return true;
40 } 40 }
41 }); 41 });
42 uiLocation = WebInspector.workspace.uiSourceCodeForOriginURL(resourc e.url).uiLocation(2, 1); 42 uiLocation = WebInspector.workspace.uiSourceCodeForURL(resource.url) .uiLocation(2, 1);
43 43
44 InspectorTest.nodeWithId("div", nodeCallback); 44 InspectorTest.nodeWithId("div", nodeCallback);
45 45
46 function nodeCallback(foundNode) 46 function nodeCallback(foundNode)
47 { 47 {
48 node = foundNode; 48 node = foundNode;
49 InspectorTest.recordNetwork(); 49 InspectorTest.recordNetwork();
50 InspectorTest.evaluateInPage("loadResource('../http/tests/inspec tor/inspector-test.js')", firstXhrCallback); 50 InspectorTest.evaluateInPage("loadResource('../http/tests/inspec tor/inspector-test.js')", firstXhrCallback);
51 } 51 }
52 52
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 } 125 }
126 126
127 </script> 127 </script>
128 </head> 128 </head>
129 <body onload="runTest()"> 129 <body onload="runTest()">
130 <p>Tests object revelation in the UI.</p> 130 <p>Tests object revelation in the UI.</p>
131 <div id="div" /> 131 <div id="div" />
132 </body> 132 </body>
133 </html> 133 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698