Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23e2202805b791dc056c8d7f39fd064324591fd2
      
https://github.com/WebKit/WebKit/commit/23e2202805b791dc056c8d7f39fd064324591fd2
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M LayoutTests/animations/animation-set-effect.html
    M 
LayoutTests/compositing/scrolling/async-overflow-scrolling/disconnected-frame-is-loaded.html
    M LayoutTests/editing/deleting/delete-node-after-DOMNodeRemoved.html
    M LayoutTests/editing/deleting/insert-in-orphaned-selection-crash.html
    M LayoutTests/editing/execCommand/5120591.html
    M 
LayoutTests/editing/execCommand/editing-command-while-executing-typing-command-crash.html
    M 
LayoutTests/editing/execCommand/font-size-delta-same-node-for-start-and-end-crash.html
    M LayoutTests/editing/execCommand/insert-ordered-list-crash.html
    M 
LayoutTests/editing/execCommand/insert-unordered-list-after-DOMNodeRemoved.html
    M LayoutTests/editing/execCommand/insertHTML-mutation-crash.html
    M LayoutTests/editing/inserting/delete-insignificant-text-crash.html
    M LayoutTests/editing/inserting/insert-html-crash.html
    M LayoutTests/editing/inserting/insert-list-during-node-removal-crash.html
    M LayoutTests/editing/inserting/insert-paragraph-separator-crash.html
    M 
LayoutTests/editing/inserting/insert-paragraph-separator-with-html-elements-crash.html
    M LayoutTests/editing/inserting/insert-with-mutation-event.html
    M LayoutTests/editing/pasteboard/drag-and-drop-image-contenteditable.html
    M 
LayoutTests/editing/pasteboard/drag-and-drop-inputimage-contenteditable.html
    M 
LayoutTests/editing/pasteboard/drag-and-drop-objectimage-contenteditable.html
    M LayoutTests/editing/selection/crash-on-drag-with-mutation-events.html
    M 
LayoutTests/editing/selection/selection-change-in-mutation-event-by-remove-children.html
    M LayoutTests/editing/style/apply-style-crash3.html
    M LayoutTests/editing/style/apply-style-join-child-text-nodes-crash.html
    M LayoutTests/editing/style/apply-style-split-text-element-at-end-crash.html
    M LayoutTests/editing/style/bold-with-dom-changes.html
    M 
LayoutTests/editing/text-placeholder/insert-into-content-editable-and-remove-via-mutation-event.html
    M LayoutTests/editing/undo/undo-after-event-edited.html
    M 
LayoutTests/editing/undo/undo-with-disconnected-editable-element-crash.html
    M LayoutTests/fast/css/style-update-timer-crash.html
    M 
LayoutTests/fast/dom/Attr/make-unique-element-data-while-replacing-attr.html
    M LayoutTests/fast/dom/Document/title-property-set-with-dom-event-svg.html
    M LayoutTests/fast/dom/Document/title-property-set-with-dom-event.html
    M LayoutTests/fast/dom/Element/mozilla-dom-base-tests/test_bug339494.html
    M LayoutTests/fast/dom/Element/mozilla-dom-base-tests/test_bug364092.xhtml
    M LayoutTests/fast/dom/Element/normalize-crash.html
    M LayoutTests/fast/dom/HTMLElement/set-inner-outer-optimization.html
    M 
LayoutTests/fast/dom/HTMLImageElement/constructor-mutation-event-dispatch.html
    M 
