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

Unified Diff: LayoutTests/inspector-protocol/dom/dom-setInspectModeEnabled.html

Issue 964493002: DevTools: improve TTIE, do not select body before the target element upon inspect element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: headless test fixed Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/inspector/InjectedScript.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector-protocol/dom/dom-setInspectModeEnabled.html
diff --git a/LayoutTests/inspector-protocol/dom/dom-setInspectModeEnabled.html b/LayoutTests/inspector-protocol/dom/dom-setInspectModeEnabled.html
index d46c325fe8ba329496a73f9cc038389dddcf6b88..b7034f8901dc4893c8295d5d73c18b8244c8da34 100644
--- a/LayoutTests/inspector-protocol/dom/dom-setInspectModeEnabled.html
+++ b/LayoutTests/inspector-protocol/dom/dom-setInspectModeEnabled.html
@@ -34,7 +34,12 @@ function test()
function inspectNodeRequested(message)
{
- InspectorTest.log("DOM.inspectNodeRequested: " + nodeInfo[message.params.nodeId].localName);
+ InspectorTest.sendCommand("DOM.pushNodesByBackendIdsToFrontend", { "backendNodeIds": [ message.params.backendNodeId ] }, onNodeResolved);
+ }
+
+ function onNodeResolved(message)
+ {
+ InspectorTest.log("DOM.inspectNodeRequested: " + nodeInfo[message.result.nodeIds[0]].localName);
InspectorTest.completeTest();
}
}
« no previous file with comments | « no previous file | Source/core/inspector/InjectedScript.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698