Closed
Bug 722479
Opened 13 years ago
Closed 13 years ago
browser/components/thumbnails/test/ tests leak chrome://global/content/mozilla.xhtml
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 13
Tracking | Status | |
---|---|---|
firefox12 | --- | fixed |
People
(Reporter: dao, Assigned: ttaubert)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 2 obsolete files)
930 bytes,
patch
|
dao
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Trivial patch.
Reporter | ||
Updated•13 years ago
|
Attachment #593766 -
Flags: review?(dao) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 13
Assignee | ||
Comment 3•13 years ago
|
||
Backed out:
https://hg.mozilla.org/integration/fx-team/rev/403652510ddd
This fix only worked on OS X, not on any other OS (oranges instead).
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 4•13 years ago
|
||
Sent this patch to try and it works now on all platforms.
Attachment #593766 -
Attachment is obsolete: true
Attachment #594128 -
Flags: review?(dao)
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 594128 [details] [diff] [review]
patch v2
>+ cachedXULDocument = cachedXULFrame = null;
This shouldn't be needed.
What guarantees that getXULDocument won't be called multiple times, creating multiple iframes and removing only the last one?
Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #5)
> What guarantees that getXULDocument won't be called multiple times, creating
> multiple iframes and removing only the last one?
Something much easier that works for multiple iframes.
Attachment #594128 -
Attachment is obsolete: true
Attachment #594128 -
Flags: review?(dao)
Attachment #594302 -
Flags: review?(dao)
Reporter | ||
Comment 7•13 years ago
|
||
Comment on attachment 594302 [details] [diff] [review]
patch v3
registerCleanupFunction(function () { doc.body.removeChild(iframe); });
registerCleanupFunction(function () doc.body.removeChild(iframe)); translates to:
registerCleanupFunction(function () { return doc.body.removeChild(iframe); });
Attachment #594302 -
Flags: review?(dao) → review+
Assignee | ||
Comment 8•13 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #7)
> registerCleanupFunction(function () doc.body.removeChild(iframe));
> translates to:
> registerCleanupFunction(function () { return doc.body.removeChild(iframe);
> });
I know, didn't think it's a big deal but actually you're right. We better be explicit about that.
https://hg.mozilla.org/integration/fx-team/rev/a7ea6d49bc69
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 10•13 years ago
|
||
Comment on attachment 594302 [details] [diff] [review]
patch v3
[Approval Request Comment]
Risk to taking this patch (and alternatives if risky): Very low risk.
String changes made by this patch: None.
Prevents the thumbnail tests from leaking.
Attachment #594302 -
Flags: approval-mozilla-aurora?
Comment 11•13 years ago
|
||
Comment on attachment 594302 [details] [diff] [review]
patch v3
[Triage Comment]
Test fix for Aurora 12 - approved.
Attachment #594302 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 12•13 years ago
|
||
Updated•13 years ago
|
status-firefox12:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•