Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html |
index 844be7fe5ac980d3ab869e2a85bbeae24dbe67b8..e58289c4f94a9167dfa065ee97525c5c229ead26 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html |
@@ -9,6 +9,7 @@ |
function test() |
{ |
+ var testMapping = InspectorTest.initializeTestMapping(); |
Runtime.experiments.enableForTest("persistence2"); |
var sourcesNavigator = new Sources.SourcesNavigatorView(); |
sourcesNavigator.show(UI.inspectorView.element); |
@@ -38,8 +39,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) |
{ |
@@ -51,7 +52,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) |
{ |