Closed Bug 1362528 Opened 4 years ago Closed 4 years ago

getWindowHandles (getChromeWindowHandles) has to return a list of strings not numbers

Categories

(Testing :: Marionette, defect)

Version 3
defect
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [spec][17/05])

Attachments

(1 file)

Given by the spec window handles have to be strings and not numbers. And getWindowHandles() returns just the list of numbers. It should be changed to return strings instead.
This would also apply to getChromeWindowHandles() whereby this is not in the spec, but would need the same fix.
Summary: getWindowHandles has to return a list of strings not numbers → getWindowHandles (getChromeWindowHandles) has to return a list of strings not numbers
Blocks: webdriver
Whiteboard: [spec][17/05]
Comment on attachment 8864997 [details]
Bug 1362528 - Let getWindowHandles and getChromeWindowHandles return list of strings

https://reviewboard.mozilla.org/r/136652/#review139734
Attachment #8864997 - Flags: review?(ato) → review+
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24b55221df23
Let getWindowHandles and getChromeWindowHandles return list of strings r=ato
https://hg.mozilla.org/mozilla-central/rev/24b55221df23
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.