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

Unified Diff: LayoutTests/inspector/sources/debugger/pause-in-inline-script.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/pause-in-inline-script.html
diff --git a/LayoutTests/inspector/sources/debugger/pause-in-inline-script.html b/LayoutTests/inspector/sources/debugger/pause-in-inline-script.html
index e62181c7f7a6579bcbcb3efc0c3c881639d652b3..a890f6e81b6b8bd06788b35e1fcaffdfb503f3ac 100644
--- a/LayoutTests/inspector/sources/debugger/pause-in-inline-script.html
+++ b/LayoutTests/inspector/sources/debugger/pause-in-inline-script.html
@@ -24,7 +24,7 @@ f3();
var test = function()
{
- var testName = WebInspector.resourceTreeModel.inspectedPageURL();
+ var testName = InspectorTest.resourceTreeModel.inspectedPageURL();
testName = testName.substring(testName.lastIndexOf('/') + 1);
InspectorTest.startDebuggerTest(step1);
@@ -32,9 +32,9 @@ var test = function()
function step1()
{
InspectorTest.addResult("Did load front-end");
- InspectorTest.addResult("Paused: " + !!WebInspector.debuggerModel.debuggerPausedDetails());
+ InspectorTest.addResult("Paused: " + !!InspectorTest.debuggerModel.debuggerPausedDetails());
InspectorTest.reloadPage(didReload.bind(this));
- WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerPaused, didPauseAfterReload, this);
+ InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerPaused, didPauseAfterReload, this);
}
function didReload()
@@ -53,7 +53,7 @@ var test = function()
var callFrameIndex = 0;
function dumpNextCallFrame(next)
{
- var callFrames = WebInspector.debuggerModel.callFrames;
+ var callFrames = InspectorTest.debuggerModel.callFrames;
if (callFrameIndex === callFrames.length) {
next();
return;

Powered by Google App Engine
This is Rietveld 408576698