Closed Bug 736592 Opened 12 years ago Closed 11 years ago

Use getWeakReference instead of actual references to elements

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
major

Tracking

(firefox23 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)

RESOLVED FIXED
mozilla23
Tracking Status
firefox23 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- fixed

People

(Reporter: mdas, Assigned: mdas)

References

Details

Attachments

(1 file)

Use getWeakReference() calls when keeping the marionette-elements items so we don't have active references.

Make sure to run thorough tests, since test_findelement.py had been failing intermittently when I tried to push this change before, but I have not yet found out the cause.
Severity: normal → major
Comment on attachment 734905 [details] [diff] [review]
use getWeakReference

Review of attachment 734905 [details] [diff] [review]:
-----------------------------------------------------------------

try looks good
Attachment #734905 - Flags: review?(jgriffin)
Comment on attachment 734905 [details] [diff] [review]
use getWeakReference

Review of attachment 734905 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good; if we're still concerned about intermittent failures, we could retrigger the Mn jobs in your try push like a dozen times.
Attachment #734905 - Flags: review?(jgriffin) → review+
https://hg.mozilla.org/mozilla-central/rev/f728c08664a4
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: