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

Unified Diff: third_party/WebKit/LayoutTests/inspector/file-system-mapping.html

Issue 2506463002: DevTools: remove Bindings.NetworkMapping.addMapping/removeMapping methods (Closed)
Patch Set: rebaseline 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/file-system-mapping.html
diff --git a/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html b/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
index 869624de2ba1a8baf560ed6e29758248f048af57..620664d28ecffe8ed2df79f675995899730491e2 100644
--- a/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
@@ -87,7 +87,7 @@ function test()
}
// At first create file system mapping and clear it.
- var fileSystemMapping = new Workspace.FileSystemMapping();
+ var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
var fileSystemPaths = Object.keys(fileSystemMapping._fileSystemMappings);
for (var i = 0; i < fileSystemPaths.length; ++i)
fileSystemMapping.removeFileSystem(fileSystemPaths[i]);
@@ -130,7 +130,8 @@ function test()
// Then create another file mapping to make sure it is correctly restored from the settings.
InspectorTest.addResult("Creating another file system mapping.");
- var fileSystemMapping = new Workspace.FileSystemMapping();
+ fileSystemMapping.dispose();
+ var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
checkAndDumpFileSystemMapping(fileSystemMapping);
// Now remove file mappings.

Powered by Google App Engine
This is Rietveld 408576698