Closed
Bug 1157966
Opened 10 years ago
Closed 8 years ago
UITour.jsm gets imported for every session due to UITour.onLocationChange
Categories
(Firefox :: Tours, defect)
Firefox
Tours
Tracking
()
People
(Reporter: MattN, Assigned: MattN)
References
()
Details
(Keywords: regression, Whiteboard: [Memshrink:P2] [fixed by bug 1342462])
Since most sessions don't involve tours, we should try to avoid importing UITour.jsm by default. Bug 1134501 made UITour.jsm get called from onLocationChange so everyone gets it loaded now.
See https://mxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserGlue.js#3016
Comment 1•10 years ago
|
||
Should we move the regex url check into browser.js ? Other suggestions? Not really sure how to avoid this situation...
Flags: needinfo?(MattN+bmo)
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #1)
> Should we move the regex url check into browser.js ? Other suggestions?
Yeah, anywhere other than UITour.jsm. IMO it doesn't really belong in there anyways since the reading tour is a consumer of UITour and the code isn't about UITour functionality itself.
Flags: needinfo?(MattN+bmo)
Updated•10 years ago
|
Whiteboard: [Memshrink] → [Memshrink:P2]
Assignee | ||
Comment 3•8 years ago
|
||
I confirmed in a build with the fix from bug 1342462 that UITour.jsm doesn't appear in the debugger script list after startup (without using about:home since it uses UITour).
Assignee: nobody → MattN+bmo
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [Memshrink:P2] → [Memshrink:P2] [fixed by bug 1342462]
Updated•8 years ago
|
status-firefox51:
--- → wontfix
status-firefox52:
--- → wontfix
status-firefox53:
--- → affected
status-firefox54:
--- → fixed
status-firefox-esr52:
--- → affected
Updated•8 years ago
|
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•