Closed Bug 1765425 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 33702 - Enable the new selectmenu popup API usage by default

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Enable the new selectmenu popup API usage by default

This mainly enables the HTMLSelectMenuElementUsesPopupAttribute flag
for experimental, but this CL also "swaps" the tests and the virtual
suite, so that the [1] folder contains public tests of the new Popup
API, and the [2] virtual suite now tests the old \<popup> usage.

[1] external/wpt/html/semantics/forms/the-selectmenu-element
[2] virtual/selectmenu-old-popup/*

Bug: 1307772
Change-Id: I9dc5f3165da3dd955d6d34ae934ed99f9dc4fb74
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/3594385
WPT-Export-Revision: 2b723440696093c373077feef23d3327b8de7881

PR 33702 applied with additional changes from upstream: 0f32a26b6ceda366cfc7b21498ecce58da6cb0bf, 6a670709abb3c03646003d72c453857628bc8a6d
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 15 tests

Status Summary

Firefox

OK : 12
FAIL : 38
TIMEOUT: 1
ERROR : 1

Chrome

OK : 12
PASS : 29
FAIL : 23
TIMEOUT: 1
ERROR : 1

Safari

OK : 10
PASS : 3
FAIL : 27
TIMEOUT: 1
ERROR : 3

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-not-displayed.tentative.html: FAIL linked bug:Bug 1703439

New Tests That Don't Pass

/html/semantics/forms/the-selectmenu-element/selectmenu-ask-for-reset.html
ask-for-reset when removing option: FAIL (Chrome: PASS, Safari: FAIL)
ask-for-reset when inserting option: FAIL (Chrome: PASS, Safari: FAIL)
ask-for-reset when changing selectedness of option: FAIL (Chrome: PASS, Safari: FAIL)
ask-for-reset for form: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-form-submission.tentative.html
Test that HTMLSelectMenu.value is used for form submission: FAIL (Chrome: PASS, Safari: FAIL)
Test that HTMLSelectMenu.value is not used for form submission without name attribute: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-labels.tentative.html
Validate selectmenu.labels: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-many-options.tentative.html
The popup should be bottom left positioned: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-nested.tentative.html
A <selectmenu> shouldn't apply controller code to parts nested in a <selectmenu> child: FAIL (Chrome: FAIL, Safari: FAIL)
A <selectmenu> shouldn't apply controller code to parts nested in a <select> child: FAIL (Chrome: FAIL, Safari: FAIL)
A nested button part in a nested <selectmenu> shouldn't get controller code even if it comes first in document order: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-option-focusable.tentative.html
Validate <option> is focusable when is a descendant of <selectmenu>: FAIL (Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-parts-structure.tentative.html: ERROR (Chrome: OK, Safari: ERROR)
/html/semantics/forms/the-selectmenu-element/selectmenu-popup-position-with-zoom.tentative.html
The popup should be bottom left positioned: FAIL (Chrome: FAIL, Safari: PASS)
The popup should be top left positioned: FAIL (Chrome: FAIL, Safari: FAIL)
The popup should be bottom right positioned: FAIL (Chrome: FAIL, Safari: PASS)
The popup should be top right positioned: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-popup-position.tentative.html
The popup should be bottom left positioned: FAIL (Chrome: FAIL)
The popup should be top left positioned: FAIL (Chrome: FAIL)
The popup should be bottom right positioned: FAIL (Chrome: FAIL)
The popup should be top right positioned: FAIL (Chrome: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-popup.tentative.html
Opening the popup and clicking an option should change the selectmenu's value: FAIL (Chrome: PASS)
With custom button and popup: opening the popup and clicking an option should change the selectmenu's value: FAIL (Chrome: FAIL)
Clicking a popup with no listbox part does nothing: FAIL (Chrome: PASS)
Clicking a popup with a listbox that was removed does nothing: FAIL (Chrome: PASS)
/html/semantics/forms/the-selectmenu-element/selectmenu-required-attribute.tentative.html
Test required attribute: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-shadow-root-replacement.tentative.html
Test that the UA provided shadow root can be replaced: FAIL (Chrome: FAIL, Safari: FAIL)
Test that the UA provided shadow root can be replaced using declarative shadow DOM: FAIL (Chrome: FAIL, Safari: FAIL)
Test that only the UA provided shadow root can be replaced: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-value-selectedOption.tentative.html
Test that HTMLSelectMenu with no options has empty string for value and null for selectedOption: FAIL (Chrome: PASS, Safari: FAIL)
Test value and selectedOption with HTMLOptionElement element option parts: FAIL (Chrome: PASS, Safari: FAIL)
Test value with non-HTMLOptionElement elements labeled as parts: FAIL (Chrome: PASS, Safari: FAIL)
Test that value and selectedOption are updated when options are removed: FAIL (Chrome: PASS, Safari: FAIL)
Test that slotted-in selected-value part is updated to value of selectmenu: FAIL (Chrome: PASS, Safari: FAIL)
Test that option parts in a slotted-in listbox are reflected in the value property: FAIL (Chrome: FAIL, Safari: FAIL)
Test that value and selectedOption are correctly updated: FAIL (Chrome: PASS, Safari: FAIL)
Test that HTMLOption.selected updates selectmenu.value and selectmenu.selectedOption: FAIL (Chrome: PASS, Safari: FAIL)
Test that HTMLOption.value updates selectmenu.value: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-displayed.tentative.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-not-displayed.tentative.html: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6d5e3df1197 [wpt PR 33702] - Enable the new selectmenu popup API usage by default, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.