blob: 5674df7fc8d9ac493251a6c51a3d7ca34674a71d [file] [log] [blame]
<!DOCTYPE html>
<title>Service Workers: url</title>
<link rel="help" href="">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
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
In the example in section 3.1.1, the value of
`navigator.serviceWorker.controller.url` will be
[2]: #url-scope
[3]: #service-worker-global-scope-interface
test(function() {
// not_implemented();
}, "There are no tests for section url so far.");