From 68f43031fa07bc95ac278da0d4216703fe19333d Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sun, 13 Nov 2022 23:30:26 +0900 Subject: [PATCH] Add the navigation API This imports much of the specification from https://wicg.github.io/navigation-api/. It includes some minor fixes and renamings, as well as a lot of rearranging to flow better, but the feature set is the same. --- source | 3006 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 2752 insertions(+), 254 deletions(-) diff --git a/source b/source index edcc0d7e028..2b98b37ff6f 100644 --- a/source +++ b/source @@ -44,6 +44,10 @@ link.hash = location.hash; } + @@ -2756,8 +2760,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute constructing callback functions
  • overload resolution algorithm
  • exposed
  • +
  • a promise resolved with
  • a promise rejected with
  • +
  • wait for all
  • upon rejection
  • +
  • mark as handled
  • [LegacyFactoryFunction]
  • [LegacyLenientThis]
  • [LegacyNullToEmptyString]
  • @@ -3126,6 +3133,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The create an event algorithm
  • The fire an event algorithm
  • The canceled flag
  • +
  • The dispatch flag
  • The dispatch algorithm
  • EventInit dictionary type
  • type attribute
  • @@ -3179,6 +3187,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute is value
  • MutationObserver interface and mutation observers in general
  • +
  • AbortSignal
  • +
  • aborted
  • +
  • signal abort
  • The following features are defined in UI Events:

    @@ -15316,10 +15327,13 @@ data-x="rel-preload">preload; as=font<

    Interactive user agents may provide users with a means to follow the hyperlinks created using the link element, somewhere - within their user interface. The exact interface is not defined by this specification, but it - could include the following information (obtained from the element's attributes, again as defined - below), in some form or another (possibly simplified), for each hyperlink created - with each link element in the document:

    + within their user interface. Such invocations of the follow + the hyperlink algorithm must set the userInvolvement argument to "browser UI". The exact interface is not defined by this + specification, but it could include the following information (obtained from the element's + attributes, again as defined below), in some form or another (possibly simplified), for each + hyperlink created with each link element in the document: