Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html

Issue 2780933003: DevTools: support UISourceCode rename in automapping (Closed)
Patch Set: fix test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html
index 05073103d81d94b347417aa08703d2013be506fe..711746e26983a32c9bed01288553a8d71b3673ce 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html
@@ -28,7 +28,7 @@ function test()
automappingTest.addNetworkResources({
"http://example.com/path/foo.js": foo_js,
});
- automappingTest.waitUntilMappingIsStabilized(next);
+ automappingTest.waitUntilMappingIsStabilized().then(next);
},
function addFileSystemUISourceCode(next)
@@ -36,13 +36,13 @@ function test()
InspectorTest.addFiles(fs, {
"scripts/foo.js": foo_js,
});
- automappingTest.waitUntilMappingIsStabilized(next);
+ automappingTest.waitUntilMappingIsStabilized().then(next);
},
function removeNetworkUISourceCode(next)
{
automappingTest.removeResources(["http://example.com/path/foo.js"]);
- automappingTest.waitUntilMappingIsStabilized(next);
+ automappingTest.waitUntilMappingIsStabilized().then(next);
},
function reAddNetworkUISourceCode(next)
@@ -51,13 +51,13 @@ function test()
// Make sure simple resource gets mapped.
"http://example.com/path/foo.js": foo_js,
});
- automappingTest.waitUntilMappingIsStabilized(next);
+ automappingTest.waitUntilMappingIsStabilized().then(next);
},
function removeFileSystem(next)
{
fs.reportRemoved();
- automappingTest.waitUntilMappingIsStabilized(next);
+ automappingTest.waitUntilMappingIsStabilized().then(next);
},
];
}

Powered by Google App Engine
This is Rietveld 408576698