LayoutTests/fast/dom/HTMLInputElement/input-value-and-type-change-crash.html
    M LayoutTests/fast/dom/HTMLSelectElement/option-add-crash.html
    M LayoutTests/fast/dom/MutationObserver/added-out-of-order.html
    M LayoutTests/fast/dom/MutationObserver/observe-attributes.html
    M LayoutTests/fast/dom/MutationObserver/observe-characterdata.html
    M LayoutTests/fast/dom/MutationObserver/removed-out-of-order.html
    M LayoutTests/fast/dom/Node/DOMNodeRemovedEvent.html
    M LayoutTests/fast/dom/Node/appendChild-no-op-mutationobserver.html
    M LayoutTests/fast/dom/Node/fragment-mutation.html
    M LayoutTests/fast/dom/Node/insertBefore-no-op-mutationobserver.html
    M LayoutTests/fast/dom/Node/normalize-mutation-event.html
    M LayoutTests/fast/dom/Node/textContent-mutationEvents.html
    M LayoutTests/fast/dom/Range/detach-range-during-deletecontents.html
    M LayoutTests/fast/dom/Range/range-commonroot-notfound.html
    M LayoutTests/fast/dom/Range/range-created-during-remove-children.html
    M LayoutTests/fast/dom/Range/range-created-in-mutation-event-crash.xhtml
    M LayoutTests/fast/dom/Range/range-delete-contents-event-fire-crash.html
    M LayoutTests/fast/dom/Range/range-delete-contents-mutation-event-crash.html
    M LayoutTests/fast/dom/Range/range-extract-contents-event-fire-crash.html
    M LayoutTests/fast/dom/Range/range-extract-contents-event-fire-crash2.html
    M LayoutTests/fast/dom/Range/range-extractContents.html
    M LayoutTests/fast/dom/Range/range-insertNode-assertion.html
    M LayoutTests/fast/dom/Range/remove-twice-crash.html
    M LayoutTests/fast/dom/Range/split-text-in-range.html
    M LayoutTests/fast/dom/Window/get-set-properties-expected.txt
    M LayoutTests/fast/dom/Window/get-set-properties.html
    M LayoutTests/fast/dom/Window/resources/window-properties.js
    M LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
    M 
LayoutTests/fast/dom/add-document-child-and-reparent-old-child-during-document-child-replacement.html
    M 
LayoutTests/fast/dom/add-document-child-during-document-child-replacement.html
    M LayoutTests/fast/dom/adopt-node-crash.html
    M 
LayoutTests/fast/dom/append-child-with-mutation-event-removal-and-circular-insertion.html
    M 
LayoutTests/fast/dom/append-child-with-mutation-event-removal-and-circular-shadow-insertion.html
    M 
LayoutTests/fast/dom/append-child-with-mutation-event-removal-and-circular-template-insertion.html
    M LayoutTests/fast/dom/attribute-set-before-element-in-tree.html
    M LayoutTests/fast/dom/circular-dom-tree-crash.html
    M LayoutTests/fast/dom/class-attr-change-double-mutation-fire.html
    M LayoutTests/fast/dom/cloneNode-below-body-attribute-merging.html
    M LayoutTests/fast/dom/containerNode.html
    M LayoutTests/fast/dom/crash-moving-subtree-between-documents.html
    M LayoutTests/fast/dom/document-set-title-mutation-crash.html
    M LayoutTests/fast/dom/dom-constructors-expected.txt
    M LayoutTests/fast/dom/dom-constructors.html
    M LayoutTests/fast/dom/dom-method-document-change.html
    M 
LayoutTests/fast/dom/element-clearing-display-contents-on-node-removal.html
    M LayoutTests/fast/dom/getElementById-consistency.html
    M LayoutTests/fast/dom/getElementById-consistency2.html
    M LayoutTests/fast/dom/getElementById-consistency3.html
    M LayoutTests/fast/dom/getElementById-consistency4.html
    M LayoutTests/fast/dom/getElementById-consistency5.html
    M LayoutTests/fast/dom/innerHTML-single-text-node.html
    M 
LayoutTests/fast/dom/insert-child-with-mutation-event-removal-and-circular-insertion.html
    M 
LayoutTests/fast/dom/insert-child-with-mutation-event-removal-and-circular-shadow-insertion.html
    M 
LayoutTests/fast/dom/insert-child-with-mutation-event-removal-and-circular-template-insertion.html
    M 
LayoutTests/fast/dom/insert-new-child-to-remove-during-mutation-events-crash.html
    M LayoutTests/fast/dom/insertBefore-refChild-crash.html
    M LayoutTests/fast/dom/insertedIntoDocument-child.html
    M LayoutTests/fast/dom/insertedIntoDocument-sibling.html
    M LayoutTests/fast/dom/move-embedded-during-update.html
    M LayoutTests/fast/dom/move-nodes-across-documents.html
    M LayoutTests/fast/dom/mutation-details-focus.html
    M 
