Closed Bug 1519055 Opened 6 years ago Closed 6 years ago

Set window handle for "switch_to_window" also as "handle"

Categories

(Remote Protocol :: Marionette, enhancement, P3)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: whimboo, Assigned: kritisingh1.ks, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [lang=py])

User Story

To get started follow the documentation at:

https://firefox-source-docs.mozilla.org/testing/marionette/marionette/NewContributors.html

Attachments

(1 file)

To get started on bug 1301073 we have to make marionette client backward compatible by also setting the window handle as "handle" here:

https://searchfox.org/mozilla-central/rev/5053031ba7621fa8f63f42de4c204ab3561e4e59/testing/marionette/client/marionette_driver/marionette.py#1508

The "name" property should be left-in for now to stay compatible. Best would be to also rename window_id to handle.

I would like to work on this

Hey Utkarsh, feel free to get started and let me know if you face problems which you cannot solve on your own. Make sure to check the link in the user story above for all the documentation.

Priority: -- → P3

@whimboo could you explain what needs to be done here?

As comment 0 explained there are two steps. First rename window_id to handle, and then add another handle key to the dictionary which gets passed as body.

Hi,
Is someone working on this?
If not, @whimboo can I work on this? I am a a beginner and this will be my first task:)

Hi prajwalshimpi, I am still working on this.

whimboo: do I have to initialize my local repo in mozilla-central or in the repo in which I am making my bug changes (marionette_driver)?

Did you read the documentation? You would have been guided to https://mozilla-version-control-tools.readthedocs.io/en/latest/hgmozilla/unifiedrepo.html. So please clone that.

prajwalshimpi, if you are looking for a place to contribute maybe bug 1506829 would be something for you.

Could you help me with the 2nd step? I am confused on what to do

I already explained everything in detail in comment 4. If it is too hard for you it might not be the best bug for you then. Please let us know if you want to continue or not.

Could you tell me which dictionary are you referring to?

Please see the link in my original comment, which directly points to that.

Blocks: 1534702

The same issue we had in geckodriver and will soon be fixed by bug 1519053. Maybe someone wants to pick this up now?

:whimboo this seems quite similar to Bug 1519053. I would like to pick this up. Thanks!

Absolutely! Thanks a lot.

Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d266414d9c66 Set window handle for 'switch_to_window' also as 'handle'. r=whimboo
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Assignee: nobody → kritisingh1.ks
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: