Skip to content

Commits

Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 26, 2023

Commits on May 22, 2023

  1. Editorial: split attachShadow element list into separate definition (#…

    …1200)
    
    * Split attachShadow element list into separate definition so it can be referenced from EditContext spec
    
    * Stray newline
    
    * Change to `valid shadow host name`
    
    Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
    
    * Update name in other location
    
    * Export the new `<dfn>`.
    
    Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
    
    * nits
    
    ---------
    
    Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
    dandclark and annevk committed May 22, 2023

Commits on May 17, 2023

  1. Add AbortSignal.any()

    - This implements an optimization that puts all children on
      non-dependent signals (i.e., those associated with a controller).
      This allows "intermediate" nodes (e.g., B in A follows B follows C)
      to be garbage collected if they are being kept alive to propagate
      aborts.
    
    - This removes the follow algorithm, so callsites will need to be
      updated.
    
    - The "create a composite abort signal" algorithm takes an interface so
      that TaskSignal.any() can easily hook into it, but create a 
      TaskSignal.
    
    - Some algorithms that invoke "follow" create an AbortSignal in a 
      particular realm. This enables doing that, but borrows some language 
      from elsewhere in the spec w.r.t. doing the default thing. Neither of
      the other two static members specify a realm.
    
    Follow-up PRs:
    
    - whatwg/fetch#1646
    - w3c/ServiceWorker#1678
    - whatwg/streams#1277
    
    This also sets the stage to make AbortSignal's "signal abort" fully 
    internal. #1194 tracks the remainder.
    
    Tests: web-platform-tests/wpt#37434 and web-platform-tests/wpt#39785.
    
    Fixes #920.
    shaseley committed May 17, 2023

Commits on Mar 31, 2023

  1. Define a document's node document

    Fixes #1178.
    jyasskin committed Mar 31, 2023

Commits on Mar 22, 2023

  1. Editorial: an HTMLCollection

    Also always include for=tree for ancestors, descendants, and parents.
    annevk committed Mar 22, 2023

Commits on Feb 22, 2023

  1. Editorial: minor reflect cleanup

    Stop exporting it as per discussion in whatwg/html#8575.
    annevk committed Feb 22, 2023

Commits on Feb 20, 2023

  1. Correct MutationObserver ownership story

    The existing design had some leaks and was also different from implementations. In particular, assume you have two mutation observers and a change triggered the first one as well as a slot change. Then if in the reaction to the first one a further change triggers the second one it would run before the slot change per the existing specification, but that didn't match implementations and more importantly didn't allow for garbage collection.
    
    Test: https://github.com/web-platform-tests/wpt/blob/master/shadow-dom/slotchange-event.html#L540-L594.
    
    Fixes #713. Fixes #1159. Closes #720.
    annevk committed Feb 20, 2023

Commits on Feb 6, 2023

  1. Editorial: remove reference to time origin

    Closes #1149.
    annevk committed Feb 6, 2023

Commits on Jan 16, 2023

  1. Editorial: address issues due to Bikeshed using Reffy

    Marked as "Editorial" due to minor wording tweaks here and there.
    annevk committed Jan 16, 2023

Commits on Dec 19, 2022

Commits on Dec 15, 2022

  1. Editorial: add some <div algorithm> wrappers

    And improve the algorithm "headers" at the same time by listing the argument types and default values.
    annevk committed Dec 15, 2022

Commits on Dec 13, 2022

Commits on Nov 24, 2022

  1. Editorial: update Selectors integration

    Also correct createContextualFragment() link.
    
    Fixes #1130.
    annevk committed Nov 24, 2022

Commits on Oct 26, 2022

  1. Meta: my employer changed

    annevk committed Oct 26, 2022

Commits on Oct 4, 2022

  1. Meta: define slotchange event

    Following discussions in whatwg/html#8340, the events index in the HTML spec will be restricted to event types that gets fired within the HTML spec. The slotchange event will be dropped as a result.
    dontcallmedom committed Oct 4, 2022

Commits on Aug 25, 2022

Commits on Jun 30, 2022

Commits on Jun 20, 2022

Commits on Jun 9, 2022

  1. Editorial: add missing dot for concept-node-remove's first step

    annevk said "that's not great" out loud. Twice!
    mozfreddyb committed Jun 9, 2022

Commits on Mar 22, 2022

  1. Editorial: correct extracting reference

    Fixes #1065.
    annevk committed Mar 22, 2022

Commits on Feb 8, 2022

  1. Limit AbortSignal.timeout to Window and Worker

    Worklets are designed with minimal event loops such that they need only run a single task and corresponding microtasks, making APIs that schedule additional tasks unsuitable for worklets. As such, we restrict the availability of AbortSignal.timeout to Window and Worker since the API schedules a task to implement the timeout.
    
    Closes #1054.
    shaseley committed Feb 8, 2022

Commits on Feb 2, 2022

  1. Introduce AbortSignal.timeout()

    Closes #951.
    domenic committed Feb 2, 2022

Commits on Dec 20, 2021

Commits on Dec 10, 2021

Commits on Dec 6, 2021

  1. Aborting: clarify usage for non-promise APIs

    Also clean up some remaining instances that didn't use signal.reason.
    
    Closes #961.
    annevk committed Dec 6, 2021

Commits on Nov 29, 2021

  1. Editorial: update some links

    Closes #1036.
    annevk committed Nov 29, 2021

Commits on Nov 8, 2021

  1. Add abort reason to AbortSignal

    See whatwg/streams#1165 (comment) for additional context.
    
    Tests: #1027.
    
    Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
    nidhijaju and annevk committed Nov 8, 2021
Older