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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-network-uisourcecode.html

Issue 2551233002: DevTools: show filesystem file by default (Closed)
Patch Set: nit Created 4 years 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-tabbed-editor-opens-network-uisourcecode.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-network-uisourcecode.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-network-uisourcecode.html
deleted file mode 100644
index c12eb7448dca563dd187edff76754dda393e3d7e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-network-uisourcecode.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
-<head>
-<script src="../inspector-test.js"></script>
-<script src="../debugger-test.js"></script>
-<script src="../isolated-filesystem-test.js"></script>
-<script src="./persistence-test.js"></script>
-<script src="./resources/foo.js"></script>
-<script>
-
-function test()
-{
- var fs = new InspectorTest.TestFileSystem("file:///var/www");
- var fsEntry = InspectorTest.addFooJSFile(fs);
- fs.addFileMapping("http://127.0.0.1:8000", "/");
- fs.reportCreated(function() { });
- InspectorTest.waitForBinding("foo.js").then(onBindingCreated);
-
- function onBindingCreated(binding)
- {
- InspectorTest.addResult("Binding created: " + binding);
- dumpEditorTabs("Opened tabs before opening any UISourceCodes:");
- InspectorTest.addResult("request open uiSourceCode: " + binding.fileSystem.url());
- UI.panels.sources.showUISourceCode(binding.fileSystem, 0, 0);
- dumpEditorTabs("Opened tabs after opening UISourceCode:");
- InspectorTest.completeTest();
- }
-
- function dumpEditorTabs(title)
- {
- var editorContainer = UI.panels.sources._sourcesView._editorContainer;
- var openedUISourceCodes = editorContainer._tabIds.keysArray();
- openedUISourceCodes.sort((a, b) => a.url().compareTo(b.url()));
- InspectorTest.addResult(title);
- for (code of openedUISourceCodes)
- InspectorTest.addResult(" " + code.url());
- }
-};
-</script>
-</head>
-<body onload="runTest()">
-<p>Verify that for a fileSystem UISourceCode with network binding TabbedEditorContainer opens network UISourceCode.</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698