Closed Bug 1483069 Opened Last year Closed Last year
[wpt-sync] Sync PR 12448 - Test length of `selected
Options` after change
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 <firstname.lastname@example.org> 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
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c5ff16c3a50604abdfbcbda63499d72bf72ea15
Ran 1 tests and 7 subtests OK : 1 PASS : 7
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b5ef3ca3c0dd [wpt PR 12448] - Test length of `selectedOptions` after change, a=testonly
You need to log in before you can comment on or make changes to this bug.