| Index: LayoutTests/http/tests/inspector/command-line-api-inspect.html
|
| diff --git a/LayoutTests/http/tests/inspector/command-line-api-inspect.html b/LayoutTests/http/tests/inspector/command-line-api-inspect.html
|
| index 0405f907be395958a0203e19bcf7d458e68bc639..0043bfcb4e7db5adac7ae183329e930090cfc9b6 100644
|
| --- a/LayoutTests/http/tests/inspector/command-line-api-inspect.html
|
| +++ b/LayoutTests/http/tests/inspector/command-line-api-inspect.html
|
| @@ -35,11 +35,14 @@ function test()
|
| InspectorTest.runTestSuite([
|
| function testRevealElement(next)
|
| {
|
| - InspectorTest.addSniffer(WebInspector, "_updateFocusedNode", step2);
|
| + InspectorTest.addSniffer(WebInspector.Revealer, "reveal", step2);
|
| evalAndDump("inspect($('#p1'))");
|
|
|
| - function step2()
|
| + function step2(node)
|
| {
|
| + if (!(node instanceof WebInspector.DOMNode))
|
| + return;
|
| +
|
| InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
|
| next();
|
| }
|
|
|