diff --git a/index.html b/index.html index 764aad54..246fe175 100644 --- a/index.html +++ b/index.html @@ -775,13 +775,30 @@
false
.
pathname
starts with
- scope's pathname
, return true
.
+ targetPath starts with scopePath, return
+ true
.
false
.
/prefix-of/resource.html
will match an app with scope
+ /prefix
, even though the path segment name is not an exact
+ match). This is intentional for consistency with Service Workers. To
+ avoid unexpected behavior, use a scope ending in a /
.
+ Enforcing the navigation scope depends on [[!HTML]]'s navigate