Skip to content

script: Implement showPicker() for <input> - #50032

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
TimvdLippe:input-show-picker
Nov 18, 2026
Merged

TimvdLippe merged 1 commit into
servo:mainfrom
TimvdLippe:input-show-picker

Conversation

@TimvdLippe

Copy link
Copy Markdown
Contributor

One test still errors like it did in #43359 because of an alert that remains open. It's an issue with webdriver and I am not sure how to tackle that. This PR supersedes the other one, as it only implements it for <input> which doesn't introduce the test flakiness we were observing there.

Part of #42843

Supersedes and closes #43359

Testing: new WPT tests pass

@TimvdLippe
TimvdLippe requested a review from gterzian as a code owner November 18, 2026 11:33
@TimvdLippe TimvdLippe added the T-linux-wpt Do a try run of the WPT label Nov 18, 2026
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 18, 2026
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Nov 18, 2026
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#44295801043) for Linux (WPT)

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt from try job (#44295801043):

Flaky unexpected result (25)
  • OK /css/CSS2/floats/floats-in-inline-content-intrinsic-size-001.html (#49728)
    • FAIL [expected PASS] subtest: An empty float next to text (emptyFloatAndText, min-content)

      assert_equals: expected 70 but got 50
      

  • OK /css/css-position/static-position/inline-containing-block-with-border.html (#49970)
    • FAIL [expected PASS] subtest: writing-mode: horizontal-tb; direction: ltr; inline box 'border-inline-start: 30px solid; padding-inline-start: 7px'; originally inline-level absolutely positioned box

      assert_equals: left expected 111 but got 137
      

  • FAIL [expected PASS] /css/filter-effects/kernel-unit-length-001.html
  • OK /html/browsers/browsing-the-web/navigating-across-documents/008.html (#24456)
    • PASS [expected FAIL] subtest: Link with onclick form submit to javascript url and href navigation
  • TIMEOUT /html/browsers/history/the-history-interface/001.html (#12580)
    • FAIL [expected PASS] subtest: traversing history must also traverse hash changes

      assert_equals: (this could cause other failures later on) expected "" but got "test"
      

  • TIMEOUT /html/semantics/embedded-content/media-elements/replay.html
    • NOTRUN [expected PASS] subtest: first audio playback worked
  • CRASH [expected FAIL] /html/semantics/forms/the-select-element/customizable-select/select-appearance-button-after-span.html
  • TIMEOUT [expected OK] /html/user-activation/consumption-sameorigin.html
    • NOTRUN [expected PASS] subtest: Consumption test
  • TIMEOUT [expected OK] /html/user-activation/navigation-state-reset-sameorigin.html (#45151)
    • TIMEOUT [expected FAIL] subtest: Post-navigation state reset.

      Test timed out
      

  • TIMEOUT [expected OK] /html/user-activation/propagation-sameorigin.html (#49544)
    • NOTRUN [expected PASS] subtest: Propagation test
  • OK /infrastructure/testdriver/click_iframe.html (#47688)
    • FAIL [expected PASS] subtest: TestDriver click on a document in an iframe

      Unhandled rejection: assert_unreached: click failed Reached unreachable code
      

  • PASS [expected FAIL] /mathml/presentation-markup/operators/mo-single-char-and-children.html (#49318)
  • PASS [expected FAIL] /mathml/presentation-markup/operators/operator-dictionary-empty-and-three-chars.html (#49173)
  • TIMEOUT [expected OK] /pointerevents/compat/pointerevent_touch-action_two-finger_interaction.html
    • NOTRUN [expected PASS] subtest: touch two-finger pan on 'touch-action: pan-x pan-y'
    • NOTRUN [expected FAIL] subtest: touch two-finger pan on 'touch-action: pinch-zoom'
  • OK /trusted-types/trusted-types-navigation.html?21-25
    • FAIL [expected PASS] subtest: Navigate a window via form-submission with javascript:-urls in enforcing mode.

      promise_test: Unhandled rejection with value: "Unexpected message received: {\"type\":\"DOMContentLoaded\",\"uri\":\"http://web-platform.test:8000/trusted-types/support/navigation-support.html?area=1&amp;defaultpolicy=make-invalid&amp;navigationattempted=1&amp;continue=1\"}"
      

  • OK /upgrade-insecure-requests/gen/sharedworker-classic-data.meta/upgrade/websocket.https.html
    • FAIL [expected PASS] subtest: Upgrade-Insecure-Requests: Expects allowed for websocket to cross-ws-downgrade origin and no-redirect redirection from https context.

      assert_equals: The resource request should be 'allowed'. expected "allowed" but got "blocked"
      

    • FAIL [expected PASS] subtest: Upgrade-Insecure-Requests: Expects allowed for websocket to same-ws-downgrade origin and no-redirect redirection from https context.

      assert_equals: The resource request should be 'allowed'. expected "allowed" but got "blocked"
      

  • OK /user-timing/measure_associated_with_navigation_timing.html (#47273)
    • FAIL [expected PASS] subtest: loadTime plus loadEventEnd to a mark "a" should equal to navigationStart to "a".

      assert_equals: loadTime plus loadEventEnd to a mark "a" should equal to navigationStart to "a". expected 14.32 but got 14.31
      

  • OK /webdriver/tests/classic/back/user_prompts.py (#49983)
    • FAIL [expected PASS] subtest: test_dismiss_and_notify[alert-None]

      AssertionError: assert 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cp+id%3D1%3E&amp;mime=text%2Fhtml&amp;charset=UTF-8' == 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cp+id%3D2%3E&amp;mime=text%2Fhtml&amp;charset=UTF-8'
      

    • FAIL [expected PASS] subtest: test_ignore[alert]

      AssertionError: assert 'about:blank' == 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cp+id%3D2%3E&amp;mime=text%2Fhtml&amp;charset=UTF-8'
      

    • FAIL [expected PASS] subtest: test_default[beforeunload-None]

      webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/find_element/find.py
    • ERROR [expected FAIL] subtest: test_no_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/find_elements/find.py
    • ERROR [expected FAIL] subtest: test_no_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/find_elements_from_shadow_root/find.py
    • ERROR [expected FAIL] subtest: test_no_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/navigate_to/navigate.py
    • ERROR [expected PASS] subtest: test_no_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/perform_actions/pointer_mouse.py (#49662)
    • FAIL [expected PASS] subtest: test_down_closes_browsing_context[without up]

      Failed: DID NOT RAISE &lt;class 'webdriver.error.NoSuchWindowException'&gt;
      

    • FAIL [expected PASS] subtest: test_move_to_position_in_viewport[y]

      assert 0 == 1
      

  • OK /webdriver/tests/classic/release_actions/iframe.py
    • FAIL [expected PASS] subtest: test_release_actions_in_frame[same_origin]

      AssertionError: assert 'pointerup' in ['mouseup']
      

  • OK /webdriver/tests/classic/release_actions/release.py
    • ERROR [expected PASS] subtest: test_no_top_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

Stable unexpected results that are known to be intermittent (9)
  • OK /beacon/beacon-basic.https.window.html (#41723)
    • FAIL [expected PASS] subtest: Payload size restriction should be accumulated: type = string

      assert_false: expected false got true
      

    • FAIL [expected PASS] subtest: Payload size restriction should be accumulated: type = arraybuffer

      assert_false: expected false got true
      

    • FAIL [expected PASS] subtest: Payload size restriction should be accumulated: type = blob

      assert_false: expected false got true
      

  • OK /css/CSS2/floats/float-in-block-in-inline-position-001.html (#49534)
    • FAIL [expected PASS] subtest: A line after a bordered block containing a float avoids it at the block's position (sibling)

      assert_equals: the line's block-axis position expected 108 but got 106.35000000000002
      

  • OK /css/CSS2/visudet/inline-block-baseline-with-block-in-inline-001.html (#49559)
    • FAIL [expected PASS] subtest: An inline-block whose last line box holds a block level box exports that line's baseline

      assert_equals: the text after the inline-block is aligned to the inline-block's last line box baseline expected 20 but got 18.35
      

  • OK /dom/nodes/moveBefore/iframe-document-preserve.window.html (#43152)
    • FAIL [expected PASS] subtest: moveBefore(): cross-origin iframe is preserved: remove self via innerHTML

      assert_equals: iframe does not fire a second load event expected 1 but got 0
      

  • CRASH [expected TIMEOUT] /dom/xpath-evaluation-detached-nodes.html (#49715)
  • OK /html/browsers/browsing-the-web/navigating-across-documents/refresh/same-document-refresh.html (#34597)
    • FAIL [expected PASS] subtest: Same-Document Referrer from Refresh

      assert_equals: original page loads expected "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh-with-section.sub.html?url=%23section" but got "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/refresh/resources/refresh-with-section.sub.html?url=%23section#section"
      

  • ERROR [expected TIMEOUT] /performance-timeline/not-restored-reasons/abort-block-bfcache.window.html (#42802)
  • OK /pointerevents/pointerevent_pointercapture_in_frame.html?pen (#45536)
    • PASS [expected FAIL] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.
    • PASS [expected FAIL] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.
  • OK /preload/prefetch-document.html (#37210)
    • PASS [expected FAIL] subtest: different-site document prefetch with 'as=document' should not be consumed
Stable unexpected results (1)
  • OK /html/dom/idlharness.https.html?include=HTML.+
    • PASS [expected FAIL] subtest: HTMLInputElement interface: operation showPicker()
    • PASS [expected FAIL] subtest: HTMLInputElement interface: document.createElement("input") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("text") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("hidden") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("search") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("tel") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("url") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("email") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("password") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("date") must inherit property "showPicker()" with the proper type
    • And 14 more unexpected results...

@github-actions

Copy link
Copy Markdown

⚠️ Try run (#44295801043) failed!

@mrobinson mrobinson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good, with a couple very small issues. I suspect that the new you are seeing in tests/wpt/meta/html/semantics/forms/the-input-element/show-picker-does-not-focus.html.ini might be due to the fact that removing a file chooser from the DOM does not close its open control.

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-rebase There are merge conflict errors. and removed S-awaiting-review There is new code that needs to be reviewed. labels Nov 18, 2026
@TimvdLippe

Copy link
Copy Markdown
Contributor Author

If you run the test in isolation it works, but when you run all tests in the folder it fails. It's probably some left-over state somewhere.

I checked and we correctly hide the embedder controls when the element is removed from the DOM. Locally I have also added logic that we hide when the document is unloaded. Unfortunately that also doesn't fix the issue, so need to investigate further.

@mrobinson

Copy link
Copy Markdown
Member

If you run the test in isolation it works, but when you run all tests in the folder it fails. It's probably some left-over state somewhere.

I checked and we correctly hide the embedder controls when the element is removed from the DOM. Locally I have also added logic that we hide when the document is unloaded. Unfortunately that also doesn't fix the issue, so need to investigate further.

No problem. I don't think it's a blocker for this change at all.

@TimvdLippe

Copy link
Copy Markdown
Contributor Author

Hm, it might have helped maybe, as I cannot reproduce the error locally. It might actually be intermittent, so I am pushing the fix and then let's see what CI says.

@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-rebase There are merge conflict errors. labels Nov 18, 2026
@TimvdLippe TimvdLippe added the T-linux-wpt Do a try run of the WPT label Nov 18, 2026
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Nov 18, 2026
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#44334425377) for Linux (WPT)

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt from try job (#44334425377):

Flaky unexpected result (25)
  • TIMEOUT [expected OK] /content-security-policy/inheritance/document-write-iframe.html (#47620)
    • TIMEOUT [expected PASS] subtest: document.open() keeps inherited CSPs on transient about:blank.

      Test timed out
      

  • OK /css/CSS2/floats/floats-in-inline-content-intrinsic-size-001.html (#49728)
    • FAIL [expected PASS] subtest: An empty float next to text (emptyFloatAndText, min-content)

      assert_equals: expected 70 but got 50
      

  • OK /css/css-position/static-position/inline-containing-block-with-border.html (#49970)
    • FAIL [expected PASS] subtest: writing-mode: horizontal-tb; direction: ltr; inline box 'border-inline-start: 30px solid; padding-inline-start: 7px'; originally inline-level absolutely positioned box

      assert_equals: left expected 111 but got 137
      

  • OK /css/css-text-decor/parsing/text-decoration-inset-computed.html (#47617)
    • FAIL [expected PASS] subtest: Property text-decoration-inset value '0'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '0px 0px'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '0.5em'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '-1em'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '-1ch -1ch'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '1px 2px'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '1ch -1ch'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value 'calc(1em / 4) calc(-1ch)'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value 'auto'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • FAIL [expected PASS] subtest: Property text-decoration-inset value '10%'

      assert_true: text-decoration-inset doesn't seem to be supported in the computed style expected true got false
      

    • And 5 more unexpected results...
  • OK /css/cssom/getComputedStyle-inset-inline-containing-block-vertical.html
    • PASS [expected FAIL] subtest: Resolved bottom measures the inline containing block's physical height
  • OK [expected TIMEOUT] /fetch/api/redirect/redirect-keepalive.https.any.html (#32153)
    • PASS [expected TIMEOUT] subtest: [keepalive][iframe][load] mixed content redirect; setting up
  • OK [expected TIMEOUT] /html/browsers/browsing-the-web/navigating-across-documents/cross-origin-top-navigation-with-user-activation-in-parent.window.html (#48205)
    • FAIL [expected TIMEOUT] subtest: Cross-origin top navigation is blocked without user activation, even if the parent has user activation

      assert_equals: expected "Denied" but got "Allowed"
      

  • OK /html/semantics/embedded-content/media-elements/audio_loop_seek_to_eos.html (#41226)
    • FAIL [expected PASS] subtest: seeking to the end of looping audio

      promise_test: Unhandled rejection with value: object "TypeError: this argument is not a finite floating-point value"
      

  • OK /html/semantics/embedded-content/media-elements/media_fragment_seek.html (#24114)
    • FAIL [expected PASS] subtest: Video should seek to time specified in media fragment syntax

      assert_equals: expected 3 but got 0
      

  • CRASH [expected FAIL] /html/semantics/forms/the-select-element/customizable-select/select-appearance-button-after-span.html
  • OK /html/semantics/scripting-1/the-script-element/execution-timing/077.html (#22139)
    • FAIL [expected PASS] subtest: adding several types of scripts through the DOM and removing some of them confuses scheduler

      assert_array_equals: expected property 1 to be "Script #1 ran" but got "Script #3 ran" (expected array ["Script #2 ran", "Script #1 ran", "Script #3 ran", "Script #4 ran"] got ["Script #2 ran", "Script #3 ran", "Script #4 ran", "Script #1 ran"])
      

  • TIMEOUT [expected OK] /html/user-activation/consumption-sameorigin.html
    • NOTRUN [expected PASS] subtest: Consumption test
  • TIMEOUT [expected OK] /html/user-activation/navigation-state-reset-sameorigin.html (#45151)
    • TIMEOUT [expected FAIL] subtest: Post-navigation state reset.

      Test timed out
      

  • OK /infrastructure/testdriver/click_iframe.html (#47688)
    • FAIL [expected PASS] subtest: TestDriver click on a document in an iframe

      Unhandled rejection: assert_unreached: click failed Reached unreachable code
      

  • OK /infrastructure/testdriver/click_window.html (#47303)
    • FAIL [expected PASS] subtest: TestDriver click method in window

      Unhandled rejection: assert_unreached: click failed Reached unreachable code
      

  • PASS [expected FAIL] /mathml/presentation-markup/operators/operator-dictionary-empty-and-three-chars.html (#49173)
  • OK /pointerevents/pointerevent_pointercapture_in_frame.html?pen (#45536)
    • PASS [expected FAIL] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.
    • PASS [expected FAIL] subtest: Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture to outer frame should not capture.
  • ERROR [expected OK] /referrer-policy/gen/srcdoc-inherit.meta/never/iframe-tag.http.html
  • OK /trusted-types/trusted-types-navigation.html?21-25
    • FAIL [expected PASS] subtest: Navigate a window via form-submission with javascript:-urls in enforcing mode.

      promise_test: Unhandled rejection with value: "Unexpected message received: {\"type\":\"DOMContentLoaded\",\"uri\":\"http://web-platform.test:8000/trusted-types/support/navigation-support.html?area=1&amp;defaultpolicy=make-invalid&amp;navigationattempted=1&amp;continue=1\"}"
      

  • OK /user-timing/measure_associated_with_navigation_timing.html (#47273)
    • FAIL [expected PASS] subtest: loadTime plus loadEventEnd to a mark "a" should equal to navigationStart to "a".

      assert_equals: loadTime plus loadEventEnd to a mark "a" should equal to navigationStart to "a". expected 20.16 but got 20.15
      

  • OK /webdriver/tests/classic/delete_all_cookies/delete.py
    • ERROR [expected FAIL] subtest: test_no_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

  • TIMEOUT [expected OK] /webdriver/tests/classic/element_click/interactability.py
  • OK /webdriver/tests/classic/get_window_handles/get.py
    • ERROR [expected PASS] subtest: test_no_top_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

    • ERROR [expected PASS] subtest: test_no_browsing_context

      setup error: webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/new_window/new_window.py
    • FAIL [expected PASS] subtest: test_initial_selection_for_contenteditable

      webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/perform_actions/pointer_mouse.py (#49662)
    • FAIL [expected PASS] subtest: test_down_closes_browsing_context[without up]

      Failed: DID NOT RAISE &lt;class 'webdriver.error.NoSuchWindowException'&gt;
      

Stable unexpected results that are known to be intermittent (9)
  • OK /css/CSS2/floats/float-in-block-in-inline-position-001.html (#49534)
    • FAIL [expected PASS] subtest: A line after a bordered block containing a float avoids it at the block's position (sibling)

      assert_equals: the line's block-axis position expected 108 but got 106.35000000000002
      

  • CRASH [expected TIMEOUT] /dom/xpath-evaluation-detached-nodes.html (#49715)
  • TIMEOUT [expected ERROR] /html/browsers/history/the-location-interface/location_replace_session_history.html (#41896)
  • TIMEOUT [expected OK] /html/browsers/windows/consume-user-activation/window-open-multi-global.html (#47399)
    • TIMEOUT [expected FAIL] subtest: window.open() and consuming user activation with multiple globals in play

      Test timed out
      

  • OK /html/webappapis/user-prompts/print-during-unload.html (#35944)
    • FAIL [expected PASS] subtest: print() during unload

      assert_array_equals: expected property 1 to be "destination" but got "error: window.print is not a function" (expected array ["start", "destination"] got ["start", "error: window.print is not a function"])
      

  • PASS [expected FAIL] /mathml/presentation-markup/operators/mo-lspace-rspace-dynamic.html (#49168)
  • ERROR [expected TIMEOUT] /performance-timeline/not-restored-reasons/abort-block-bfcache.window.html (#42802)
  • OK /webdriver/tests/classic/back/user_prompts.py (#49983)
    • FAIL [expected PASS] subtest: test_accept[beforeunload]

      webdriver.error.NoSuchElementException: no such element (404)
      

  • OK /webdriver/tests/classic/close_window/user_prompts.py (#49983)
    • FAIL [expected PASS] subtest: test_ignore[beforeunload]

      webdriver.error.NoSuchElementException: no such element (404)
      

Stable unexpected results (2)
  • OK /html/dom/idlharness.https.html?include=HTML.+
    • PASS [expected FAIL] subtest: HTMLInputElement interface: operation showPicker()
    • PASS [expected FAIL] subtest: HTMLInputElement interface: document.createElement("input") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("text") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("hidden") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("search") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("tel") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("url") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("email") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("password") must inherit property "showPicker()" with the proper type
    • PASS [expected FAIL] subtest: HTMLInputElement interface: createInput("date") must inherit property "showPicker()" with the proper type
    • And 14 more unexpected results...
  • ERROR [expected OK] /html/semantics/forms/the-input-element/show-picker-does-not-focus.html

@github-actions

Copy link
Copy Markdown

⚠️ Try run (#44334425377) failed!

One test still errors like it did in servo#43359 because of an alert that
remains open. It's an issue with webdriver and I am not sure how to
tackle that. This PR supersedes the other one, as it only implements it
for `<input>` which doesn't introduce the test flakiness we were
observing there.

Part of servo#42843

Supersedes and closes servo#43359

Testing: new WPT tests pass

Co-authored-by: Luke Warlow <[email protected]>
Signed-off-by: Tim van der Lippe <[email protected]>
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 18, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Nov 18, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 18, 2026
Merged via the queue into servo:main with commit b6d996e Nov 18, 2026
35 checks passed
@TimvdLippe
TimvdLippe deleted the input-show-picker branch November 18, 2026 19:57
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 18, 2026
@servo-highfive

Copy link
Copy Markdown

Someone thinks this change could be added to the monthly blog post! To help with this, we need someone to answer the following questions: 😄

  1. Who is most impacted by this change: users, Servo developers, embedders, or some other group?
  2. What observable difference does this change make?
  3. What preferences (if any) need to be enabled to observe this difference?
  4. What (if any) specific URLs are affected?

If this change is part of a broader feature/project please make sure the PR description contains a Fixes: #12345 or Part of: #12345 issue reference.

Please add @servo-highfive monthly update answer when answering these questions so the bot notices your answer (or just quote this comment).

Thanks for helping us prepare the monthly blog post! ❤️

@TimvdLippe

Copy link
Copy Markdown
Contributor Author
  1. Users
  2. We support the new DOM API showPicker on <input>
  3. n/a
  4. n/a

@servo-highfive monthly update answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants