Closed Bug 1752238 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32565 - Node#insertBefore requires its second argument

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Greg Price <greg@zulip.com> wrote:

Node#insertBefore requires its second argument

The IDL for this argument is Node? child:
https://dom.spec.whatwg.org/#ref-for-dom-node-insertbefore

That means the argument must be a Node or nullish. (If the
argument were permitted to simply leave out, that would be
spelled optional Node child or optional Node? child.)

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

CI Results

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

Total 1 tests and 40 subtests

Status Summary

Firefox

OK : 1
PASS: 40

Chrome

OK : 1
PASS: 40

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a620503c0bb [wpt PR 32565] - Node#insertBefore requires its second argument, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0d3a36559783 [wpt PR 32565] - Node#insertBefore requires its second argument, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.