Closed Bug 1999693 Opened 10 months ago Closed 3 months ago

Support "ignore" for "unhandledPromptBehavior" for file pickers

Categories

(Remote Protocol :: WebDriver BiDi, enhancement, P3)

enhancement
Points:
3

Tracking

(firefox154 fixed)

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [webdriver:m20], [wptsync upstream][webdriver:relnote])

Attachments

(2 files)

In Bug 1855045, as we need to support file prompt events, we will initially dismiss all file picker prompts by default.
Otherwise such prompts are fully OS dependent and can completely block tests.

But normally, we should respect the configured unhandledPromptBehavior, and if the behavior is set to "ignore" for "file" prompts, then the prompt should not be dismissed automatically.

Summary: Support "ignore" prompt behaviour for file pickers → Support "ignore" for "unhandledPromptBehavior" for file pickers

Let's not worry about enabling the tests on CI for now because we can't really handle the real file pickers in automation once they are open. We should still try to support the ignore behavior in case non-test-automation users are interested in this.

Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:backlog]

There is a regression with dismissing file pickers by default, and Julian fixed it with a workaround patch for now over on bug 2005673. Nevertheless we should give this bug a priority and correctly fix it in the next milestone.

Whiteboard: [webdriver:backlog] → [webdriver:m19]
Blocks: 2006012
No longer depends on: 2006012
Priority: P2 → P3
Whiteboard: [webdriver:m19] → [webdriver:m20]
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Blocks: 2048570
Blocks: 2048573
Blocks: 2049430
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0f6b70ea8acc https://hg.mozilla.org/integration/autoland/rev/65e1a66ab8fa [bidi] Only dismiss filepickers for BiDi sessions with behavior != ignore r=Sasha https://github.com/mozilla-firefox/firefox/commit/603f1f788db2 https://hg.mozilla.org/integration/autoland/rev/d7960dd6c909 [wdspec] Dismiss file dialogs in file_dialog_opened.py to avoid windows CI crashes r=Sasha
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60819 for changes under testing/web-platform/tests

Whiteboard: [webdriver:m20] → [webdriver:m20], [wptsync upstream]

Upstream PR merged by moz-wptsync-bot

Regressions: 2049898
Whiteboard: [webdriver:m20], [wptsync upstream] → [webdriver:m20], [wptsync upstream][webdriver:relnote][
Whiteboard: [webdriver:m20], [wptsync upstream][webdriver:relnote][ → [webdriver:m20], [wptsync upstream][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: