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

Side by Side Diff: LayoutTests/http/tests/navigatorconnect/connect.html

Issue 1198653004: Update client side navigator.connect API to use ServicePortCollection [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-part2
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigatorconnect/postmessage.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title> 2 <title>
3 Tests accepting and rejecting connections calling navigator.connect from 3 Tests accepting and rejecting connections calling navigator.connect from
4 a same origin page. 4 a same origin page.
5 </title> 5 </title>
6 <script src="../../resources/testharness.js"></script> 6 <script src="../../resources/testharness.js"></script>
7 <script src="../../resources/testharnessreport.js"></script> 7 <script src="../../resources/testharnessreport.js"></script>
8 <script src="../../resources/testharness-helpers.js"></script> 8 <script src="../../resources/testharness-helpers.js"></script>
9 <script src="../serviceworker/resources/test-helpers.js"></script> 9 <script src="../serviceworker/resources/test-helpers.js"></script>
10 <script src="resources/test-helpers.js"></script> 10 <script src="resources/test-helpers.js"></script>
11 <script src="resources/connect-tests.js"></script> 11 <script src="resources/connect-tests.js"></script>
12 <script> 12 <script>
13 var sw_scope = 'resources/service-worker-scope' + window.location.pathname; 13 var sw_scope = 'resources/service-worker-scope' + window.location.pathname;
14 14
15 run_connect_tests(function(t, service) { 15 run_connect_tests(function(t, service, options) {
16 return first_to_resolve([wrap_in_port(navigator.services.connect(service)), navigator.connect(service)]); 16 return navigator.services.connect(service, options);
17 }); 17 });
18 </script> 18 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigatorconnect/postmessage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698