blob: be17bb8d39d75e84975e9a4cc7522d4d5fcd9597 [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.");