Closed
Bug 1114793
Opened 9 years ago
Closed 9 years ago
Consider re-naming chrome window handle interactions for consistency
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: chmanchester, Assigned: chmanchester)
References
Details
(Keywords: pi-marionette-server)
Attachments
(1 file, 1 obsolete file)
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
:whimboo from bug 941749: Chris, one thing I noticed here is the different implementation as shown below: > 2.275 "getCurrentWindowHandle": MarionetteServerConnection.prototype.getWindowHandle, // Selenium 2 compat > 2.276 + "getChromeWindowHandle": MarionetteServerConnection.prototype.getChromeWindowHandle, Was there a reason not to use getCurrentChromeWindowHandle together with .current_chrome_window_handle? Was it just the length which let you do the shorter property name? .chrome_window_handle doesn't really tell that it is the one for the currently selected chrome window.
Blocks: 941749
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8540401 -
Flags: review?(ato)
Assignee | ||
Comment 3•9 years ago
|
||
/r/1657 - Bug 1114793 - Rename marionette's chrome_window_handle to current_chrome_window_handle. Pull down this commit: hg pull review -r e19acf0fe4d1065c0efed23e795795fb0aa3f4a2
Assignee | ||
Comment 4•9 years ago
|
||
Henrik asked that I look into this. Both he and David are on holiday. I don't think renaming this is necessary, but if it's requested I certainly don't have a problem with it. ato, if you are around this week perhaps you could lend an opinion on this matter? Thanks!
Comment 5•9 years ago
|
||
(In reply to Chris Manchester [:chmanchester] from comment #4) > Henrik asked that I look into this. Both he and David are on holiday. I > don't think renaming this is necessary, but if it's requested I certainly > don't have a problem with it. > > ato, if you are around this week perhaps you could lend an opinion on this > matter? Thanks! What's the reason we couldn't use getCurrentWindowHandle for both content- and chrome context?
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Andreas Tolfsen (:ato) from comment #5) > (In reply to Chris Manchester [:chmanchester] from comment #4) > > Henrik asked that I look into this. Both he and David are on holiday. I > > don't think renaming this is necessary, but if it's requested I certainly > > don't have a problem with it. > > > > ato, if you are around this week perhaps you could lend an opinion on this > > matter? Thanks! > > What's the reason we couldn't use getCurrentWindowHandle for both content- > and chrome context? This "chrome" windows are for OS level windows. We'd like to be able to track these as well as top level browsing contexts.
Comment 7•9 years ago
|
||
Personally I'm not in a position to justify this change. It's a simply RFE from my side to make the method names more consistent. So the final decision should be up to Andreas and David I assume.
Updated•9 years ago
|
Keywords: ateam-marionette-server
Updated•9 years ago
|
Attachment #8540401 -
Flags: review+
Comment 8•9 years ago
|
||
https://reviewboard.mozilla.org/r/1655/#review1423 Ship It!
Updated•9 years ago
|
Attachment #8540401 -
Flags: review?(ato)
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5da7240111cc
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5da7240111cc
Assignee: nobody → cmanchester
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8540401 -
Attachment is obsolete: true
Attachment #8618966 -
Flags: review+
Assignee | ||
Comment 12•9 years ago
|
||
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•