Index: LayoutTests/http/tests/navigatorconnect/resources/postmessage-tests.js |
diff --git a/LayoutTests/http/tests/navigatorconnect/resources/postmessage-tests.js b/LayoutTests/http/tests/navigatorconnect/resources/postmessage-tests.js |
index ae5e5a11360eb445ff5d670ae69284e7a11b6aa8..f4f58707c00809ffa1e6b3075b29c44f988bd28d 100644 |
--- a/LayoutTests/http/tests/navigatorconnect/resources/postmessage-tests.js |
+++ b/LayoutTests/http/tests/navigatorconnect/resources/postmessage-tests.js |
@@ -23,7 +23,7 @@ function run_postmessage_tests(source_origin, connect_method) { |
if (source_origin.charAt(source_origin.length - 1) != '/') |
source_origin += '/'; |
- promise_test(function(t) { |
+ sequential_promise_test(function(t) { |
var scope = sw_scope + '/echo'; |
var sw_url = 'resources/echo-worker.js'; |
var test_message = 'ping over navigator.connect'; |
@@ -44,7 +44,7 @@ function run_postmessage_tests(source_origin, connect_method) { |
}); |
}, 'Messages can be sent and received.'); |
- promise_test(function(t) { |
+ sequential_promise_test(function(t) { |
var scope = sw_scope + '/echo-port'; |
var sw_url = 'resources/echo-worker.js'; |
var test_message = 'ping over navigator.connect'; |
@@ -72,7 +72,7 @@ function run_postmessage_tests(source_origin, connect_method) { |
}); |
}, 'Ports can be sent and received.'); |
- promise_test(function(t) { |
+ sequential_promise_test(function(t) { |
var scope = sw_scope + '/reply-client-info'; |
var sw_url = 'resources/reply-client-info-worker.js'; |
var target_url = scope + '/service'; |