Commit Graph

460 Commits

Author SHA1 Message Date
Tim Taubert
869d7701ed Bug 742047 - Part 2 - Refactor SessionStorage.jsm and its API; r=zpao 2012-06-03 11:45:51 +02:00
Tim Taubert
ae99c7781a Bug 742047 - Part 1 - Create SessionStorage.jsm and migrate existing code; r=zpao 2012-06-03 11:45:51 +02:00
Tim Taubert
3730b75806 Bug 664324 - [session restore cleanup] Remove trailing whitespace; r=zpao 2012-05-25 23:39:22 +02:00
Tim Taubert
9108e30dc9 Bug 758568 - Use SessionStoreInternal instead of passing it to SHistory and TabsProgressListeners; r=zpao 2012-05-25 23:11:31 +02:00
Andres Hernandez [:andreshm]
ed025fe007 Bug 745040 - Move the Session Store Service to a module r=zpao 2012-05-14 16:01:21 -06:00
Paul O’Shannessy
ade0bfea75 Bug 739531 - Can't duplicate a tab with designMode and no body; r=ttaubert 2012-05-25 10:43:19 +02:00
Bellindira Castillo [:bellindira]
034c7536d8 Bug 662743 - Session restore should do more than restore a <select>'s selectedIndex; r=zpao 2012-05-17 23:23:35 -06:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Andres Hernandez [:andreshm]
aa8b77f0b3 Bug 742051 - Remove the backwards compatibility for the old formdata format r=zpao 2012-05-14 16:11:43 -06:00
Andres Hernandez [:andreshm]
d9f3747403 Bug 697903 - Move form data functions from sessionstore into JSM r=zpao,ttaubert 2012-05-08 10:36:29 -06:00
Dão Gottwald
3367cbbb3e Bug 751334 - Redundant TabView.init call in restoreWindow leaks the browser window when the window closes before delayedStartup was called. r=ttaubert 2012-05-04 18:17:25 +02:00
Dão Gottwald
6e9aedb9ee Bug 746837 - In undoCloseTab, focus the browser instead of the content window and do it immediately rather than after a timeout. r=zpao a=desktop-only 2012-04-21 14:45:51 +02:00
Myk Melez
748d83f64a bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
Paul O’Shannessy
26042d2824 Bug 745342 - Use more lazy services from Services.jsm [r=dietrich] 2012-04-16 14:26:10 -07:00
Paul O’Shannessy
9be790abd0 Bug 732292 - use XPCOMUtils.defineLazyModuleGetter in sessionstore [r=dietrich] 2012-04-16 14:26:10 -07:00
Max Li
7a6c2bb180 Bug 742098 - refactor observe() into a set of distinct methods [r=zpao] 2012-04-11 12:52:48 -07:00
Tim Taubert
222e54b9bd Bug 701377 - setTabState() always unhides the tab; r=zpao 2012-03-28 09:25:42 +02:00
Tim Taubert
e5c9a46a52 Bug 739805 - Calling getTabState() on a not-yet-restored tab wipes out text and scroll data; r=zpao 2012-03-28 09:13:48 +02:00
20d59afb3f Bug 726235 - Break out XPath code into separate module. r=zpao 2012-03-23 21:47:04 -04:00
Mike Hommey
9565afe7bf Bug 736495 - Some scripts are importing modules with resource:///gre instead of resource:/// and vice-versa. r=gavin 2012-03-16 17:21:19 +01:00
Piers Biddlestone
5cfd5ccd0a Bug 716080 - Restore Previous Session does not re-use blank tabs [r=zpao] 2012-02-27 13:41:22 -08:00
Cameron McCormack
4ca42d4026 Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-17 14:47:39 +11:00
Dietrich Ayala
58cf832b05 Bug 671041 - batch 'o telemetry metrics for session restore.
r=zpao
2012-02-16 19:50:13 +01:00
Geoff Lankow
2e3f95225f Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part D, remove uses of nsIPrefBranch2 in browser/ and mobile/ ; r=bsmedberg 2012-01-17 14:34:51 +13:00
Marco Bonardo
de8434cfcb Backout 7a8b935ab596 (bug 674370) for Paint regression 2012-02-08 09:23:40 +01:00
Cameron McCormack
b98cfeb8d6 Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-08 11:44:45 +11:00
Gavin Sharp
b99fccf404 Bug 717105: add TelemetryTimestamps module to collect arbitrary timestamps with telemetry, and start using it for browser startup and sessionstore, r=zpao, r=taras 2012-01-10 16:19:06 -08:00
Reuben Morais
69b1275690 Bug 708585 - Add a preference to control how app tabs are loaded if restore_on_demand is set. r=zpao 2012-01-20 13:49:15 +01:00
Tim Taubert
a9c2340d30 Bug 705597 - about:blank subframe entries in session restore make browser slow; r=dietrich 2011-12-09 19:24:49 +01:00
Marco Castelluccio
83044975de Bug 542032 - Don't look up prefs on every tab & window close [r=zpao] 2011-12-02 10:19:45 -08:00
Michael Kraft
d820096173 Bug 642624 - If shutdown Firefox when all closed windows are popups, exception occurs and session isn't saved. [r=zpao] 2011-12-02 10:19:45 -08:00
Tobias Markus
75f0c9ed95 Bug 707180 - JavaScript strict warning: 'Reference to undefined property aBrowser.__SS_restoreState' [r=zpao] 2011-12-02 10:19:45 -08:00
Tim Taubert
57bd8935b0 Bug 688695 - Deferred session restore doesn't behave correctly for a single tab group; r=zpao 2011-11-30 07:52:08 +01:00
Paul O’Shannessy
ddd5b389be Bug 467409 - (backslashplosion) Nested about:sessionrestore instances causes huge sessionstore.js file [r=dietrich]
This patch special cases the formdata we store for about:sessionrestore (which allows for nested instances) so that we store it internally as a JS object, as opposed to a string. The end result is that JSON.stringifying state doesn't result in the use of escape characters for that formdata and we no longer have an explosion of backslashes to make sessionstore.js as huge.
2011-11-28 13:02:48 -08:00
Paul O’Shannessy
9a81aea11a Bug 702556 - JS exception "aTabs[0].linkedBrowser is null" in nsSessionStore.js [r=dietrich] 2011-11-28 13:02:48 -08:00
Paul O’Shannessy
21c22c9184 Bug 701481 - App Tabs lost with current nightly [r=gavin] 2011-11-10 13:55:11 -08:00
Paul O’Shannessy
fa2b5bfdbb Bug 698565 (6/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Clear out _lastSessionWindowID and _shouldRestore when possible.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
d1e63a045e Bug 698565 (5/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _host & _scheme out of each entry to the browser.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
cb7604ee51 Bug 698565 (4/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _hosts from data to a new internal data object.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
e6ecd27893 Bug 698565 (3/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _formDataSaved from data to the browser.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
809bc25e46 Bug 698565 (2/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Move _tabStillLoading from data to the browser.
2011-11-08 15:23:43 -08:00
Paul O’Shannessy
f6be032648 Bug 698565 (1/6) - stop excluding keys when calling JSON.stringify() [r=dietrich]
Stop excluding keys.
2011-11-08 15:23:42 -08:00
Paul O’Shannessy
50a7de0a01 Bug 640136 - onchange & input events are not fired for all form elements on restore [r=dietrich] 2011-11-08 15:23:42 -08:00
Paul O’Shannessy
2d26376c94 Bug 690992 - App tabs break deleting cookies on close [r=dietrich]
This does 2 things:
1. Makes sure that we don't try to split cookies in the case of _extractHostsForCookies doesn't return any hosts.
2. If _host & _scheme aren't present for an entry (always true at startup), we will create an nsIURI from the url and extract host & scheme from that.
2011-11-03 13:44:19 -07:00
Rob Campbell
25a47ed9c4 merge m-c to fx-team 2011-11-03 09:29:07 -03:00
Heather Arthur
866b917d64 Bug 644409 - Make scratchpads save their state across restarts. r=robcee, r=zpao 2011-11-02 12:32:55 -07:00
Heather Arthur
12891421f5 Backed out changeset 3b63add3a404 2011-11-02 12:26:59 -07:00
Heather Arthur
45d4498d95 Bug 644409 - Make scratchpads save their state across restarts 2011-11-02 12:14:30 -07:00
Paul O’Shannessy
190fea7f9e Backout 78c921e2b56b (bug 640136) for causing bug 698162 2011-10-28 18:11:02 -07:00
Justin Lebar
7c53b1851a Bug 687710 - Restoring a session with parent-child cycles shouldn't cause a hang. r=mfinkle,zpao 2011-11-01 18:18:23 -04:00