[wpt-sync] Sync PR 62368 - Omit firing change events synchronously on removal
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62368 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62368
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Omit firing change events synchronously on removal
This is still under the same OmitBlurEventOnElementRemoval flag, as
those events are fired together with blur/focusout events.Also use an enum instead of a boolean for this behavior.
Bug: 41484175
Change-Id: Ib7e6d9c0b3f4b10e20e30328674ab8af1832de37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8313948
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1692334}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 21 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 21[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[GitHub] 17[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 17
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /dom/nodes/insertion-removing-steps/Node-append-meta-referrer-and-script-from-fragment.html [wpt.fyi]
- <meta name=referrer> gets processed and applied in the post-insertion steps:
FAIL
- <meta name=referrer> gets processed and applied in the post-insertion steps:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-default-style-meta-from-fragment.html [wpt.fyi]
- Inserting <meta> that uses alternate stylesheets, applies the style during DOM post-insertion steps:
FAIL
- Inserting <meta> that uses alternate stylesheets, applies the style during DOM post-insertion steps:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-iframe.html [wpt.fyi]
- A script inserted atomically before an iframe (using a div) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
FAIL - A script inserted atomically before an iframe (using a DocumentFragment) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
FAIL - A script inserted atomically before an iframe (using a append() with multiple arguments) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
FAIL
- A script inserted atomically before an iframe (using a div) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-style.html [wpt.fyi]
- An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied:
FAIL - An earlier-inserted <script> synchronously observes a later-inserted <style> (via a DocumentFragment) being applied:
FAIL - Earlier-inserted <script> (via a DocumentFragment) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation:
FAIL - Earlier-inserted <script> (via a div) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation:
FAIL - Earlier-inserted <script> (via a append()) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation:
FAIL
- An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-in-script.html [wpt.fyi]
- An outer script whose preparation/execution gets triggered by the insertion of a 'nested'/'inner' script, executes before the inner script executes:
FAIL
- An outer script whose preparation/execution gets triggered by the insertion of a 'nested'/'inner' script, executes before the inner script executes:
- /dom/nodes/insertion-removing-steps/insertion-removing-steps-iframe.window.html [wpt.fyi]
- Insertion steps: load event fires synchronously after iframe DOM insertion, as part of the iframe element's insertion steps:
FAIL - Removing steps (innerHTML): script does not run synchronously during iframe destruction:
FAIL - Removing steps (replaceChildren): script does not run synchronously during iframe destruction:
FAIL - Removing steps (remove): script does not run synchronously during iframe destruction:
FAIL
- Insertion steps: load event fires synchronously after iframe DOM insertion, as part of the iframe element's insertion steps:
- /dom/nodes/insertion-removing-steps/later-script-removed-by-earlier-script.html [wpt.fyi]
- A later-inserted script removed by an earlier-inserted script in the same document fragment should not run:
FAIL - A later-inserted script removed by an earlier-inserted script in the same append() call should not run:
FAIL
- A later-inserted script removed by an earlier-inserted script in the same document fragment should not run:
Comment 3•2 months ago
|
||
| bugherder | ||
Description
•