Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sourceframe-messages.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sourceframe-messages.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sourceframe-messages.html |
index e13b29aa53ab9af8e1258358a1706a97da234b91..0fd8b888dc5e0ab067b2004f8ec1a2d23048b0f4 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sourceframe-messages.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sourceframe-messages.html |
@@ -9,6 +9,7 @@ |
function test() |
{ |
+ var testMapping = InspectorTest.initializeTestMapping(); |
var fs = new InspectorTest.TestFileSystem("file:///var/www"); |
InspectorTest.addFooJSFile(fs); |
var networkSourceCode; |
@@ -49,8 +50,8 @@ function test() |
function addMapping(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) |
{ |
@@ -63,7 +64,7 @@ function test() |
function removeMapping(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) |
{ |