annevk/createimagebitmap-further-rewrite annevk/details-summary-shadow-tree annevk/heading-level annevk/module-scripts-and-credentials annevk/origin-clean-offscreencanvas annevk/redact-ancestororigins annevk/redo-document-open annevk/regsterprotocolhandler-cleanup annevk/remove-noopener annevk/remove-reload-override attr-ul-type br-wbr codepoints-for-maxlength copy-error-to-rethrow creator-document-wip dialog-removal-steps dialog-skip-focus disown domfarolino/style-sheet-done fetchgroup fix-209 idle-event-loop importScripts-mime input-range-order-dependence link-loading-clearer master more-js-url-fixes parallel-importscripts promises-for-everyone re-add-inert removeTextTrack report-error-inactive reportexception scripts-between-documents sideshowbarker/aria-spec-location-update sideshowbarker/audiotracklist-videotracklist-non-static-properties-fix sideshowbarker/multipage-search sideshowbarker/paint-timing-reference-add sideshowbarker/pre-code-children-drop-data-x sideshowbarker/spec-citations-cleanup sideshowbarker/syntax-highlighter-styles-dev-edition xhtml-named-charrefs-no-doctype xml-charset zcorpan/allowed-to-use-snapshot zcorpan/move-fingerprint-to-infra zcorpan/parse-srcset-rv zcorpan/webkit-appearance-fieldset-legend-auto
Nothing to show
Nothing to show
Commits on Sep 14, 2018
Commits on Sep 7, 2018
This was missed in #3999.
Commits on Sep 6, 2018
Commits on Sep 4, 2018
There is no longer anything fundamental that prevents document.open() from being useful on non-active documents. This also aligns with Chrome, Edge, and Safari. In fact, some developers already utilize this property as a streaming HTML parser to desirable effect (see #2827). Additionally, use a more appropriate guard for erasing event listeners and handlers on the Window object, as revealed by the tests. Fixes #2827. Tests: web-platform-tests/wpt#12636 Tests: web-platform-tests/wpt#12770
Commits on Aug 29, 2018
Commits on Aug 28, 2018
Commits on Aug 23, 2018
This effectively reverts parts of 8f2816a.
The current behavior of adding a new entry to the session history is removed, with the "replace" parameter behavior made the only option. To fix #3885, we now reuse history.replaceState()'s history model, which keeps the document's URL and the history entry URL in sync. At the same time, we restrict the history state update (including setting the document's URL) to be only run with fully active documents. Firefox already bails out for non-fully active documents (including those that are active documents), and it's not expected that there would be much usage of the URL of non-fully active documents anyway. This allows us to additionally remove the seldom implemented "replace" parameter in document.open(), whose behavior is now the default (aligning with with Chrome and Safari). The IDL is modified accordingly. Tests: web-platform-tests/wpt#12555 Tests: web-platform-tests/wpt#12634 Tests: web-platform-tests/wpt#12636 Tests: web-platform-tests/wpt#12650 Fixes #3564. Fixes #3885.
The resultant URL and history state update steps will be used in document.open().
Or: document.open() simplifications, part 1.9. This behavior is only implemented in Firefox and Edge and has contributed to developer confusion. See https://bugzilla.mozilla.org/show_bug.cgi?id=556002. This is a part of the effort to renovate document.open(). See #3818 for context. Tests: web-platform-tests/wpt#12555
Commits on Aug 16, 2018
In particular, removes the realm creation, document unloading, and tasks removal steps. Based on the work by Anne van Kesteren in #3651, but without the parts concerning the session history. Changes to that area will come later (see #3818). These changes allow us to remove several auxiliary concepts that only existed to support document.open(): - The recycle parameter to the "unload a Document" algorithm - The window parameter to the "set the active document" algorithm Tests: web-platform-tests/wpt#10773 Tests: web-platform-tests/wpt#10778 Tests: web-platform-tests/wpt#10815 Tests: web-platform-tests/wpt#10818 Fixes #1698. Fixes #3286. Fixes #3306. Closes #3665.
Commits on Aug 13, 2018
Commits on Aug 9, 2018
This change aligns the event listener removal behavior with implementations, specifically in two aspects: - The event handler's value should be set to null (i.e., deactivated). - Event listeners and handlers should be removed from the Window object as well. See prior investigation around deactivation of event handlers in #3836 and #3850. See investigation around document.open()'s behavior in #3818. Tests: web-platform-tests/wpt#12122
Commits on Aug 7, 2018
* Move the "When an event handler H of an EventTarget object T is first set to a non-null value" steps into a dedicated "activate an event handler" algorithm. Create a corresponding "deactivate an event handler" algorithm, called in the circumstances outlined in #3836, thereby fixing #3836. * Define "When an event handler content attribute is set" and "When an event handler content attribute is removed" steps rigorously using the attribute change steps hook in DOM. Care is taken to clarify certain edge cases, such as calling removeAttribute() on a nonexistent event handler content attribute but with a corresponding event handler IDL attribute defined, and calling setAttribute() an attribute with the same value as it currently possesses but with the event handler deactivated (exhibit B in #3836). * Formalize multiple definitions: * event handler as a struct containing a value and an event listener * location of event handlers and the concept of event handler target * rigorous set of steps on how to obtain the target of an event handler through the "determine the target of an event handler" algorithm. The latter algorithm supersedes the handwavy and inconsistently-applied "If an event handler IDL attribute exposes an event handler of an object that doesn't exist" steps. * storage of event handlers in the event handler map * More descriptive variable names: H → eventHandler, T → eventTarget, and E → event, in various algorithms. Tests: web-platform-tests/wpt#12201 Follow-up issue to improve clarity by breaking this up into smaller sections: #3861.
Commits on Jul 28, 2018
Commits on Jun 28, 2018
Also changes references to the method to include the argument names, to properly distinguish between the two overloads. Fixes #3565.
Commits on Jan 16, 2018
Commits on Jan 14, 2018
InitializeHostDefinedRealm() automatically enters the context after creating it. We can just get the context after that call rather than having to customize it.
Commits on Jan 4, 2018
Commits on Dec 19, 2017
Commits on Oct 2, 2017