| Index: LayoutTests/inspector/sources/debugger/debugger-command-line-api.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html b/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html
|
| index 0b856910851388c76bee717b15e708bb3395aa62..70e1ba7b8c243eb3dfd12c183c9940b73c0305e7 100644
|
| --- a/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html
|
| +++ b/LayoutTests/inspector/sources/debugger/debugger-command-line-api.html
|
| @@ -12,10 +12,13 @@ function testFunction()
|
| var test = function()
|
| {
|
| InspectorTest.addSniffer(WebInspector, "inspect", inspect);
|
| - InspectorTest.addSniffer(WebInspector, "_updateFocusedNode", updateFocusedNode);
|
| + InspectorTest.addSniffer(WebInspector.Revealer, "reveal", updateFocusedNode);
|
|
|
| - function updateFocusedNode()
|
| + function updateFocusedNode(node)
|
| {
|
| + if (!(node instanceof WebInspector.DOMNode))
|
| + return;
|
| +
|
| InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
|
| InspectorTest.completeDebuggerTest();
|
| }
|
|
|