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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.1.2-service-worker-url.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <title>Service Workers: url</title>
4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#service-work er-url">
6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8
9 </head>
10 <body>
11
12 <!--
13
14 The `url` attribute must return the [serialization][1] of the URL of the script
15 of the Service Worker, identified by its [URL scope][2], that is associated
16 with the [ServiceWorkerGlobalScope][3] object. The `url` attribute is always an
17 [absolute URL][4] corresponding to the script file which the Service Worker
18 evaluates.
19
20 In the example in section 3.1.1, the value of
21 `navigator.serviceWorker.controller.url` will be
22 `"https://example.com/service_worker.js"`.
23
24
25
26 [1]: http://url.spec.whatwg.org/#concept-url-serializer
27 [2]: #url-scope
28 [3]: #service-worker-global-scope-interface
29 [4]: http://url.spec.whatwg.org/#concept-absolute-url
30
31 -->
32
33
34
35 <script>
36 test(function() {
37 // not_implemented();
38 }, "There are no tests for section url so far.");
39 </script>
40
41 </body>
42 </html>
43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698