зеркало из https://github.com/mozilla/gecko-dev.git
33 строки
697 B
HTML
33 строки
697 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>Service Workers: register()</title>
|
|
<head>
|
|
<link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-service-worker-register">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<!--
|
|
|
|
`navigator.serviceWorker.register(url, options)` method must run the
|
|
[Registration algorithm][1] passing `url` and `options`.`scope` as the
|
|
arguments.
|
|
|
|
[1]: #registration-algorithm
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script>
|
|
test(function() {
|
|
// not_implemented();
|
|
}, "There are no tests for section register() so far.");
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|