| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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> |
| OLD | NEW |