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

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

Issue 2747123008: [DevTools] Separate old Application tab code (Closed)
Patch Set: [DevTools] Separate old Application tab code Created 3 years, 9 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 function revealRequestWithoutResource(next) 92 function revealRequestWithoutResource(next)
93 { 93 {
94 Common.Revealer.revealPromise(requestWithoutResource).then(next); 94 Common.Revealer.revealPromise(requestWithoutResource).then(next);
95 } 95 }
96 ]); 96 ]);
97 97
98 function installHooks() 98 function installHooks()
99 { 99 {
100 InspectorTest.addSniffer(Elements.ElementsPanel.prototype, "revealAndSel ectNode", nodeRevealed, true); 100 InspectorTest.addSniffer(Elements.ElementsPanel.prototype, "revealAndSel ectNode", nodeRevealed, true);
101 InspectorTest.addSniffer(Sources.SourcesPanel.prototype, "showUILocation ", uiLocationRevealed, true); 101 InspectorTest.addSniffer(Sources.SourcesPanel.prototype, "showUILocation ", uiLocationRevealed, true);
102 InspectorTest.addSniffer(Resources.ResourcesPanel.prototype, "showResour ce", resourceRevealed, true); 102 InspectorTest.addSniffer(Resources.ApplicationPanelSidebar.prototype, "s howResource", resourceRevealed, true);
103 InspectorTest.addSniffer(Network.NetworkPanel.prototype, "revealAndHighl ightRequest", revealed, true); 103 InspectorTest.addSniffer(Network.NetworkPanel.prototype, "revealAndHighl ightRequest", revealed, true);
104 } 104 }
105 105
106 function nodeRevealed(node) 106 function nodeRevealed(node)
107 { 107 {
108 InspectorTest.addResult("Node revealed in the Elements panel"); 108 InspectorTest.addResult("Node revealed in the Elements panel");
109 } 109 }
110 110
111 function uiLocationRevealed(uiLocation) 111 function uiLocationRevealed(uiLocation)
112 { 112 {
(...skipping 11 matching lines...) Expand all
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