Closed
Bug 961792
Opened 10 years ago
Closed 10 years ago
Avoid needless iteration when looking up current window ID in Marionette
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(b2g-v1.3 fixed)
RESOLVED
FIXED
mozilla29
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | fixed |
People
(Reporter: ato, Assigned: ato)
Details
Attachments
(1 file)
928 bytes,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
At testing/marionette/marionette-server.js:1164 the for-each loop used to look up the current window's server-assigned unique identifier continues after the response has been sent. This is unnecessary and a potential synchronization problem.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=ef2d2e329c7f
Attachment #8362611 -
Flags: review?(mdas)
Comment 2•10 years ago
|
||
Comment on attachment 8362611 [details] [diff] [review] 0001-Bug-961792-Break-iteration-when-browser-is-found.patch Review of attachment 8362611 [details] [diff] [review]: ----------------------------------------------------------------- good catch!
Attachment #8362611 -
Flags: review?(mdas) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/301044380886
Keywords: checkin-needed
Comment 4•10 years ago
|
||
Something in the push for this, bug 941132, and bug 941136 broke all Marionette-based test suites. Backed out. https://hg.mozilla.org/integration/mozilla-inbound/rev/80ac99aa1dbf https://tbpl.mozilla.org/php/getParsedLog.php?id=33345104&tree=Mozilla-Inbound https://tbpl.mozilla.org/php/getParsedLog.php?id=33345278&tree=Mozilla-Inbound
Assignee | ||
Comment 5•10 years ago
|
||
It seems the sinning commit is bug 941132: https://tbpl.mozilla.org/?tree=Try&rev=596c2cbd9f84 <-- https://tbpl.mozilla.org/?tree=Try&rev=723688651c6c https://tbpl.mozilla.org/?tree=Try&rev=07d800bd841b
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ae45c9201c8b
Keywords: checkin-needed
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ae45c9201c8b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•10 years ago
|
status-b2g-v1.3:
--- → fixed
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
•