LayoutTests/fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html
    M LayoutTests/fast/dom/mutation-event-remove-inserted-node.html
    M LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html
    M LayoutTests/fast/dom/object-computed-style-event.html
    M LayoutTests/fast/dom/option-text-mutation-crash.html
    M LayoutTests/fast/dom/rangeDeleteContents-crash.html
    M LayoutTests/fast/dom/remove-body-during-body-replacement.html
    M LayoutTests/fast/dom/remove-body-during-body-replacement2.html
    M LayoutTests/fast/dom/remove-body-during-title-creation.html
    M 
LayoutTests/fast/dom/remove-element-with-id-that-was-inserted-on-DOMNodeRemoved.html
    M 
LayoutTests/fast/dom/remove-element-with-name-that-was-inserted-on-DOMNodeRemoved.html
    M 
LayoutTests/fast/dom/replace-child-with-mutation-event-removal-and-circular-insertion.html
    M 
LayoutTests/fast/dom/replace-child-with-mutation-event-removal-and-circular-shadow-insertion.html
    M 
LayoutTests/fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion.html
    M LayoutTests/fast/dom/set-attribute-and-normalize-in-event.html
    M LayoutTests/fast/dom/subtree-modified-attributes.html
    M LayoutTests/fast/dom/text-node-append-data-remove-crash.html
    M LayoutTests/fast/dom/xml-parser-error-message-crash.svg
    M LayoutTests/fast/editing/recursive-reapply-edit-command-crash.html
    M LayoutTests/fast/editing/recursive-unapply-edit-command-crash.html
    M LayoutTests/fast/events/attribute-listener-deletion-crash.html
    M LayoutTests/fast/events/crash-on-mutate-during-drop.html
    M LayoutTests/fast/events/dom-character-data-modified-textarea-crash.html
    M 
LayoutTests/fast/events/domnodeinsertedintodocument-dispatched-post-rendering.html
    M LayoutTests/fast/events/event-listener-moving-documents.html
    M LayoutTests/fast/events/event-listener-on-link.html
    M LayoutTests/fast/events/mutation-during-append-child.html
    M LayoutTests/fast/events/mutation-during-insert-before.html
    M LayoutTests/fast/events/mutation-during-replace-child-2.html
    M LayoutTests/fast/events/mutation-during-replace-child.html
    M LayoutTests/fast/events/mutation-in-DOMCharacterDataModified.html
    M LayoutTests/fast/events/nested-event-remove-node-crash.html
    M LayoutTests/fast/events/scoped/editing-commands.html
    M LayoutTests/fast/forms/add-and-remove-option.html
    M LayoutTests/fast/forms/add-remove-option-modification-event.html
    M LayoutTests/fast/forms/mutation-event-recalc.html
    M LayoutTests/fast/forms/select-set-length-with-mutation-remove.html
    M LayoutTests/fast/forms/select-set-length-with-mutation-reorder.html
    M LayoutTests/fast/forms/select-set-length-with-mutation-reparent.html
    M LayoutTests/fast/forms/select-set-length-with-mutation.html
    M LayoutTests/fast/forms/textarea-and-mutation-events-appending-text.html
    M LayoutTests/fast/forms/textarea-and-mutation-events.html
    M LayoutTests/fast/frames/iframe-onload-and-domnodeinserted.html
    M LayoutTests/fast/frames/restoring-page-cache-should-not-run-scripts.html
    M LayoutTests/fast/html/details-set-inner-text-crash.html
    M LayoutTests/fast/html/form-mutate.html
    M LayoutTests/fast/html/parent-less-source-crash-type-change.html
    M LayoutTests/fast/images/imageDocument-appendBytes-crash.html
    M LayoutTests/fast/loader/subresource-load-failed-crash.html
    M LayoutTests/fast/parser/legacy-select-parsing.html
    M LayoutTests/fast/parser/nested-fragment-parser-crash.html
    M LayoutTests/fast/parser/xhtml-dom-character-data-modified-crash.html
    M 
LayoutTests/fast/parser/xml-parser-stop-parsing-during-subtree-modified-crash.xhtml
    M LayoutTests/fast/rendering/render-multi-column-set-invalidate-crash.html
    M 
