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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.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/http/tests/inspector/persistence/persistence-move-breakpoints.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html
index 5ca9eccb3dc91cea462710f230dd5d7ee7a200f9..13157894490b4dac27f77ddda556baae17186abf 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html
@@ -21,7 +21,7 @@ function test()
function setBreakpointInFileSystemUISourceCode(next)
{
- InspectorTest.waitForUISourceCode("foo.js", WebInspector.projectTypes.FileSystem)
+ InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTypes.FileSystem)
.then(code => InspectorTest.showUISourceCodePromise(code))
.then(onSourceFrame);
@@ -36,7 +36,7 @@ function test()
function addFileMapping(next)
{
InspectorTest.waitForBinding("foo.js").then(onBindingCreated);
- WebInspector.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/");
+ Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/");
function onBindingCreated(binding)
{
@@ -47,15 +47,15 @@ function test()
function removeFileMapping(next)
{
- WebInspector.persistence.addEventListener(WebInspector.Persistence.Events.BindingRemoved, onBindingRemoved);
- WebInspector.fileSystemMapping.removeFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/");
+ Persistence.persistence.addEventListener(Persistence.Persistence.Events.BindingRemoved, onBindingRemoved);
+ Workspace.fileSystemMapping.removeFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/");
function onBindingRemoved(event)
{
var binding = event.data;
if (binding.network.name() !== "foo.js")
return
- WebInspector.persistence.removeEventListener(WebInspector.Persistence.Events.BindingRemoved, onBindingRemoved);
+ Persistence.persistence.removeEventListener(Persistence.Persistence.Events.BindingRemoved, onBindingRemoved);
dumpBreakpointSidebarPane();
next();
}
@@ -64,7 +64,7 @@ function test()
function dumpBreakpointSidebarPane()
{
- var sidebarPane = self.runtime.sharedInstance(WebInspector.JavaScriptBreakpointsSidebarPane)
+ var sidebarPane = self.runtime.sharedInstance(Sources.JavaScriptBreakpointsSidebarPane)
var breakpoints = sidebarPane._items.keysArray();
for (var breakpoint of breakpoints)
InspectorTest.addResult(" " + breakpoint.uiSourceCode().url() +":" + breakpoint.lineNumber());

Powered by Google App Engine
This is Rietveld 408576698