diff --git a/source b/source index e5abb8f1e85..e6e3f73fe8a 100644 --- a/source +++ b/source @@ -3194,8 +3194,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The HostGetCodeForEval abstract operation
  • -

    User agents that support JavaScript must also implement the Import Text proposal. - The following term is defined there, and used in this specification: JSIMPORTTEXT

    +

    User agents that support JavaScript must also implement the Import Text + proposal. The following term is defined there, and used in this specification: + JSIMPORTTEXT

    then set isTopLevelSelfFetch to true.

    @@ -39481,8 +39499,9 @@ interface MediaError { has to buffer first, regardless of the hint given by the preload attribute). Including both is not an error, however.

    -

    In audio and video elements, if scripting is - enabled, the loading attribute can defer the In audio and video elements, if scripting is enabled, the loading attribute can defer the preload attribute's hinted behavior until the element's lazy load resumption steps are run.

    @@ -40178,10 +40197,10 @@ interface MediaError {
  • it has an autoplay attribute specified;

  • -
  • if it is an audio or video element and its lazy loading attribute is either in the Eager state or has started loading while in the Lazy state, or scripting is - disabled for the element;

  • +
  • if it is an audio or video element and its lazy loading + attribute is either in the Eager state or + has started loading while in the Lazy state, or + scripting is disabled for the element;

  • its node document's active sandboxing flag set does not have the sandboxed automatic features browsing context flag set; and

  • @@ -40495,12 +40514,13 @@ interface MediaError {
  • Let resumptionSteps be the media element's lazy load - resumption steps.

  • + resumption steps.

  • If resumptionSteps is not null, then:

      -
    1. Set the media element's lazy load resumption steps to null.

    2. +
    3. Set the media element's lazy load resumption steps to + null.

    4. Invoke resumptionSteps.

    @@ -53055,17 +53075,17 @@ ldh-str = < as defined in dirty value flag is - true, then return the result of getting an attribute by namespace and - local name given null, "value", and element.

  • +
  • If element's dirty value flag is true, + then return the result of getting an + attribute by namespace and local name given null, "value", and + element.

  • Return element's value.

  • -
  • Let color be the result of - parsing value.

  • +
  • Let color be the result of parsing value.

  • If color is failure, then set color to opaque black.

  • @@ -54891,9 +54911,9 @@ You cannot submit this form when the field is incorrect.

    Constraint validation: When the element has a minimum and does not have a reversed range, and the result of applying the algorithm to convert a string to a number to - the string given by the element's value is a number, and - the number obtained from that algorithm is less than the algorithm to convert a string to a number to the + string given by the element's value is a number, and the + number obtained from that algorithm is less than the minimum, the element is suffering from an underflow.

    @@ -54902,9 +54922,9 @@ You cannot submit this form when the field is incorrect.

    Constraint validation: When the element has a maximum and does not have a reversed range, and the result of applying the algorithm to convert a string to a number to - the string given by the element's value is a number, and - the number obtained from that algorithm is more than the algorithm to convert a string to a number to the + string given by the element's value is a number, and the + number obtained from that algorithm is more than the maximum, the element is suffering from an overflow.

    @@ -54913,8 +54933,8 @@ You cannot submit this form when the field is incorrect.

    Constraint validation: When an element has a reversed range, and the result of applying the algorithm to convert a string to a number to the string given by the element's value is a number, and the number obtained from that algorithm - is more than the maximum and less than the value is a number, and the number obtained from that algorithm is + more than the maximum and less than the minimum, the element is simultaneously suffering from an underflow and suffering from an overflow.

    @@ -57793,9 +57813,9 @@ interface HTMLOptionElement : HTMLElement {
    -

    The option HTML element removing steps, given - removedNode, isSubtreeRoot, and oldAncestor are to run - update an option's nearest ancestor select given +

    The option HTML element removing steps, given removedNode, + isSubtreeRoot, and oldAncestor are to run update an + option's nearest ancestor select given removedNode.

    @@ -59846,8 +59866,8 @@ interface HTMLSelectedContentElement : HTMLElement
  • If selectedcontent's disabled is - true, nearestSelectAncestor is null, or nearestSelectAncestor has the - multiple attribute, then return.

  • + true, nearestSelectAncestor is null, or nearestSelectAncestor has the multiple attribute, then return.

  • Run update a select's selectedcontent given nearestSelectAncestor.

  • @@ -65922,8 +65942,8 @@ interface HTMLDialogElement : HTMLElement {
    -

    The dialog HTML element removing steps, given - removedNode, isSubtreeRoot, and oldAncestor are:

    +

    The dialog HTML element removing steps, given removedNode, + isSubtreeRoot, and oldAncestor are:

    1. If removedNode has an open attribute, @@ -80152,15 +80172,15 @@ Demos:

      :stalled
      -

      The :stalled pseudo-class must match - all media elements that match the The :stalled pseudo-class must match all + media elements that match the :buffering pseudo-class and whose is currently stalled is true.

      This pseudo-class is intended for displaying player state UI when video playback - has been buffering for too long. Unlike the stalled event, which fires whenever the network download has - stalled regardless of playback or ready state.

      + has been buffering for too long. Unlike the stalled + event, which fires whenever the network download has stalled regardless of playback or ready + state.

      :muted
      @@ -93157,9 +93177,9 @@ interface Origin {
    -

    The new Origin() constructor steps are to set - this's origin to a unique The new + Origin() constructor steps are to set this's origin to a unique opaque origin.

    @@ -98299,8 +98319,8 @@ interface Location { // but see also
    origin, then throw a "SecurityError" DOMException.

    -
  • Assert: this's relevant Document's ancestor origins list is not +

  • Assert: this's relevant Document's + ancestor origins list is not null.

  • Otherwise, return this's relevant Document's NavigationHistoryBehavior {

  • Let navigateEvent be navigation's ongoing navigate event.

  • -
  • Let apiMethodTracker be navigation's ongoing API method tracker.

  • +
  • Let apiMethodTracker be navigation's ongoing API method + tracker.

  • Prepare to run script given navigation's relevant settings @@ -101779,8 +101800,8 @@ callback NavigationInterceptHandler = precommitController.addHandler(NavigationInterceptHandler handler) -

    Adds a NavigationInterceptHandler callback that would be called once the navigation is committed, - as if this method was passed to the

    Adds a NavigationInterceptHandler callback that would be called once the + navigation is committed, as if this method was passed to the navigateEvent.intercept() method as a handler.

    @@ -102598,8 +102619,8 @@ interface NavigationDestination {

    The navigate event intercept commit handler steps, given a Navigation - navigation, a NavigateEvent object event, and a navigation - API method tracker apiMethodTracker are as follows:

    + navigation, a NavigateEvent object event, and a + navigation API method tracker apiMethodTracker are as follows:

    1. Let promisesList be an empty list.

    2. @@ -102812,8 +102833,8 @@ interface NavigationDestination { data-x="concept-Navigation-transition">transition's committed promise with undefined.

      -
    3. If endResultIsSameDocument is false and apiMethodTracker is non-null, - then clean up +

    4. If endResultIsSameDocument is false and apiMethodTracker is + non-null, then clean up apiMethodTracker.

    5. @@ -103667,14 +103688,12 @@ interface NotRestoredReasons { instead of this general reason, since the usage of shared workers itself is supported outside of the cases described in those reasons.

      -
      "sharedworker-message"
      +
      "sharedworker-message"
      While the page was stored in back/forward cache, a message was received from a SharedWorkerGlobalScope whose owner set contains this Document.
      -
      "sharedworker-with-no-active-client"
      +
      "sharedworker-with-no-active-client"
      This Document was in the owner set of a SharedWorkerGlobalScope that is not actively needed.
      @@ -104075,8 +104094,10 @@ interface NotRestoredReasons {
    6. Set navigable's parent to parent.

    7. -
    8. Set the initial visibility state of documentState's document to - navigable's traversable navigable's system visibility state.

    9. +
    10. Set the initial visibility state of documentState's document to navigable's traversable navigable's system visibility + state.

    @@ -107257,9 +107278,8 @@ location.href = '#foo';
    source given navigable's active window to navigate to a javascript: URL given navigable, url, historyHandling, sourceSnapshotParams, - initiatorOriginSnapshot, userInvolvement, - cspNavigationType, initialInsertion, and - navigationId.

  • + initiatorOriginSnapshot, userInvolvement, cspNavigationType, + initialInsertion, and navigationId.

  • Return.

  • @@ -107654,9 +107674,8 @@ location.href = '#foo';
    targetNavigable, a URL url, a history handling behavior historyHandling, a source snapshot params sourceSnapshotParams, an origin initiatorOrigin, a user - navigation involvement userInvolvement, a string - cspNavigationType, a boolean initialInsertion, and a navigation - ID navigationId:

    + navigation involvement userInvolvement, a string cspNavigationType, a + boolean initialInsertion, and a navigation ID navigationId:

    1. Assert: historyHandling is " struct, where that makes sense. See the comment there. -->

      -
      id
      +
      id
      null or a navigation ID
      -
      navigable
      +
      navigable
      the navigable experiencing the navigation
      -
      URL
      +
      URL
      a URL
      -
      target snapshot sandboxing flags
      +
      target snapshot sandboxing flags
      the target snapshot params's sandboxing flags present during navigation
      -
      source snapshot has transient activation
      +
      source snapshot has transient activation
      a copy of the source snapshot params's has transient activation boolean present during activation
      -
      initiator origin
      +
      initiator origin

      an origin possibly for use in a user-facing prompt to confirm the invocation of an external software package

      @@ -108205,14 +108218,12 @@ location.href = '#foo';
      scheme URL.

      -
      navigation timing type
      +
      navigation timing type
      a NavigationTimingType used for creating the navigation timing entry for the new Document (if one is created)
      -
      user involvement
      +
      user involvement
      a user navigation involvement used when obtaining a browsing context for the new Document (if one is created)
      @@ -110162,20 +110173,16 @@ location.href = '#foo'; after other parts have finished. It is a struct with:

      -
      displayed document
      +
      displayed document
      A Document
      -
      target entry
      +
      target entry
      A session history entry
      -
      navigable
      +
      navigable
      A navigable
      -
      update only
      +
      update only
      A boolean
      @@ -111018,7 +111025,8 @@ location.href = '#foo';
    2. Make active newDocument.

    3. Set the initial visibility state of newDocument to - navigable's traversable navigable's system visibility state.

    4. + navigable's traversable navigable's system + visibility state.

    @@ -116942,8 +116950,8 @@ document.querySelector("button").addEventListener("click", bound);
    -

    Scripting is disabled for a platform - object object if any of the following are true:

    +

    Scripting is disabled for a platform object + object if any of the following are true:

    -

    As CSS style sheets, JSON documents, and text do not import dependent modules, and do not - throw exceptions on evaluation, the fetch - options and base URL of CSS module scripts, JSON module - scripts, and text module scripts are always null.

    +

    As CSS style sheets, JSON documents, and text do not import dependent modules, and + do not throw exceptions on evaluation, the fetch options and base URL of CSS module + scripts, JSON module scripts, and text module scripts are always null.

    The active script is determined by the following algorithm:

    @@ -118485,8 +118494,8 @@ document.querySelector("button").addEventListener("click", bound);
  • Set script's settings object to settings.

  • -
  • Set script's base URL and - fetch options to null.

  • +
  • Set script's base URL and fetch options to null.

  • Set script's parse error and error to rethrow to null.

  • @@ -123473,8 +123482,8 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnl element be null, and document be eventTarget's associated Document.

    -
  • If document's active sandboxing flag set has its - sandboxed scripts browsing context flag set, then return null.

  • +
  • If document's active sandboxing flag set has its sandboxed + scripts browsing context flag set, then return null.

  • Let body be the uncompiled script body in eventHandler's value.

  • @@ -123942,7 +123951,8 @@ interface mixin WindowEventHandlers {

    Certain operations and methods are defined as firing events on elements. For example, the click() method on the HTMLElement interface is defined as - firing a click event on the element. POINTEREVENTS

    + firing a click event on the element. + POINTEREVENTS

    Firing a synthetic pointer event named @@ -124094,12 +124104,12 @@ document.body.appendChild(frame)

    1. If this's relevant settings object's origin is not same origin-domain - with the entry settings object's origin is not same origin-domain with + the entry settings object's origin, then return null.

    2. -
    3. Return this's relevant settings object's - origin.

    4. +
    5. Return this's relevant settings object's origin.

    Since these objects are potentially accessible cross-origin (e.g., through @@ -128617,13 +128627,13 @@ typedef (WindowProxy or MessagePort or ServiceWo

    The origin getter steps are:

      -
    1. If this's origin is - an origin, then return the serialization of this's

      If this's origin is an + origin, then return the serialization of this's origin.

    2. -
    3. If this's origin is - null, then return the empty string.

    4. +
    5. If this's origin is null, + then return the empty string.

    6. Return this's origin.

    7. @@ -129308,9 +129318,8 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF data-x="dom-MessageEvent-data">data attribute to data, its origin to the origin of the event stream's final URL (i.e., the URL after - redirects), and its lastEventId attribute to the last event ID string of the event + redirects), and its lastEventId attribute to + the last event ID string of the event source.

    8. If the event type buffer has a value other than the empty string, change the @@ -129791,8 +129800,8 @@ function receiver(e) {

      If this throws an exception, catch it, fire an event named messageerror at targetWindow, using MessageEvent, with its origin initialized to origin and - the source attribute initialized to + data-x="concept-MessageEvent-origin">origin initialized to origin and the + source attribute initialized to source, and then return.

    9. @@ -129804,12 +129813,12 @@ function receiver(e) {
    10. Fire an event named message at targetWindow, using - MessageEvent, with its origin initialized to origin, the source attribute initialized to source, the - data attribute initialized to - messageClone, and the ports attribute - initialized to newPorts.

    11. + MessageEvent, with its origin + initialized to origin, the source + attribute initialized to source, the data attribute initialized to messageClone, + and the ports attribute initialized to + newPorts.

    @@ -130682,9 +130691,8 @@ interface BroadcastChannel : EventTarget {
  • Fire an event named message at destination, using MessageEvent, with the data attribute - initialized to data and its origin initialized to - sourceOrigin.

  • + initialized to data and its origin + initialized to sourceOrigin.

    @@ -132145,9 +132153,9 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope
  • Let worker global scope be realm's global object.

  • -
  • Let origin be a unique opaque origin if worker global scope's - url's

    Let origin be a unique opaque + origin if worker global scope's url's scheme is "data"; otherwise outside settings's origin.

  • @@ -134193,8 +134201,8 @@ interface Storage { steps are:

      -
    1. If this's map is empty, then return.

    2. +
    3. If this's map is empty, then return.

    4. Clear this's map.