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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-keeps-selected-tab.html

Issue 2784733002: DevTools: prepare tests for Persistence2.0 release (Closed)
Patch Set: address comments + three special tests Created 3 years, 9 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-keeps-selected-tab.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-keeps-selected-tab.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-keeps-selected-tab.html
index f6a3bd141597ae205adb0f98050732c93e8c33c6..9aaff057495c5381dfcd15445c0bebfebdfc4fd6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-keeps-selected-tab.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-keeps-selected-tab.html
@@ -9,6 +9,7 @@
async function test()
{
+ var testMapping = InspectorTest.initializeTestMapping();
var fs = new InspectorTest.TestFileSystem('file:///var/www');
var fsEntry = InspectorTest.addFooJSFile(fs);
fs.root.addFile('bar.js', "window.bar = ()=>'bar';");
@@ -23,7 +24,7 @@ async function test()
UI.panels.sources.showUISourceCode(fsSourceCode, 0, 0);
dumpTabs('Opened tabs before persistence binding:');
- Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, 'http://127.0.0.1:8000', '/');
+ testMapping.addBinding('foo.js');
await InspectorTest.waitForBinding('foo.js');
dumpTabs('\nOpened tabs after persistence binding:');
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698