Closed
Bug 1274638
Opened 9 years ago
Closed 9 years ago
Provide separate storage for browsers
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox48 fixed, firefox49 fixed)
RESOLVED
FIXED
mozilla49
People
(Reporter: ato, Assigned: ato)
References
Details
(Keywords: pi-marionette-server)
Attachments
(1 file)
Marionette currently uses the ElementManager/element.Store from testing/marionette/element.js to store known browsers/windows by their outerWindowID.
This works, but to store and access them the caller needs to access the internal data structure properties of the store as the outerWindowID is used as a custom key. Normally stored elements will have a web element reference (UUID) assigned.
To implement bug 1274251 we will anyway have to provide a separate storage for browsers to avoid mixup of Window objects when looking for duplicates when adding new elements to the store.
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
Windows do not naturally belong in the seen element store, and it is
not naturally related to the scope as that of a browser.
Review commit: https://reviewboard.mozilla.org/r/54570/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/54570/
Attachment #8755358 -
Flags: review?(dburns)
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8755358 [details]
MozReview Request: Bug 1274638 - Store weak refs to windows outside of element store; r?automatedtester
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/54570/diff/1-2/
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8755358 [details]
MozReview Request: Bug 1274638 - Store weak refs to windows outside of element store; r?automatedtester
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/54570/diff/2-3/
Comment 4•9 years ago
|
||
Comment on attachment 8755358 [details]
MozReview Request: Bug 1274638 - Store weak refs to windows outside of element store; r?automatedtester
https://reviewboard.mozilla.org/r/54570/#review51250
Attachment #8755358 -
Flags: review?(dburns) → review+
Comment 6•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Comment 7•9 years ago
|
||
bugherder uplift |
status-firefox48:
--- → fixed
Comment 8•9 years ago
|
||
bugherder uplift |
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•