Skip to content
Branch: master
Commits on Jul 2, 2020
  1. Meta: separate IPR and point to Review Drafts there

    annevk committed Jul 2, 2020
    Helps with whatwg/sg#124.
  2. Correct (schemelessly) same site example

    annevk committed Jul 1, 2020
    Missed in #5287. Fixes #5698.
Commits on Jun 30, 2020
  1. Fix more minor fallout from COOP

    annevk committed Jun 30, 2020
    Closes #5690.
Commits on Jun 29, 2020
  1. Align the final (hopefully) constructor with modern IDL

    annevk committed Jun 29, 2020
    Fixes #5685.
  2. Editorial: normalize verb tense in algorithm reference

    jugglinmike committed Jun 29, 2020
  3. Editorial: correct misspelled variable name

    jugglinmike committed Jun 29, 2020
  4. Use CSS-defined primitives for TextMetrics

    yiyix and annevk committed Jun 29, 2020
    And other font-related canvas settings.
    Closes #4073.
    Co-authored-by: Anne van Kesteren <>
  5. Meta: remove year from copyright line

    annevk committed Jun 24, 2020
    Helps with whatwg/sg#102.
Commits on Jun 26, 2020
  1. Rearrange "Scripting" and introduce the realm counterparts

    domenic committed Jun 26, 2020
    The Scripting section (under "Web application APIs") has grown
    organically, resulting in subpar ordering and too-deep nesting. This
    divides up the "Processing model" subsection into the following
    * Agents and agent clusters
    * Realms and their counterparts
    * Script processing model
    * JavaScript specification host hooks
    Additionally, new text is added to the "Realms and their counterparts"
    section, briefly explaining how concepts are associated with global
    objects, environment settings objects, and environments.
Commits on Jun 25, 2020
  1. Fix variable reference in "determine the origin"

    jugglinmike committed Jun 25, 2020
  2. Update COOP secure context checking

    domenic committed Jun 24, 2020
    Fixes #5669. This also fixes existing mismatched parameter passing to
    the "obtain a cross-origin opener policy" algorithm.
  3. Define "secure context"

    domenic committed Jun 19, 2020
  4. Add cross-origin embedder policy

    yutakahirano committed Jun 25, 2020
    Merges into HTML.
    Associated PRs:
    * whatwg/fetch#1030
    * w3c/ServiceWorker#1516
    * w3c/css-houdini-drafts#992
    Fixes #5368, fixes #5634, fixes
    whatwg/fetch#985, and fixes
    Follow-up: #4916, #4919, #4930 #5223, and #5391. (As well as defining
    cross-origin isolated, per #4732.)
  5. Editorial: introduce and use "queue a global task"

    domenic committed Jun 17, 2020
    Part of #4980.
  6. Editorial: make Form submission section unique

    annevk committed Jun 25, 2020
    Also give it both its old and logical ID. Helps with #5672.
  7. Meta: update links to execCommand

    marcoscaceres committed Jun 25, 2020
Commits on Jun 24, 2020
  1. Add cross-origin opener policy

    4 people committed Jun 24, 2020
    This commit adds the notion of cross-origin opener policy (COOP). COOP
    allows websites to restrict which origins they share their browsing
    context group with. annevk wrote a first draft of the behavior of COOP
    This takes that draft and merges it into the spec, with many updates
    along the way.
    Closes #3740. Closes #4580. Closes #4921. Closes #5172.
    Co-authored-by: clamy <>
    Co-authored-by: Anne van Kesteren <>
    Co-authored-by: Domenic Denicola <>
  2. Editorial: introduce browsing context's "active window"

    domenic committed Jun 24, 2020
    This abstracts away having to say "browsing context's WindowProxy
    object's [[Window]] internal slot value", and replaces a few imprecise
    instances of "browsing context's Window object".
Commits on Jun 23, 2020
  1. Check for null in "fetch a modulepreload module script graph"

    dandclark committed Jun 23, 2020
    You can't "fetch the descendants of and link" null.
