[wpt-sync] Sync PR 50345 - Reapply "Fix OptionList iterating before beginning"
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50345 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50345
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
Reapply "Fix OptionList iterating before beginning"
The new test in the original patch was failing on a Linux UBSan bot,
which revealed that OptionListIterator::operator*() was dereferencing a
null element. I fixed this by adjusting the test and adding a DCHECK to
make sure the element is not null before dereferencing. I also added a
WPT to make sure that the DCHECK doesn't get hit.This reverts commit 3bef4696dcb69725d3f1c72a0984ba91c2e00056.
Original patch: commit 505729eedfd6243a6520d9fd09012b5dde449511Fixed: 388299752
Change-Id: I01712fec0479ca567121051b33e6478cf77818b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6203424
Commit-Queue: Traian Captan \<tcaptan@chromium.org>
Auto-Submit: Joey Arhar \<jarhar@chromium.org>
Reviewed-by: Traian Captan \<tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1412393}
| Assignee | ||
Updated•11 months ago
|
| Assignee | ||
Comment 1•11 months ago
|
||
| Assignee | ||
Comment 2•11 months ago
|
||
CI Results
Ran 0 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
FAIL : 1
Chrome
CRASH: 1
Safari
OK : 1
FAIL : 1
Links
Details
New Tests That Don't Pass
- /html/semantics/forms/the-select-element/customizable-select/select-iterate-before-beginning.tentative.html [wpt.fyi]
- Attempting to focus the previous option while focused on the first option should not crash.:
FAIL(Safari:FAIL)
- Attempting to focus the previous option while focused on the first option should not crash.:
Comment 4•11 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5a10a36d498f
https://hg.mozilla.org/mozilla-central/rev/100125ffeb44
Description
•