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

Side by Side Diff: LayoutTests/http/tests/serviceworker/interfaces.html

Issue 435453002: [ServiceWorker] Update formatting for tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't forget to update callsites. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Service Worker: Interfaces</title> 2 <title>Service Worker: Interfaces</title>
3 <script src="../resources/testharness.js"></script> 3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 4 <script src="../resources/testharnessreport.js"></script>
5 <script src="resources/interfaces.js"></script> 5 <script src="resources/interfaces.js"></script>
6 <script src="resources/test-helpers.js"></script> 6 <script src="resources/test-helpers.js"></script>
7 <script> 7 <script>
8 8
9 test(function() { 9 test(function() {
10 verifyInterface('ServiceWorkerContainer', 10 verify_interface('ServiceWorkerContainer',
11 navigator.serviceWorker, 11 navigator.serviceWorker,
12 { 12 {
13 register: 'function', 13 register: 'function',
14 unregister: 'function' 14 unregister: 'function'
15 }); 15 });
16 16
17 }, 'Interfaces and attributes of ServiceWorkerContainer'); 17 }, 'Interfaces and attributes of ServiceWorkerContainer');
18 18
19 service_worker_test( 19 service_worker_test(
20 'resources/interfaces-worker.js', 20 'resources/interfaces-worker.js',
21 'Interfaces and attributes in ServiceWorkerGlobalScope'); 21 'Interfaces and attributes in ServiceWorkerGlobalScope');
22 22
23 </script> 23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698