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

Unified Diff: LayoutTests/http/tests/navigatorconnect/resources/postmessage-tests.js

Issue 1191393003: Update client side navigator.connect API to use ServicePortCollection [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport
Patch Set: address more comments Created 5 years, 6 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/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';

Powered by Google App Engine
This is Rietveld 408576698