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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/pause-in-inline-script.html

Issue 2186753002: [DevTools] Track URL through the target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 years, 5 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: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/pause-in-inline-script.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/pause-in-inline-script.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/pause-in-inline-script.html
index a890f6e81b6b8bd06788b35e1fcaffdfb503f3ac..b03d4950a33c3be2ba1ed53e469a38cf59d65c2b 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/pause-in-inline-script.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/pause-in-inline-script.html
@@ -24,7 +24,7 @@ f3();
var test = function()
{
- var testName = InspectorTest.resourceTreeModel.inspectedPageURL();
+ var testName = InspectorTest.mainTarget.inspectedURL();
testName = testName.substring(testName.lastIndexOf('/') + 1);
InspectorTest.startDebuggerTest(step1);
@@ -34,7 +34,7 @@ var test = function()
InspectorTest.addResult("Did load front-end");
InspectorTest.addResult("Paused: " + !!InspectorTest.debuggerModel.debuggerPausedDetails());
InspectorTest.reloadPage(didReload.bind(this));
- InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerPaused, didPauseAfterReload, this);
+ InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerPaused, didPauseAfterReload, this);
}
function didReload()

Powered by Google App Engine
This is Rietveld 408576698