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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.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-sync-content-nodejs.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html
index b465383019b6262623eb0be8a9dc15643c677b12..9d9ad5678058857d4d91a51d56d5f5c5637ac9a1 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html
@@ -8,6 +8,7 @@
async function test()
{
+ var testMapping = InspectorTest.initializeTestMapping();
// Pretend we are running under V8 front-end.
SDK.targetManager.mainTarget().setIsNodeJSForTest();
@@ -31,10 +32,10 @@ async function test()
// Add filesystem UISourceCode and mapping.
var fs = new InspectorTest.TestFileSystem("file:///var/www");
var fsEntry = fs.root.addFile("nodejs.js", fsContent);
- fs.addFileMapping("http://127.0.0.1:8000", "/");
fs.reportCreated(function() { });
var binding;
+ testMapping.addBinding("nodejs.js");
InspectorTest.waitForBinding("nodejs.js").then(onBindingCreated);
function onBindingCreated(theBinding)

Powered by Google App Engine
This is Rietveld 408576698