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

Unified Diff: LayoutTests/http/tests/serviceworker/getregistrations.html

Issue 1311103002: ServiceWorker: Make APIs that return ServiceWorkerRegistration coin a new JS object (3/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address review comments Created 5 years, 4 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: LayoutTests/http/tests/serviceworker/getregistrations.html
diff --git a/LayoutTests/http/tests/serviceworker/getregistrations.html b/LayoutTests/http/tests/serviceworker/getregistrations.html
index 42b9a95ab034095e564eba517e42b389c374a148..ff054eedff8a2a9f59c003f7b2c80c2a3c21aa04 100644
--- a/LayoutTests/http/tests/serviceworker/getregistrations.html
+++ b/LayoutTests/http/tests/serviceworker/getregistrations.html
@@ -45,7 +45,7 @@ promise_test(function(t) {
return navigator.serviceWorker.getRegistrations();
})
.then(function(value) {
- assert_array_equals(
+ assert_registration_array_equals(
value,
registrations,
'getRegistrations should resolve with array of registrations.');
@@ -68,7 +68,7 @@ promise_test(function(t) {
return navigator.serviceWorker.getRegistrations();
})
.then(function(value) {
- assert_array_equals(
+ assert_registration_array_equals(
value,
registrations,
'getRegistrations should resolve with array of registrations.');
@@ -128,7 +128,7 @@ promise_test(function(t) {
return navigator.serviceWorker.getRegistrations();
})
.then(function(value) {
- assert_array_equals(value, registrations,
+ assert_registration_array_equals(value, registrations,
'getRegistrations should return only the same origin ' +
'registrations.');
channel.port1.postMessage('unregister');
« no previous file with comments | « LayoutTests/http/tests/serviceworker/getregistration.html ('k') | LayoutTests/http/tests/serviceworker/multiple-register.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698