From 35e78445a806fa67bf29277feb09450f287f1bdb Mon Sep 17 00:00:00 2001 From: Daniel Murphy Date: Wed, 1 Mar 2023 16:07:32 -0800 Subject: [PATCH] addressing comments, adding dfn --- index.html | 63 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index fc518671..b9248d47 100644 --- a/index.html +++ b/index.html @@ -2553,21 +2553,11 @@

Web Apps with scope conflicts

- Because scopes are based on URL matching, it is possible for a developer to create - multiple web applications with the same, overlapping, or nested scopes. Doing so creates - several issues (detailed below) and is thus considered bad practice. + Because scopes are based on URL matching, it is possible for a + developer to create multiple web applications with the same, + overlapping, or nested scopes. Doing so creates several issues + (detailed below) and is thus considered bad practice.

-

Same-origin scopes are not recommended due to origin-based settings that will affect all apps installed under that origin. Settings like: @@ -2577,28 +2567,49 @@

  • Storage and storage quota
  • -
  • User settings (e.g. font size) +
  • User settings (e.g. font size, zoom level)
  • - Further, overlapping, nested, or duplicate scopes can have the following UX and - API problems or inconsistencies among other possible consistencies: + To aide with disambiguation apps with scope conflicts, user agents + can determine the controlling app for a given document + URL, which is an [=installed web application=] with the longest + [=manifest/scope=] where the document url is [=manifest/within + scope=] of that application. If multiple apps fit this description + (in the case of matching scopes), then the user agent may choose + none, one, or all, depending on the scenario. +

    +

    + The following scenarios may require the user agent choosing a + [=controlling app=], not work, or be unpredictable with nested or + matching scopes:

    +