Closed
Bug 1128500
Opened 9 years ago
Closed 9 years ago
Put |HiddenFrame| from CustomizationTabPreloader.jsm in HiddenFrame.jsm
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 38
People
(Reporter: Dexter, Assigned: Dexter)
References
Details
Attachments
(2 files, 5 obsolete files)
(deleted),
patch
|
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
As suggested in bug 1111022, since we might be reusing this code in different places, put the |HiddenFrame| object from CustomizationTabPreloader.jsm in a separate module, HiddenFrame.jsm.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → alessio.placitelli
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8557908 -
Flags: feedback?(ttaubert)
Comment 2•9 years ago
|
||
Comment on attachment 8557908 [details] [diff] [review] part 1 - Create HiddenFrame.jsm module. Review of attachment 8557908 [details] [diff] [review]: ----------------------------------------------------------------- Is that also the bug for converting CustomizationTabPreloader.jsm to use it? ::: browser/modules/HiddenFrame.jsm @@ +64,5 @@ > + this._frame.addEventListener("load", this, true); > + doc.documentElement.appendChild(this._frame); > + } else { > + let flags = Ci.nsIThread.DISPATCH_NORMAL; > + Services.tm.currentThread.dispatch(() => this._create(), flags); Can you please use setTimeout() from Timer.jsm here? I think that didn't exist back then. Or I just didn't know of it yet :)
Attachment #8557908 -
Flags: feedback?(ttaubert) → feedback+
Assignee | ||
Comment 3•9 years ago
|
||
As discussed over IRC, this patch changes the behaviour of HiddenFrame so that the IFRAME is no longer shared among different users. This prevents problems when cleaning up and should make it easier to use HiddenFrame in other places in the codebase.
Attachment #8557908 -
Attachment is obsolete: true
Attachment #8559144 -
Flags: review?(ttaubert)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8559145 -
Flags: review?(ttaubert)
Updated•9 years ago
|
Attachment #8559145 -
Flags: review?(ttaubert) → review+
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 5•9 years ago
|
||
Comment on attachment 8559144 [details] [diff] [review] part 1 - Create HiddenFrame.jsm module. Review of attachment 8559144 [details] [diff] [review]: ----------------------------------------------------------------- LGTM! Please check that it passes the Customizable UI tests.
Attachment #8559144 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Try push for mochitests (Linux, Macos, Win): https://treeherder.mozilla.org/#/jobs?repo=try&revision=4e9a3171f944 There were 2 intermittent failures and 1 exceptions. I've retriggered them, all green now!
Assignee | ||
Comment 7•9 years ago
|
||
More comprehensive testing: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c1c2d7f1a014
Assignee | ||
Comment 8•9 years ago
|
||
Updated the commit message.
Attachment #8559144 -
Attachment is obsolete: true
Assignee | ||
Comment 9•9 years ago
|
||
Updated the commit message.
Attachment #8560319 -
Attachment is obsolete: true
Assignee | ||
Comment 10•9 years ago
|
||
Updated the commit message.
Attachment #8559145 -
Attachment is obsolete: true
Assignee | ||
Comment 11•9 years ago
|
||
Removes the browser before cleaning up the frame.
Attachment #8560323 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0f245324c0af https://hg.mozilla.org/integration/fx-team/rev/96bcf8f603f2
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 13•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0f245324c0af https://hg.mozilla.org/mozilla-central/rev/96bcf8f603f2
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
Assignee | ||
Comment 14•9 years ago
|
||
Tim, do you think this could be uplifted to 37 beta 2? What's the risk involved in doing that? We need it for bug 1111022 uplift.
Flags: needinfo?(ttaubert)
Comment 15•9 years ago
|
||
Risk should be rather low. We're just moving around code, not really changing how things work.
Flags: needinfo?(ttaubert)
Assignee | ||
Comment 16•9 years ago
|
||
Comment on attachment 8560322 [details] [diff] [review] part 1 - Create HiddenFrame.jsm module. We would like to uplift this to Firefox 37 Beta 2. This should be uplifted along the following bugs (order matters): * 1128500 (this bug) * 1126756 (UITour changes) * 1128564 (whitelist selfsupport URL) * 1111022 (Self-Support backend) [Feature/regressing bug #]: Needed for heartbeat / selfsupport v0, bug 1111016 [User impact if declined]: Heartbeat and self-support will not be available for the user. [Describe test coverage new/current, TreeHerder]: Customizable UI Tests cover this change. [Risks and why]: Risk should be rather low. We're just moving around code, not really changing how things work. [String/UUID change made/needed]: No
Attachment #8560322 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 17•9 years ago
|
||
Comment on attachment 8560877 [details] [diff] [review] part 2 - Make CustomizationTabPreloader.jsm use HiddenFrame.jsm (v2) We should uplift this after part 1 as well.
Attachment #8560877 -
Flags: approval-mozilla-beta?
Comment 18•9 years ago
|
||
Comment on attachment 8560322 [details] [diff] [review] part 1 - Create HiddenFrame.jsm module. Code change is isolated for use with Heatbeat and has been on m-c for 2 weeks. Beta+
Attachment #8560322 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•9 years ago
|
Attachment #8560877 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 19•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/3d6eaf96ca69 https://hg.mozilla.org/releases/mozilla-beta/rev/cae785163094
status-firefox37:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•