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

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

Issue 2349343002: DevTools: introduce persistence/ module (Closed)
Patch Set: DevTools: add persistence/ module Created 4 years, 3 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-project.html
diff --git a/third_party/WebKit/LayoutTests/inspector/file-system-project.html b/third_party/WebKit/LayoutTests/inspector/file-system-project.html
index ae72afd50223c57a9167ffbd64cc4ae3b02f1c26..15cf83f6098cfeee2690a9be92be9884884f1759 100644
--- a/third_party/WebKit/LayoutTests/inspector/file-system-project.html
+++ b/third_party/WebKit/LayoutTests/inspector/file-system-project.html
@@ -57,6 +57,8 @@ function test()
InspectorTest.addResult("Adding first file system.");
var fs1 = new InspectorTest.TestFileSystem("file:///var/www");
var fs2 = new InspectorTest.TestFileSystem("file:///foo/bar");
+ WebInspector.fileSystemMapping.addFileSystem(fs1.fileSystemPath);
+ WebInspector.fileSystemMapping.addFileSystem(fs2.fileSystemPath);
InspectorTest.addResult("Adding second file system.");
var uiSourceCodes;
@@ -89,21 +91,6 @@ function test()
function uiSourceCodesDumped()
{
dumpUISourceCodeLocations(uiSourceCodes, 5);
- InspectorTest.addResult("UISourceCode uri to url mappings:");
- for (var i = 0; i < uiSourceCodes.length; ++i) {
- var url = WebInspector.networkMapping.networkURL(uiSourceCodes[i]);
- if (!url)
- continue;
- InspectorTest.addResult(" " + uiSourceCodes[i].url() + " -> " + url);
- }
- InspectorTest.addResult("UISourceCode url to uri mappings:");
- for (var i = 0; i < uiSourceCodes.length; ++i) {
- var url = WebInspector.networkMapping.networkURL(uiSourceCodes[i]);
- if (!url)
- continue;
- var uri = WebInspector.networkMapping.uiSourceCodeForURLForAnyTarget(url).url();
- InspectorTest.addResult(" " + url + " -> " + uri);
- }
WebInspector.workspace.addEventListener(WebInspector.Workspace.Events.WorkingCopyCommitted, contentCommitted, this);
uiSourceCodes[0].addRevision("<Modified UISourceCode content>");
}

Powered by Google App Engine
This is Rietveld 408576698