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

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

Issue 1295373003: Remove sequential_promise_test helper, just use promise_test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove testharness-helpers.js inclusion from bluetooth tests 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 3f6fbaba10767f668317472669ec9226e369e8f4..42b9a95ab034095e564eba517e42b389c374a148 100644
--- a/LayoutTests/http/tests/serviceworker/getregistrations.html
+++ b/LayoutTests/http/tests/serviceworker/getregistrations.html
@@ -9,7 +9,7 @@
// Purge the existing registrations for the origin.
// getRegistrations() is used in order to avoid adding additional complexity
// e.g. adding an internal function.
-sequential_promise_test(function(t) {
+promise_test(function(t) {
var resolve;
var timer;
var p = new Promise(function(r) { resolve = r; });
@@ -35,7 +35,7 @@ sequential_promise_test(function(t) {
return p;
}, 'Purge the existing registrations.');
-sequential_promise_test(function(t) {
+promise_test(function(t) {
var scope = 'resources/scope/getregistrations/normal';
var script = 'resources/empty-worker.js';
var registrations = [];
@@ -53,7 +53,7 @@ sequential_promise_test(function(t) {
});
}, 'Register then getRegistrations');
-sequential_promise_test(function(t) {
+promise_test(function(t) {
var scope1 = 'resources/scope/getregistrations/scope1';
var scope2 = 'resources/scope/getregistrations/scope2';
var script = 'resources/empty-worker.js';
@@ -79,7 +79,7 @@ sequential_promise_test(function(t) {
});
}, 'Register multiple times then getRegistrations');
-sequential_promise_test(function(t) {
+promise_test(function(t) {
var scope = 'resources/scope/getregistrations/register-unregister';
var script = 'resources/empty-worker.js';
return service_worker_unregister_and_register(t, script, scope)
@@ -97,7 +97,7 @@ sequential_promise_test(function(t) {
});
}, 'Register then Unregister then getRegistrations');
-sequential_promise_test(function(t) {
+promise_test(function(t) {
// Top-level window's origin: http://127.0.0.1:8000.
// Frame's origin: http://localhost:8000.
var host_info = get_host_info();
« no previous file with comments | « LayoutTests/http/tests/resources/testharness-helpers.js ('k') | LayoutTests/resources/testharness-helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698