[wpt-sync] Sync PR 44774 - DOM: Add WPTs for removing steps
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44774 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44774
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
DOM: Add WPTs for removing steps
This CL adds WPTs for removing steps, to ensure that script is never
executed during the removing steps hook 1, which are invoked
synchronously during per-node removal (that is, they are not batched,
but run this way per-node).This CL:
- Augments the existing iframe removing steps WPT, to include
pagehide
events. At the time of writing this, all browsers deviate
from the HTML Standard, and fail this test.- Adds new tests for
\<input>
and\<button>
to assert that when they
are focused and subsequently removed from the DOM, theblur
event
is not fired, per the HTML Standard. Chromium fails this test,
while Safari and Firefox pass it.Bug: 40150299
Change-Id: I0aa43755ccac8ea432056800c5c4167d8e4460e8Reviewed-on: https://chromium-review.googlesource.com/5323158
WPT-Export-Revision: 5e6d9f711e3e9028089f04b715eeffdc6844024b
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 2•9 months ago
|
||
Assignee | ||
Comment 3•9 months ago
|
||
Assignee | ||
Comment 4•9 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 4 subtests
Status Summary
Firefox
OK
: 2
PASS
: 2
FAIL
: 4
Chrome
OK
: 2
PASS
: 1
FAIL
: 5
Safari
OK
: 1
PASS
: 3
FAIL
: 3
ERROR
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /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
- Insertion steps: load event fires synchronously after iframe DOM insertion, as part of the iframe element's insertion steps:
New Tests That Don't Pass
- /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
(Chrome:PASS
, Safari:PASS
) - Removing steps (innerHTML): script does not run synchronously during iframe destruction:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Removing steps (replaceChildren): script does not run synchronously during iframe destruction:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Removing steps (remove): script does not run synchronously during iframe destruction:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Insertion steps: load event fires synchronously after iframe DOM insertion, as part of the iframe element's insertion steps:
Comment 6•9 months ago
|
||
bugherder |
Description
•