Closed
Bug 791669
Opened 12 years ago
Closed 12 years ago
[New Tab Page] don't immediately preload the new tab page on startup
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 18
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file)
2.54 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
After delayed startup, we should wait for a couple of seconds (like the download manager does before resuming) until we start preloading new tab pages in the background. This feature must not interfere with startup times.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #662564 -
Flags: review?(jaws)
Comment 2•12 years ago
|
||
Comment on attachment 662564 [details] [diff] [review] patch v1 Review of attachment 662564 [details] [diff] [review]: ----------------------------------------------------------------- r+ with nit addressed. Thanks for fixing this. Hopefully this is the last remaining piece before we can enable the preload pref. ::: browser/modules/BrowserNewTabPreloader.jsm @@ +58,5 @@ > + } > + }, > + > + observe: function Initializer_observe(aSubject, aTopic, aData) { > + if (aTopic == "browser-delayed-startup-finished") { if (aTopic == TOPIC_DELAYED_STARTUP) {
Attachment #662564 -
Flags: review?(jaws) → review+
Comment 3•12 years ago
|
||
A hardcoded 5s timer is a bit gross, can we file a followup to use some better mechanism (perhaps dependent on bug 712478)?
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #3) > A hardcoded 5s timer is a bit gross, can we file a followup to use some > better mechanism (perhaps dependent on bug 712478)? Yeah I didn't like that too much either but I think we don't have a real alternative at the moment. The download panel does the same with a 10s timer to resume previous downloads. I'll file a follow-up but I'm not sure if bug 712478 can help us with that. Wouldn't we need some event/notification that tells us when user is *not* doing something? Or when the browser has finished doing the important stuff after startup?
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/9c75ed3092e8
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9c75ed3092e8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 18
You need to log in
before you can comment on or make changes to this bug.
Description
•