Skip to content
Permalink
main

Commits on Jun 17, 2021

  1. Fix "has focus steps" TLBC reference

    Closes #6703.
    Patil2099 committed Jun 17, 2021
  2. Editorial: clean up origin-passing in navigation

    * "Determining the origin" was never called for javascript: URLs, so it didn't need to be passed activeDocumentNavigationOrigin.
    
    * We were inconsistent about whether we'd thread through activeDocumentNavigationOrigin from the beginning of the navigation, or just consult browsingContext's active document's origin. Settle on the latter style, as it means we have to thread through fewer variables. There is no risk of races since only one navigation can affect a given (target) browsing context so its active document and origin will remain constant throughout.
    domenic committed Jun 17, 2021
  3. Disallow print() during unload/beforeunload

    Closes #2683.
    domenic committed Jun 17, 2021
  4. Specify window.clientInformation

    Closes #2379.
    domenic committed Jun 17, 2021
  5. Editorial: omit developer-only content from snapshots too

    Previously we were only using w-nohtml="", which omits the content from the singlepage and multipage editions, but fails to omit it from commit snapshots. Now, as appropriate, every for-developers-only piece of content is marked up with w-dev="", ensuring it *only* shows up in the developers edition.
    domenic committed Jun 17, 2021
  6. Fix wrong variable name in "queue a microtask"

    Closes #6742.
    domenic authored and annevk committed Jun 17, 2021

Commits on Jun 16, 2021

  1. Meta: mark up a variety of IDL constructs as such

    This focuses on constructs whose IDs are prefixed with "dom-".
    dontcallmedom committed Jun 16, 2021

Commits on Jun 15, 2021

  1. Fail early for indexed property names in WindowProxy's [[Set]]

    This matches all implementations.
    shvaikalesh committed Jun 15, 2021

Commits on Jun 9, 2021

  1. Meta: mark up definitions of selectors as such

    As discussed in #4433, even though they are not exported, it's still reasonable to mark them up.
    dontcallmedom committed Jun 9, 2021

Commits on May 31, 2021

  1. Move referrer policy into policy container

    This change moves referrer policy from Document/WorkerGlobalScope into policy container. This allows us to simplify several steps (initializing for new empty documents, populating from the response headers, inheriting for local scheme documents), since they are handled centrally via the policy container mechanisms.
    
    Companion PRs:
    * whatwg/fetch#1233
    * w3c/ServiceWorker#1593 (removes referrer policy from service workers as that comes for free with policy container)
    * w3c/webappsec-referrer-policy#152
    
    The change is mostly a refactoring and should have no significant behavioral changes, apart from simplifying the referrer policy inheritance mechanism. The most visible behavioral change of this is that referrer policy of a srcdoc iframe will be now copied from the parent document at creation time instead of referencing the parent document referrer policy.
    antosart committed May 31, 2021

Commits on May 26, 2021

  1. Fixes to stopping document loading

    * Makes the discussion of user agent interface invoke "stop document loading", not "abort a document", since the browser stop button also cancels ongoing navigations.
    
    * Remove the "should" suggestion to fire an abort event. Closes #3525. Since this was the only case where abort was fired, this removes the event definition and event handler content attribute definition, effectively making use of the onabort="" content attribute nonconforming. (But, we keep the IDL definition in GlobalEventHandlers and the associated mapping.)
    
    * Tweaks the active document check in "stop document loading" to be more correct.
    domenic committed May 26, 2021

Commits on May 21, 2021

  1. Meta: do not export incumbent settings object

    This will discourage people from using it, helping with #1430. Closes #4229 by superseding it. Note that entry is already non-exported.
    domenic authored and annevk committed May 21, 2021

Commits on May 20, 2021

  1. Change the textarea wrapping algorithm to normalize to LF

    Complements #6287 and #6624. See also #6662 for further cleanup on the textarea data model.
    
    Fixes #6647.
    andreubotella committed May 20, 2021
  2. Remove newline normalization in construct the entry list

    As of #6287 newlines are normalized when form data is serialized. This removes the (mostly redundant) normalization in constructing the entry list.
    
    Tests: web-platform-tests/wpt#28798.
    
    Follow-up: #6697.
    
    Fixes #6469.
    annevk committed May 20, 2021
  3. Add newline normalization to form payloads

    User agents normalize newlines when serializing form data to text/plain, application/x-www-form-urlencoded, and multipart/form-data. (This can be observed through FormData or the formdata event.)
    
    This additionally changes the input passed to the application/x-www-form-urlencoded and text/plain serializers to be a
    list of name-value pairs, where the values are always strings rather than potentially File objects.
    
    Tests: web-platform-tests/wpt#26740.
    
    Follow-up: #6624 & #6697.
    
    Closes #6247. Helps with whatwg/url#562.
    andreubotella committed May 20, 2021

Commits on May 18, 2021

  1. Meta: export "system focus"

    mfalken committed May 18, 2021

Commits on May 12, 2021

  1. Support zero dimension values for aspect-ratio

    Also map <canvas width height> to aspect-ratio consistently with how the attributes are parsed and clean up some wording.
    
    Tests: web-platform-tests/wpt#28229 & web-platform-tests/wpt#28932.
    
    Follow-up: #6528.
    
    Closes #4961 and closes #6527.
    annevk committed May 12, 2021

Commits on May 11, 2021

  1. Correct reset the rendering context

    6efd0e6 addressed #5771 incorrectly. The current default path should not be part of the drawing state, but should be cleared when resetting the rendering context.
    
    (Also remove some older ideas from the source.)
    
    Closes #5618 and fixes #5771.
    annevk committed May 11, 2021
  2. Add CSP initialization check for workers

    This is a companion to w3c/webappsec-csp#493. That PR requires calling the check for blocking workers which try to enforce sandboxing via CSP directly from HTML.
    antosart committed May 11, 2021
  3. Snapshot policy container on navigation requests

    Together with a companion change to CSP (w3c/webappsec-csp#482), this enables checking policies consistently during the navigation, fixing whatwg/fetch#832 for navigation requests.
    antosart committed May 11, 2021

Commits on May 10, 2021

  1. Tweak "is unloading" in navigation

    This replaces vague text about "if the prompt to unload algorithm is being run" and the like for "unload" with an explicit check of the "unload counter". The "unload counter" is a rename of the "ignore-opens-during-unload counter", which was already used for similar explicit checks in document.open().
    
    This results in the same check being done everywhere, which appears to match at least some implementations better. Previously, for example, "traverse the history by a delta" did not check for beforeunload, only unload.
    domenic committed May 10, 2021
Older