File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3442,9 +3442,9 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
3442
3442
3443
3443
<pre highlight="js">
3444
3444
// Maximum allowed scope defaults to the path the script sits in
3445
- // "/js" in this example
3445
+ // "/js/ " in this example
3446
3446
navigator.serviceWorker.register("/js/sw.js").then(() => {
3447
- console.log("Install succeeded with the default scope '/js' .");
3447
+ console.log("Install succeeded with the default scope '/js/ ' .");
3448
3448
});
3449
3449
</pre>
3450
3450
</div>
Original file line number Diff line number Diff line change @@ -3234,9 +3234,9 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
3234
3234
3235
3235
<pre highlight="js">
3236
3236
// Maximum allowed scope defaults to the path the script sits in
3237
- // "/js" in this example
3237
+ // "/js/ " in this example
3238
3238
navigator.serviceWorker.register("/js/sw.js").then(() => {
3239
- console.log("Install succeeded with the default scope '/js' .");
3239
+ console.log("Install succeeded with the default scope '/js/ ' .");
3240
3240
});
3241
3241
</pre>
3242
3242
</div>
You can’t perform that action at this time.
0 commit comments