Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html |
index 29e564b27d533b153e47ab9f1e0f71575c22ff0c..ed5d1f56c8f4f8be176b9c15573048dc53427667 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html |
@@ -9,6 +9,7 @@ |
function test() |
{ |
+ var testMapping = InspectorTest.initializeTestMapping(); |
var fs = new InspectorTest.TestFileSystem("file:///var/www"); |
var fsEntry = InspectorTest.addFooJSFile(fs); |
@@ -33,8 +34,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(binding) |
{ |
@@ -45,7 +46,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) |
{ |