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()); |
} |