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

Unified Diff: LayoutTests/inspector/elements/hide-shortcut.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/hide-shortcut.html
diff --git a/LayoutTests/inspector/elements/hide-shortcut.html b/LayoutTests/inspector/elements/hide-shortcut.html
index 275c7ab101972cbd2f2100d07aa16940b6f371d4..f5bccdc7447891fd1c0f3ece5878703320883169 100644
--- a/LayoutTests/inspector/elements/hide-shortcut.html
+++ b/LayoutTests/inspector/elements/hide-shortcut.html
@@ -44,14 +44,14 @@ function test()
function callback()
{
InspectorTest.addResult("=== Added hide shortcut ===");
- WebInspector.cssModel.getComputedStyleAsync(parentNode.id, callback2);
+ InspectorTest.cssModel.getComputedStyleAsync(parentNode.id, callback2);
}
function callback2(style)
{
InspectorTest.addResult("=== Parent node is hidden ===");
InspectorTest.addResult(style.getLiveProperty("visibility").propertyText);
- WebInspector.cssModel.getComputedStyleAsync(childNode.id, callback3);
+ InspectorTest.cssModel.getComputedStyleAsync(childNode.id, callback3);
}
function callback3(style)
@@ -69,14 +69,14 @@ function test()
function callback()
{
InspectorTest.addResult("=== Removed hide shortcut ===");
- WebInspector.cssModel.getComputedStyleAsync(parentNode.id, callback2);
+ InspectorTest.cssModel.getComputedStyleAsync(parentNode.id, callback2);
}
function callback2(style)
{
InspectorTest.addResult("=== Parent node is visible ===");
InspectorTest.addResult(style.getLiveProperty("visibility").propertyText);
- WebInspector.cssModel.getComputedStyleAsync(childNode.id, callback3);
+ InspectorTest.cssModel.getComputedStyleAsync(childNode.id, callback3);
}
function callback3(style)
@@ -114,7 +114,7 @@ function test()
function callback()
{
InspectorTest.addResult("=== Added hide shortcut in frame ===");
- WebInspector.cssModel.getComputedStyleAsync(frameNode.id, callback2);
+ InspectorTest.cssModel.getComputedStyleAsync(frameNode.id, callback2);
}
function callback2(style)
@@ -132,7 +132,7 @@ function test()
function callback()
{
- WebInspector.cssModel.getComputedStyleAsync(pseudoNode.id, callback2);
+ InspectorTest.cssModel.getComputedStyleAsync(pseudoNode.id, callback2);
}
function callback2(style)
« no previous file with comments | « LayoutTests/inspector/elements/elements-panel-search.html ('k') | LayoutTests/inspector/elements/insert-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698