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) |