Closed Bug 1385873 Opened 7 years ago Closed 7 years ago

<option> should not be deselected when clicking element

Categories

(Remote Protocol :: Marionette, defect)

Version 3
defect
Not set
normal

Tracking

(firefox56 fixed)

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: ato, Assigned: ato)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Reported in https://github.com/mozilla/geckodriver/issues/827, Marionette should not deselect the <option> element in a <select> when it is clicked.
Assignee: nobody → ato
Blocks: webdriver
Status: NEW → ASSIGNED
I also filed https://github.com/w3c/webdriver/pull/991 to correct the specification.
Comment on attachment 8892043 [details]
Bug 1385873 - Better error on wrong element to interaction.selectOption.

https://reviewboard.mozilla.org/r/163048/#review168468
Attachment #8892043 - Flags: review?(dburns) → review+
Comment on attachment 8892044 [details]
Bug 1385873 - Throw TypeError when passing XUL element to interaction.selectOption.

https://reviewboard.mozilla.org/r/163050/#review168472
Attachment #8892044 - Flags: review?(dburns) → review+
Comment on attachment 8892045 [details]
Bug 1385873 - <option> should not be deselected in dropdown.

https://reviewboard.mozilla.org/r/163052/#review168474
Attachment #8892045 - Flags: review?(dburns) → review+
Comment on attachment 8892046 [details]
Bug 1385873 - Add client.Element#selected to WebDriver client.

https://reviewboard.mozilla.org/r/163054/#review168476
Attachment #8892046 - Flags: review?(dburns) → review+
Comment on attachment 8892047 [details]
Bug 1385873 - Port Marionette <option> click tests to WPT.

https://reviewboard.mozilla.org/r/163056/#review168480
Attachment #8892047 - Flags: review?(dburns) → review+
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/66dc437de543
Better error on wrong element to interaction.selectOption. r=automatedtester
https://hg.mozilla.org/integration/autoland/rev/9292b83a277a
Throw TypeError when passing XUL element to interaction.selectOption. r=automatedtester
https://hg.mozilla.org/integration/autoland/rev/cc9c4b27f715
<option> should not be deselected in dropdown. r=automatedtester
https://hg.mozilla.org/integration/autoland/rev/f5c335bc7d80
Add client.Element#selected to WebDriver client. r=automatedtester
https://hg.mozilla.org/integration/autoland/rev/241d6d2bc109
Port Marionette <option> click tests to WPT. r=automatedtester
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.