Skip to content
Switch branches/tags

Commits on Oct 4, 2022

  1. Editorial: explicitly pass around the "perform the fetch" hook

    Helps with #7996.
    This removes support for the hook from fetch a classic script, fetch an external module script graph, and fetch an import() module script graph, since they were never called with custom steps.
    nicolo-ribaudo committed Oct 4, 2022
  2. Integrate Resize Observer and expand "update the rendering"

    This includes upstreaming the monkeypatch from the Resize Observer specification, which adds more detail to the "update the rendering" steps to include an explicit "Recalculate styles and update layout" step. This enables us to be clear that intersection observer integration and marking paint timing happens after that step.
    Fixes #8277.
    emilio committed Oct 4, 2022

Commits on Sep 28, 2022

  1. Replace "asynchronous completions" with a callback algorithm

    These were used in the script-fetching algorithms. Part of #7996.
    nicolo-ribaudo committed Sep 28, 2022
  2. Fix the link for HostResolveImportedModule

    Since we are using the version from the Import Assertions spec, instead of the main JavaScript spec, we should link to that version.
    Fixes #8262.
    gitcyco committed Sep 28, 2022

Commits on Sep 22, 2022

Commits on Sep 15, 2022

  1. Remove parse error for <template><tr></tr> </template>

    The spec would enable foster parenting for whitespace in template after seeing table-related markup and trigger a parse error. Whitespace in template should not be a parse error. This change should not affect the parsed tree structure, only the number of parse errors. Non-whitespace text will still go through foster parenting and is still a parse error.
    Fixes #7922.
    zcorpan committed Sep 15, 2022
  2. Make <body> not optional if first child is noscript

    The `noscript` element is allowed in `head` and therefore it will be inserted to the `head` element by the parser if the `<body>` tag is omitted and `<noscript>` is the first non-whitespace token after `</head>`. This changes the syntax requirements so that it's not allowed to omit the `<body>` tag in this case.
    Fixes #7737
    Co-authored-by: Simon Pieters <>
    tashasyarifah and zcorpan committed Sep 15, 2022

Commits on Sep 14, 2022

  1. Add navigator.userActivation

    This allows querying both sticky and transient user activation state.
    Fixes #4008. Closes #4009 by superseding it.
    See #1983 (which remains open) and for another related API proposal, for sending user activation state along with message events.
    Co-authored-by: Dave Tapuska <>
    mustaqahmed and dtapuska committed Sep 14, 2022

Commits on Sep 12, 2022

  1. Update EnumerableOwnPropertyNames → EnumerableOwnProperties

    This changed in the JavaScript specification in tc39/ecma262#2899.
    bakkot committed Sep 12, 2022

Commits on Sep 7, 2022

  1. Fix "webauthn" autocomplete token parsing

    Fix two bugs related to parsing the "webauthn" autocomplete token:
    * Prepend the second token to the IDL-exposed value when a "webauthn" token is found.
    * Reset the category after the "webauthn" token is found, otherwise parsing of "Contact" tokens is broken with a "webauthn" token.
    To do this, the steps that set a category and maximum number of tokens from a field are extracted into their own algorithm and called when starting parsing and after we find a "webauthn" tag.
    Fixes #8231.
    nsatragno committed Sep 7, 2022

Commits on Aug 30, 2022

  1. Revert most of "Add CanvasFilter objects as possible 2D context filters"

    It did not have implementer agreement after all.
    This reverts most of commit 5db6a65, keeping some of the editorial refactorings.
    Co-authored-by: Domenic Denicola <>
    annevk and domenic committed Aug 30, 2022

Commits on Aug 22, 2022

  1. Disallow adding private fields to Location and WindowProxy

    This uses the new HostEnsureCanAddPrivateElement host hook defined in the JavaScript specification to prevent using the super-override trick to add private fields to these host objects.
    Fixes #7952.
    mgaudet authored and domenic committed Aug 22, 2022

Commits on Aug 15, 2022

  1. Fix broken [OPENSEARCH] spec link

    See for a bit more information on the specification move.
    paulofreitas committed Aug 15, 2022

Commits on Aug 9, 2022

Commits on Jul 22, 2022

  1. Meta: remove

    domenic authored and annevk committed Jul 22, 2022

Commits on Jul 20, 2022

Commits on Jul 14, 2022

  1. Make about:srcdoc traversals use policy container from history

    This is the current behavior of Chrome, and is that of Firefox for CSP.
    Part of #6809.
    ArthurSonzogni committed Jul 14, 2022

Commits on Jul 13, 2022

  1. Add a focusVisible option to element.focus()

    Closes #7830.
    emilio committed Jul 13, 2022

Commits on Jul 8, 2022

  1. Remove unnecessary timestamp parameters in "update the rendering"

    These algorithms actually do not accept a timestamp, so it was incorrect to pass one. Closes #7193
    debanjana-a11y committed Jul 8, 2022
  2. Do not whitespace-strip <script>'s language="" attribute

    This matches implementations, which only whitespace-strip the type="" attribute.
    Closes #7923.
    hiroshige-g committed Jul 8, 2022

Commits on Jul 6, 2022

  1. Fix a few broken links to CSS specs from the event loop

    Notably, the unversioned web-animations URL seems to point to an unofficial draft that no longer contains the relevant definition.
    domenic authored and zcorpan committed Jul 6, 2022
  2. Editorial: use <iframe>, not <object>, for content-venn.svg

    Helps with #4592.
    domenic authored and zcorpan committed Jul 6, 2022

Commits on Jul 3, 2022

  1. Fix a hgroup subheading example

    This was missed in 6682bde.
    cadonau committed Jul 3, 2022
  2. Fix events index entry for securitypolicyviolation

    According to CSP, the interface for the securitypolicyviolation event is SecurityPolicyViolationEvent, not Event:
    dontcallmedom committed Jul 3, 2022

Commits on Jul 1, 2022

  1. Replace the outline algorithm with one based on heading levels

    Removes the idea of sectioning content influencing the document's outline. Instead, the outline is derived from all of the document's h1-h6 elements. (Sectioning content still plays a role in scoping header and footer elements.) This ensures that the outline generated by the outline algorithm, i.e. the document's semantics for authors, better aligns with the way screen reader users navigate through headings and the corresponding normative requirements for implementations in the HTML-AAM specification.
    Updates the hgroup element to have a new content model, to use p elements for related content such as subheadings, alternative titles, or taglines (instead of using heading elements for those).
    Updates all of the spec's examples to have proper outlines, according to the new outline algorithm. This includes preferring h2 to h1 in markup fragment cases, so as to better suggest that they are part of a larger document whose outline contains a h1.
    Closes #83. Closes #3499 by superseding it. Closes #6462 by updating hgroup's suggested usage instead of obsoleting it. See #7867 for potential followup work in avoiding sectioning content and hgroup influencing the style of h1-h6 elements.
    Co-authored-by: Anne van Kesteren <>
    Co-authored-by: Domenic Denicola <>
    3 people committed Jul 1, 2022

Commits on Jun 30, 2022

  1. Add import.meta.resolve()

    Closes #3871.
    domenic committed Jun 30, 2022

Commits on Jun 27, 2022

  1. Add note about last activation timestamp spanning navigations

    The comment to make the current behavior with bfcache more obvious, as mentioned in #6588. (This is just an additional note and doesn't actually change any behavior.)
    Closes #6588.
    rakina committed Jun 27, 2022