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

Unified Diff: LayoutTests/inspector/elements/insert-node.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
Index: LayoutTests/inspector/elements/insert-node.html
diff --git a/LayoutTests/inspector/elements/insert-node.html b/LayoutTests/inspector/elements/insert-node.html
index 871bf9624878ae55f3d948a85b3dcea820f62bf1..34522e5cee400c0b9252b247445d0739dc94c864 100644
--- a/LayoutTests/inspector/elements/insert-node.html
+++ b/LayoutTests/inspector/elements/insert-node.html
@@ -103,7 +103,7 @@ function test()
InspectorTest.addResult("======== Appended with text=========");
InspectorTest.dumpElementsTree(containerNode);
var newNode = InspectorTest.expandedNodeWithId("child-with-text");
- if (WebInspector.domModel.nodeForId(newNode.firstChild.id))
+ if (InspectorTest.domModel.nodeForId(newNode.firstChild.id))
InspectorTest.addResult("Success: child text is bound");
else
InspectorTest.addResult("Failed: child text is not bound");
@@ -124,7 +124,7 @@ function test()
{
InspectorTest.dumpElementsTree(containerNode);
var newNode = InspectorTest.expandedNodeWithId("child3");
- if (WebInspector.domModel.nodeForId(newNode.firstChild.id))
+ if (InspectorTest.domModel.nodeForId(newNode.firstChild.id))
InspectorTest.addResult("Success: child text is bound");
else
InspectorTest.addResult("Failed: child text is not bound");
« no previous file with comments | « LayoutTests/inspector/elements/hide-shortcut.html ('k') | LayoutTests/inspector/elements/inspect-mode-shadow-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698