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

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

Issue 2390333002: DevTools: fix tabbed editor to not open all bound files (Closed)
Patch Set: nit Created 4 years, 2 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/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
index 23e6ad2f7b10b825a86f1d45dad9a5ad58382aff..3b42f2cc6a2a1bf57c62050b990ab2b3f97c8f50 100644
--- 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
@@ -19,18 +19,19 @@ function test()
function onBindingCreated(binding)
{
InspectorTest.addResult("Binding created: " + binding);
+ dumpEditorTabs("Opened tabs before opening any UISourceCodes:");
InspectorTest.addResult("request open uiSourceCode: " + binding.fileSystem.url());
WebInspector.panels.sources.showUISourceCode(binding.fileSystem, 0, 0);
- dumpEditorTabs();
+ dumpEditorTabs("Opened tabs after opening UISourceCode:");
InspectorTest.completeTest();
}
- function dumpEditorTabs()
+ function dumpEditorTabs(title)
{
var editorContainer = WebInspector.panels.sources._sourcesView._editorContainer;
var openedUISourceCodes = editorContainer._tabIds.keysArray();
openedUISourceCodes.sort((a, b) => a.url().compareTo(b.url()));
- InspectorTest.addResult("Opened tabs: ");
+ InspectorTest.addResult(title);
for (code of openedUISourceCodes)
InspectorTest.addResult(" " + code.url());
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-network-uisourcecode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698