Closed Bug 1499567 Opened 2 years ago Closed 2 years ago

Do not append an empty text node when creating options from HTMLOptionCollection::SetLength.

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is tested by:

  html/semantics/forms/the-select-element/common-HTMLOptionsCollection.html
Only we do that. Align with other browsers instead.

I removed the max-asserts as well because I cannot make my browser assert when
running this test on a debug build.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/ce783284cca7
Do not append an empty text node when creating options from HTMLOptionCollection::SetLength. r=bzbarsky
https://hg.mozilla.org/mozilla-central/rev/ce783284cca7
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.