Commits on Jun 18, 2020
  1. Editorial: use dotted JavaScript intrinsics form

    ljharb committed Jun 18, 2020
    Follows tc39/ecma262#1376, and prevents problems
    in the future when the non-dotted forms are deleted.
  2. Meta: export "unordered set of unique space-separated tokens"

    marcoscaceres committed Jun 18, 2020
Commits on Jun 15, 2020
  1. Remove notest about executing scripts that have moved documents

    domfarolino committed Jun 15, 2020
    This remove notes pointing to #2137, and thus closes #2137. We'll proceed with
    preventing scripts from executing if they've moved between documents, as this is
    now shipping in two engines.
Commits on Jun 10, 2020
  1. Add inputmode="" to a note on type="number"

    hannalaakso committed Jun 10, 2020
Commits on Jun 8, 2020
  1. Meta: include partial interface links in the source

    domenic committed Jun 8, 2020
    These were generated by a postprocessing step, but that was removed:
    whatwg/html-build#235. Since this is a one-time
    cost it doesn't make sense to invoke a fragile script for it every
Commits on Jun 5, 2020
  1. Redo top-level origin and add top-level creation URL

    shivanigithub and annevk committed Jun 5, 2020
    An environment's top-level origin is null during the initial top-level navigation (before the response arrives) and otherwise represents the origin of the top-level document. It is currently implementation-defined for non-dedicated workers, but hopefully that can be sorted soon.
    An environment's top-level creation URL is the URL of the top-level document. It is null for workers as they do not need the concept.
    Needed for whatwg/fetch#943 and #5558.
    Co-authored-by: Anne van Kesteren <>
  2. Align remaining classes with new IDL constructor syntax

    annevk authored and domenic committed Jun 5, 2020
    Closes #5189.
  3. Change request destinations of nested navigations

    mikewest committed Jun 5, 2020
    Currently, top-level and nested navigations use a request destination of "document". This splits that into "document" (top-level) and "embed", "frame", "iframe", and "object" (nested).
    It also makes embed/object use "navigate" as their request mode.
    This complements whatwg/fetch#948 (which links relevant tests).
Commits on Jun 4, 2020
  1. Editorial: fix missing words in modulepreload example

    schalkneethling committed Jun 4, 2020
  2. Add notes explaining how <dialog>.showModal() focuses

    domenic authored and annevk committed May 11, 2020
    It was unclear how the "focus fixup rule" came into play, since that
    rule is done using action at a distance. This inserts notes explicitly
    calling out what happens.
    See web-platform-tests/wpt#23485 for background.
Commits on Jun 3, 2020
  1. Add browsing session as open issue

    annevk committed Jun 3, 2020
    Having a central point to acknowledge its non-existence will hopefully provide some clarity for #5560 and other changes.
  2. Expose Worker and SharedWorker less

    annevk committed Jun 3, 2020
Commits on Jun 2, 2020
  1. Simplify lazy load conditions and make them more explicit

    domfarolino committed Jun 2, 2020
    * Removes the ready to be lazy loaded flag, in favor of the lazy load
      resumption steps
    * Clears and invokes the lazy load resumption steps from the lazy load
      IntersectionObserver callback
    * Clears and invokes the lazy load resumption steps when the img's lazy
      load attribute is set to the Eager state
    * Removes the unnecessary in-parallel and task-posting machinery from
      updating the image data, in favor of setting the lazy load resumption
      steps and early-returning
    Notably, this fixes a bug in the spec where it was impossible to lazy
    load an image more than once.
  2. Editorial: refactor innerText

    annevk committed May 30, 2020
  3. Editorial: refactor designMode

    annevk committed May 30, 2020
Commits on Jun 1, 2020
  1. Fix sandboxing flags handling in browsing context creation

    domenic committed May 29, 2020
    Previously, the algorithm for "determine the sandbox flags" would try to
    use whether or not the given browsing context was a child browsing
    context, or whether it was an iframe element's nested browsing context.
    However, when this algorithm was called during browsing context
    creation, the appropriate relationships were not set up yet, so these
    conditions would always be false.
    This splits the algorithm into two, one for during creation which
    accepts an embedder argument indicating the destination container, and
    one for post-creation.
You can’t perform that action at this time.