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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit-no-reveal.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/live-edit-no-reveal.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit-no-reveal.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit-no-reveal.html
index 1d8256d83205bf9936b7566c512da55d7d11ef46..6209dcf9f0e276e54162713abd0fe88cc9d072db 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit-no-reveal.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit-no-reveal.html
@@ -9,7 +9,7 @@
function test()
{
- var panel = WebInspector.panels.sources;
+ var panel = UI.panels.sources;
var sourceFrame;
function didStepInto()
@@ -38,7 +38,7 @@ function test()
panel._updateLastModificationTimeForTest();
InspectorTest.replaceInSource(sourceFrame, oldText, newText);
InspectorTest.addResult("Moving cursor to (0, 0).");
- sourceFrame.setSelection(WebInspector.TextRange.createFromLocation(0, 0));
+ sourceFrame.setSelection(Common.TextRange.createFromLocation(0, 0));
InspectorTest.addResult("Committing live edit.");
InspectorTest.commitSource(sourceFrame);
}
@@ -77,7 +77,7 @@ function test()
panel._updateLastModificationTimeForTest();
InspectorTest.replaceInSource(sourceFrame, oldText, newText);
InspectorTest.addResult("Moving cursor to (0, 0).");
- sourceFrame.setSelection(WebInspector.TextRange.createFromLocation(0, 0));
+ sourceFrame.setSelection(Common.TextRange.createFromLocation(0, 0));
InspectorTest.addResult("Committing live edit.");
InspectorTest.commitSource(sourceFrame);
}
@@ -85,7 +85,7 @@ function test()
function didEditScriptSource()
{
InspectorTest.addResult("Stepping into...");
- InspectorTest.addSniffer(WebInspector.SourcesView.prototype, "showSourceLocation", didRevealAfterStepInto);
+ InspectorTest.addSniffer(Sources.SourcesView.prototype, "showSourceLocation", didRevealAfterStepInto);
panel._lastModificationTimeoutPassedForTest();
InspectorTest.stepInto();
}

Powered by Google App Engine
This is Rietveld 408576698