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

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

Issue 2780903003: DevTools: [Workspaces] remove support for .devtools file (Closed)
Patch Set: rebaseline Created 3 years, 8 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: third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
diff --git a/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html b/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
deleted file mode 100644
index ac50e1a440e8574c77f01b76f0554c045fb21ab8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<html>
-<head>
-<script src="../http/tests/inspector/inspector-test.js"></script>
-<script>
-function test()
-{
- InspectorTest.runTestSuite([
- function testFileSystemClashDirectOrder(next)
- {
- var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
- fileSystemMapping.addFileSystem("file:///Source/devtools");
-
- fileSystemMapping.addNonConfigurableFileMapping("file:///Source/devtools", "chrome-devtools://devtools/bundled/wrong_url", "/");
- fileSystemMapping.addFileMapping("file:///Source/devtools", "http://localhost:1234/right_url", "/");
-
- InspectorTest.addResult(fileSystemMapping.networkURLForFileSystemURL("file:///Source/devtools", "file:///Source/devtools/file.txt"));
- fileSystemMapping.dispose();
- next();
- },
-
- function testFileSystemClashReversedOrder(next)
- {
- var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
- fileSystemMapping.addFileSystem("file:///Source/devtools");
-
- fileSystemMapping.addFileMapping("file:///Source/devtools", "http://localhost:1234/right_url", "/");
- fileSystemMapping.addNonConfigurableFileMapping("file:///Source/devtools", "chrome-devtools://devtools/wrong_url", "/");
-
- InspectorTest.addResult(fileSystemMapping.networkURLForFileSystemURL("file:///Source/devtools", "file:///Source/devtools/file.txt"));
- fileSystemMapping.dispose();
- next();
- },
-
- function testNetworkClashDirectOrder(next)
- {
- var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
- fileSystemMapping.addFileSystem("file:///Source/devtools");
-
- fileSystemMapping.addNonConfigurableFileMapping("file:///Source/devtools", "http://localhost:1234/front_end", "/wrong");
- fileSystemMapping.addFileMapping("file:///Source/devtools", "http://localhost:1234/front_end", "/right");
-
- InspectorTest.addResult(fileSystemMapping.fileForURL("http://localhost:1234/front_end/file.txt").fileURL);
- fileSystemMapping.dispose();
- next();
- },
-
- function testNetworkClashReversedOrder(next)
- {
- var fileSystemMapping = new Workspace.FileSystemMapping(Workspace.isolatedFileSystemManager);
- fileSystemMapping.addFileSystem("file:///Source/devtools");
-
- fileSystemMapping.addFileMapping("file:///Source/devtools", "http://localhost:1234/front_end", "/right");
- fileSystemMapping.addNonConfigurableFileMapping("file:///Source/devtools", "http://localhost:1234/front_end", "/wrong");
-
- InspectorTest.addResult(fileSystemMapping.fileForURL("http://localhost:1234/front_end/file.txt").fileURL);
- fileSystemMapping.dispose();
- next();
- },
- ]);
-}
-</script>
-</head>
-<body onload="runTest()">
-<p>Tests FileSystemMapping overrides</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698