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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
index 623abb49feadcaec63f1476f18f9bef618196a41..ac5d00a0d2678633a1658e85a9c015ca4f89fe96 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js
@@ -43,9 +43,10 @@ InspectorTest.TestFileSystem.prototype = {
addFileMapping: function(urlPrefix, pathPrefix)
{
- var fileSystemMapping = new Workspace.FileSystemMapping();
+ var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
fileSystemMapping.addFileSystem(this.fileSystemPath);
fileSystemMapping.addFileMapping(this.fileSystemPath, urlPrefix, pathPrefix);
+ fileSystemMapping.dispose();
Workspace.fileSystemMapping._loadFromSettings();
},
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698