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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-get-empty.html

Issue 1907443007: Use promises in notifications tests and enable controlling the page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Address peter's comments. Created 4 years, 8 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/notifications/serviceworkerregistration-get-empty.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-get-empty.html b/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-get-empty.html
index 6e389adae32105b1579d43ab9c854eb52ca3944d..076c619881601a5d0decaeae128de5759f9704e1 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-get-empty.html
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-get-empty.html
@@ -13,7 +13,7 @@
// notifications returns a promise that gets resolved with an empty array.
async_test(function(test) {
var scope = 'resources/scope/' + location.pathname,
- script = 'resources/instrumentation-service-worker.js';
+ script = 'instrumentation-service-worker.js';
getActiveServiceWorkerWithMessagePort(test, script, scope).then(function(workerInfo) {
return workerInfo.registration.getNotifications();

Powered by Google App Engine
This is Rietveld 408576698