Closed Bug 1887644 Opened 3 months ago Closed 26 days ago

Throw "UnsupportedOperation" error instead "InvalidArgument" when a file in "input.setFiles" command doesn't exist

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
1

Tracking

(firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [webdriver:m11], [wptsync upstream])

Attachments

(2 files)

After the spec update is merged, we should update the implementation to throw "UnsupportedOperation" error instead "InvalidArgument" when a file, which a client tries to set with "input.setFiles" command, doesn't exist.

Points: --- → 1
Priority: -- → P2
Whiteboard: [webdriver:backlog]
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Attachment #9403478 - Attachment description: Bug 1887644 - Add gecko specific test for non-existent files for "input.setFiles" command. → Bug 1887644 - [wdspec] Add a test for non-existent files for "input.setFiles" command.
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7bfa2f610ee7
Throw "UnsupportedOperation" error instead "InvalidArgument" when a file in "input.setFiles" command doesn't exist. r=webdriver-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/6172cdacabda
[wdspec] Add a test for non-existent files for "input.setFiles" command. r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46471 for changes under testing/web-platform/tests
Whiteboard: [webdriver:backlog] → [webdriver:backlog], [wptsync upstream]
Whiteboard: [webdriver:backlog], [wptsync upstream] → [webdriver:m11], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: