Closed Bug 1483069 Opened Last year Closed Last year

[wpt-sync] Sync PR 12448 - Test length of `selectedOptions` after change

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Zirro <code@zirro.se> wrote:
>  Test length of `selectedOptions` after change
>  
>  This adds a test for the length of `select.selectedOptions` after an option element was changed through `option.selected`. jsdom would previously fail to update the value under these conditions.
>  
>  The test passes consistently in Chrome and Safari. It passes in Firefox on the first run, but fails if the page is reloaded with cache as that retains the previous state of the `select` element.
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 7 subtests
OK     : 1
PASS   : 7
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b5ef3ca3c0dd
[wpt PR 12448] - Test length of `selectedOptions` after change, a=testonly
https://hg.mozilla.org/mozilla-central/rev/b5ef3ca3c0dd
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.