LayoutTests/fast/rendering/widget-removal-in-render-tree-builder-crash.html
    M LayoutTests/fast/shadow-dom/mutation-event-in-shadow-tree.html
    M LayoutTests/fast/shadow-dom/shadow-root-active-element-crash.html
    M LayoutTests/fast/shadow-dom/svg-mpath-removed-from-ancestor-crash.html
    M LayoutTests/fast/svg/mutual-recursion-test.html
    M LayoutTests/fast/text/first-letter-with-columns-crash.html
    M 
LayoutTests/fast/text/line-break-after-whitespace-create-display-content-crash.html
    M LayoutTests/fast/text/split-text-crash.xhtml
    M 
LayoutTests/fast/text/splitText-crash-during-tear-down-renderers-after-slot-change.html
    M LayoutTests/fonts/font-cache-memory-pressure-crash.html
    M LayoutTests/http/tests/security/cross-frame-access-put-expected.txt
    M LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-abort.html
    M LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html
    M LayoutTests/imported/blink/editing/deleting/delete-key-crash.html
    M LayoutTests/imported/blink/editing/execCommand/crash-inserting-list.html
    M LayoutTests/imported/blink/editing/execCommand/indent-button-crash.html
    M 
LayoutTests/imported/blink/editing/selection/selection-forces-unrooted-repaint.html
    M LayoutTests/imported/blink/fast/css/button-inner-child-crash.html
    M 
LayoutTests/imported/blink/fast/css/first-letter-associated-text-node-crash.html
    M LayoutTests/imported/blink/fast/css/first-letter-range-insert.html
    M 
LayoutTests/imported/blink/fast/dom/HTMLBodyElement/body-inserting-iframe-crash.html
    M LayoutTests/inspector/dom/dom-remove-events.html
    M LayoutTests/inspector/dom/remove-multiple-nodes.html
    M LayoutTests/media/video-controls-with-mutation-event-handler.html
    M 
LayoutTests/platform/glib/fast/dom/Window/window-lookup-precedence-expected.txt
    M 
LayoutTests/platform/mac-wk2/fast/dom/Window/window-lookup-precedence-expected.txt
    M LayoutTests/svg/custom/change-id-of-use-during-removal.html
    M LayoutTests/svg/custom/path-domsubtreemodified-crash.html
    M LayoutTests/svg/custom/text-tref-03-b-change-href-dom.svg
    M LayoutTests/svg/custom/text-tref-03-b-change-href.svg
    M LayoutTests/svg/custom/textPath-set-id.svg
    M LayoutTests/svg/custom/tref-nested-events-crash.svg
    M LayoutTests/svg/custom/tref-remove-target-crash.svg
    M LayoutTests/svg/custom/use-mutation-event-crash.svg
    M 
LayoutTests/svg/dom/mutate-symbol-subtree-referenced-by-use-during-execCommand.html
    M LayoutTests/svg/dom/svg-use-infinite-loop-cloning.html
    M LayoutTests/svg/dom/update-svg-use-shadow-tree-with-execCommand.html
    M LayoutTests/svg/foreignObject/text-tref-02-b.svg
    M LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html
    M LayoutTests/svg/use-element-updateUserAgentShadowTree-crash.html
    M LayoutTests/userscripts/window-onerror-for-isolated-world-1.html
    M LayoutTests/userscripts/window-onerror-for-isolated-world-2.html
    M LayoutTests/webanimations/css-animation-update-without-an-effect.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
    M Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.mm
    M Tools/TestRunnerShared/TestFeatures.cpp

  Log Message:
  -----------
  Disable mutation events by default in layout tests
https://bugs.webkit.org/show_bug.cgi?id=325358

Reviewed by Antoine Quint.

MutationEventsEnabled was a testable preference, so our test runners enabled it
even though Safari ships with it disabled. Make it an embedder preference and
have its default treat the test runners like Safari. Tests that exist to
exercise mutation events now opt in with MutationEventsEnabled=true, and the
web-platform-tests special case in TestFeatures.cpp can go.

The four <tref> tests opt in as well, because <tref> depends on mutation
events, see bug 325357.

fast/parser/legacy-select-parsing.html now also turns off 
HTMLEnhancedSelectEnabled,
as enhanced select without enhanced parsing is not a supported configuration.

Tests that assumed MutationEvent is exposed on window are updated accordingly.

Canonical link: https://commits.webkit.org/321993@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to