Closed Bug 1885162 Opened 11 months ago Closed 11 months ago

[wpt-sync] Sync PR 45085 - WPT: Script child removal does not trigger execution

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45085 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45085
Details from upstream follow.

Dominic Farolino <dom@chromium.org> wrote:

WPT: Script child removal does not trigger execution

Given the old Chromium change that introduced this behavior:

... the old discussion in:

... and the much newer discussion in:

This CL upstreams an old test ensuring that removal of a child node
from a script node that has not "already started" 1, does not trigger
script execution. Only the insertion of child nodes (to a
non-already-started script node) should trigger that script's execution.

R=nrosenthal@chromium.org

Bug: 40150299
Change-Id: I750ccee0a2be834360c557042e975547c8ddd32c

Reviewed-on: https://chromium-review.googlesource.com/5367238
WPT-Export-Revision: 1c091625f5efb840ebe45a7b96ba1817b1fadb44

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6e5b8a11871 [wpt PR 45085] - WPT: Script child removal does not trigger execution, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.