Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-merge-editor-tabs.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-merge-editor-tabs.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-merge-editor-tabs.html |
index 4f9084e4b72ec05c4fa03c8a388f007d6aa5c8de..6872e150f90fe9463233bf1fd326d0979f4714e4 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-merge-editor-tabs.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-merge-editor-tabs.html |
@@ -9,6 +9,7 @@ |
function test() |
{ |
+ var testMapping = InspectorTest.initializeTestMapping(); |
var fs = new InspectorTest.TestFileSystem("file:///var/www"); |
var fsEntry = InspectorTest.addFooJSFile(fs); |
var networkSourceFrame, fileSystemSourceFrame; |
@@ -54,8 +55,8 @@ function test() |
function addFileMapping(next) |
{ |
+ testMapping.addBinding("foo.js"); |
InspectorTest.waitForBinding("foo.js").then(onBindingCreated); |
- Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/"); |
function onBindingCreated() |
{ |
@@ -68,7 +69,7 @@ function test() |
function removeFileMapping(next) |
{ |
Persistence.persistence.addEventListener(Persistence.Persistence.Events.BindingRemoved, onBindingRemoved); |
- Workspace.fileSystemMapping.removeFileMapping(fs.fileSystemPath, "http://127.0.0.1:8000", "/"); |
+ testMapping.removeBinding("foo.js") |
function onBindingRemoved(event) |
{ |