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

Unified Diff: LayoutTests/inspector/sources/debugger/live-edit-breakpoints.html

Issue 352953002: DevTools: properly support targets in LiveEditSupport (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix live edit Created 6 years, 6 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/live-edit-breakpoints.html
diff --git a/LayoutTests/inspector/sources/debugger/live-edit-breakpoints.html b/LayoutTests/inspector/sources/debugger/live-edit-breakpoints.html
index 8362ccfed7b4063c17f6444845da08312c74bda1..1f28cb7134f2b6dd5ae14fdfeb439cc6530eefd6 100644
--- a/LayoutTests/inspector/sources/debugger/live-edit-breakpoints.html
+++ b/LayoutTests/inspector/sources/debugger/live-edit-breakpoints.html
@@ -19,6 +19,7 @@ function loadDynamicAnonymousScript()
function test()
{
var panel = WebInspector.inspectorView.showPanel("sources");
+ var liveEditSupport = WebInspector.targetManager.targets()[0].liveEditSupport;
function pathToFileName(path)
{
@@ -340,7 +341,7 @@ function test()
script = WebInspector.debuggerModel.scriptForId(location.scriptId);
dumpBreakpointStorageAndLocations();
- liveEditUISourceCode = WebInspector.liveEditSupport.uiSourceCodeForLiveEdit(uiSourceCode);
+ liveEditUISourceCode = liveEditSupport.uiSourceCodeForLiveEdit(uiSourceCode);
InspectorTest.showUISourceCode(liveEditUISourceCode, didShowLiveEditScriptSource);
}
@@ -402,7 +403,7 @@ function test()
script = WebInspector.debuggerModel.scriptForId(location.scriptId);
dumpBreakpointStorageAndLocations();
- liveEditUISourceCode = WebInspector.liveEditSupport.uiSourceCodeForLiveEdit(uiSourceCode);
+ liveEditUISourceCode = liveEditSupport.uiSourceCodeForLiveEdit(uiSourceCode);
InspectorTest.showUISourceCode(liveEditUISourceCode, didShowLiveEditScriptSource);
}
« no previous file with comments | « no previous file | Source/devtools/front_end/main/Main.js » ('j') | Source/devtools/front_end/sdk/ResourceScriptMapping.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698