Skip to content

Commit

Permalink
Export the Clear Registration Algorithm
Browse files Browse the repository at this point in the history
So that the Clear Site Data spec can reference the algorithm and use
it to clear out the service worker, insteaed of unregister().

Context:
w3c#614 (comment)

Eventually will resolve:
w3c/webappsec-clear-site-data#54
  • Loading branch information
asakusuma committed Jun 21, 2019
1 parent a47c6d8 commit 985f42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
</section>

<section algorithm>
<h3 id="clear-registration-algorithm"><dfn>Clear Registration</dfn></h3>
<h3 id="clear-registration-algorithm"><dfn export>Clear Registration</dfn></h3>

: Input
:: |registration|, a [=/service worker registration=]
Expand Down

0 comments on commit 985f42b

Please sign in to comment.