diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/service-workers/stub-3.1.2-service-worker-url.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/service-workers/stub-3.1.2-service-worker-url.html')
-rw-r--r-- | testing/web-platform/tests/service-workers/stub-3.1.2-service-worker-url.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/service-workers/stub-3.1.2-service-worker-url.html b/testing/web-platform/tests/service-workers/stub-3.1.2-service-worker-url.html new file mode 100644 index 000000000..5674df7fc --- /dev/null +++ b/testing/web-platform/tests/service-workers/stub-3.1.2-service-worker-url.html @@ -0,0 +1,43 @@ +<!DOCTYPE html> +<html> +<title>Service Workers: url</title> + <head> + <link rel="help" href="https://w3c.github.io/ServiceWorker/#service-worker-url"> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + + </head> + <body> + +<!-- + +The `url` attribute must return the [serialization][1] of the URL of the script +of the Service Worker, identified by its [URL scope][2], that is associated +with the [ServiceWorkerGlobalScope][3] object. The `url` attribute is always an +[absolute URL][4] corresponding to the script file which the Service Worker +evaluates. + +In the example in section 3.1.1, the value of +`navigator.serviceWorker.controller.url` will be +`"https://example.com/service_worker.js"`. + + + +[1]: http://url.spec.whatwg.org/#concept-url-serializer +[2]: #url-scope +[3]: #service-worker-global-scope-interface +[4]: http://url.spec.whatwg.org/#concept-absolute-url + +--> + + + + <script> + test(function() { + // not_implemented(); + }, "There are no tests for section url so far."); + </script> + + </body> +</html> + |