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; |