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

Unified Diff: LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.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/sources/debugger/selected-call-frame-after-formatting-source.html
diff --git a/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html b/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html
index 37e695c59a87b8edacc53aded2c251d8afabd628..a6f30fcf2d882da465683f7a16c952e755aacb6c 100644
--- a/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html
+++ b/LayoutTests/inspector/sources/debugger/selected-call-frame-after-formatting-source.html
@@ -24,7 +24,7 @@ var test = function()
function step1()
{
- var testName = WebInspector.resourceTreeModel.inspectedPageURL();
+ var testName = InspectorTest.resourceTreeModel.inspectedPageURL();
testName = testName.substring(testName.lastIndexOf('/') + 1);
InspectorTest.showScriptSource(testName, step2);
}
@@ -38,13 +38,13 @@ var test = function()
function step3()
{
InspectorTest.completeDebuggerTest(); return;
- WebInspector.debuggerModel.setSelectedCallFrame(WebInspector.debuggerModel.debuggerPausedDetails().callFrames[1]);
+ InspectorTest.debuggerModel.setSelectedCallFrame(InspectorTest.debuggerModel.debuggerPausedDetails().callFrames[1]);
sourceFrame._toggleFormatSource(step4);
}
function step4()
{
- InspectorTest.assertEquals("testFunction", WebInspector.debuggerModel.selectedCallFrame().functionName);
+ InspectorTest.assertEquals("testFunction", InspectorTest.debuggerModel.selectedCallFrame().functionName);
sourceFrame._toggleFormatSource(step5);
}

Powered by Google App Engine
This is Rietveld 408576698