diff --git a/source b/source index 60157f9a2ea..2aac9735ea2 100644 --- a/source +++ b/source @@ -2996,7 +2996,13 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The Pattern production
  • The Script production
  • -
  • The Type notation
  • +
  • The + BigInt, + Boolean, + Number, + String, + Symbol, + and Object ECMAScript language types
  • The Completion Record specification type
  • The List and Record specification types
  • @@ -9653,11 +9659,12 @@ interface DOMStringList {
  • Let deep be false.

  • -
  • If Type(value) is Undefined, Null, Boolean, - Number, BigInt, or String, then return { [[Type]]: "primitive", - [[Value]]: value }.

  • +
  • If value is undefined, null, a Boolean, a Number, a BigInt, or a String, then return { [[Type]]: "primitive", [[Value]]: + value }.

  • -
  • If Type(value) is Symbol, then throw a +

  • If value is a Symbol, then throw a "DataCloneError" DOMException.

  • Let serialized be an uninitialized value.

  • @@ -12157,7 +12164,7 @@ document.createElement("bad-1"); // (2) "prototype").

  • -

    If Type(prototype) is not Object, then:

    +

    If prototype is not an Object, then:

    1. Let realm be ? GetFunctionRealm(NewTarget).

    2. @@ -53170,7 +53177,7 @@ You cannot submit this form when the field is incorrect. data-x="event-input">input and change. Or it might interpret such a click as a dismissal that leaves the selection unchanged, thus firing cancel. Similarly, it's up to the user agent whether re-selecting - the same files counts as were previously selected counts as a dismissal, or as a change of + the same files as were previously selected counts as a dismissal, or as a change of selection.

      @@ -61787,6 +61794,9 @@ interface HTMLDialogElement : HTMLElement {
    3. If this has an open attribute, then throw an "InvalidStateError" DOMException.

    4. +
    5. If this's node document is not fully active, then + throw an "InvalidStateError" DOMException.

    6. +
    7. If this is not connected, then throw an "InvalidStateError" DOMException.

    8. @@ -61816,9 +61826,8 @@ interface HTMLDialogElement : HTMLElement { to the top layer given this.

    9. -

      If this's node document is fully active, then set - this's close watcher to the result of - establishing a close watcher given +

      Set this's close watcher to the + result of establishing a close watcher given this's relevant global object, with:

        @@ -61832,10 +61841,6 @@ interface HTMLDialogElement : HTMLElement {
      • closeAction being to close the dialog given this and null.

      - -

      It would be better if this method failed early for the non-fully - active case. That is being tracked in issue #10659.

    10. Set this's previously focused element to the @@ -71454,10 +71459,10 @@ interface OffscreenCanvasRenderingContext2D {

      If type is an image format that supports variable quality (such as "image/jpeg"), quality is given, and type is not - "image/png", then, if Type(quality) is - Number, and quality is in the range 0.0 to 1.0 inclusive, the user agent must treat - quality as the desired quality level. Otherwise, the user agent must use its default - quality value, as if the quality argument had not been given.

      + "image/png", then, if quality is a Number + in the range 0.0 to 1.0 inclusive, the user agent must treat quality as the desired + quality level. Otherwise, the user agent must use its default quality value, as if the + quality argument had not been given.

      The use of type-testing here, instead of simply declaring quality as a Web IDL double, is a historical artifact.

      @@ -72680,7 +72685,7 @@ dictionary ElementDefinitionOptions {
    11. Let prototype be ? Get(constructor, "prototype").

    12. -
    13. If Type(prototype) is not Object, then throw a +

    14. If prototype is not an Object, then throw a TypeError exception.

    15. Let lifecycleCallbacks be a map with the keys "DragEventInit : MouseEventInit {

    16. -

      If document is fully active, then set element's - popover close watcher to the result of establishing a close watcher given element's relevant global - object, with:

      +

      Set element's popover close watcher to the result of establishing a close watcher given + element's relevant global object, with:

      • cancelAction being to return @@ -85577,10 +85581,6 @@ dictionary DragEventInit : MouseEventInit { data-x="hide popover algorithm">hide a popover given element, true, true, and false.

      - -

      It would be better if this algorithm failed early for the non-fully - active case. That is being tracked in issue #10659.

  • @@ -86123,6 +86123,9 @@ dictionary DragEventInit : MouseEventInit {