Commit Graph

368 Commits

Author SHA1 Message Date
Tim Taubert
8620769658 Bug 705597 - about:blank subframe entries in session restore make browser slow; r=dietrich 2011-12-09 19:24:49 +01:00
Marco Castelluccio
994cfaae16 Bug 542032 - Don't look up prefs on every tab & window close [r=zpao] 2011-12-02 10:19:45 -08:00
Michael Kraft
5ce030590d 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
ea5e775f2e Bug 707180 - JavaScript strict warning: 'Reference to undefined property aBrowser.__SS_restoreState' [r=zpao] 2011-12-02 10:19:45 -08:00
Tim Taubert
dcb05b841b 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
7c2609892e 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
6cc9a34857 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
53c59b4a37 Bug 701481 - App Tabs lost with current nightly [r=gavin] 2011-11-10 13:55:11 -08:00
Paul O’Shannessy
1577b30f9e 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
85c1d1f02a 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
3243b3e3e2 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
844f3bd523 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
9b318df1a4 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
9f8c44dfdf 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
b92eedcaac Bug 640136 - onchange & input events are not fired for all form elements on restore [r=dietrich]
--HG--
rename : browser/components/sessionstore/test/browser/browser_476161.js => browser/components/sessionstore/test/browser/browser_form_restore_events.js
rename : browser/components/sessionstore/test/browser/browser_476161_sample.html => browser/components/sessionstore/test/browser/browser_form_restore_events_sample.html
2011-11-08 15:23:42 -08:00
Paul O’Shannessy
86fa5bf2d6 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
182625069e merge m-c to fx-team 2011-11-03 09:29:07 -03:00
Heather Arthur
11f9879990 Bug 644409 - Make scratchpads save their state across restarts. r=robcee, r=zpao 2011-11-02 12:32:55 -07:00
Heather Arthur
f05cea7feb Backed out changeset 3b63add3a404 2011-11-02 12:26:59 -07:00
Heather Arthur
44a60097cb Bug 644409 - Make scratchpads save their state across restarts 2011-11-02 12:14:30 -07:00
Paul O’Shannessy
e84fd5faee Backout 78c921e2b56b (bug 640136) for causing bug 698162 2011-10-28 18:11:02 -07:00
Justin Lebar
bd4c218435 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
Tim Taubert
5d75128ffc merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Paul O’Shannessy
d7adb2534c Bug 694378 - session restore fails when selectedWindow > number of windows [r=dietrich] 2011-10-25 10:19:29 -07:00
Paul O’Shannessy
3e170a0571 Bug 640136 - onchange & input events are not fired for all form elements on restore [r=dietrich]
--HG--
rename : browser/components/sessionstore/test/browser/browser_476161.js => browser/components/sessionstore/test/browser/browser_form_restore_events.js
rename : browser/components/sessionstore/test/browser/browser_476161_sample.html => browser/components/sessionstore/test/browser/browser_form_restore_events_sample.html
2011-10-25 10:19:29 -07:00
Alastair Robertson
f3f3bb81db Bug 665702 - expose session information in getBrowserState [r=zpao] 2011-10-25 10:19:29 -07:00
Paolo Amadini
6922ae7b40 Bug 686065 - Don't clear nsSessionStartup::sessionType after the session startup phase finished [r=zpao] 2011-10-25 10:19:28 -07:00
Ed Morley
f0364a4b11 Bug 696820 - Fix typo'd MOZ_CRASHREPORTER ifdefs; r=ted 2011-10-25 13:29:30 +01:00
Justin Lebar
fbe51410e2 Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Justin Lebar
5629c0bfc8 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
e7ce3fbda2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
e295b19833 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
ithinc
c409163aef Bug 682507 - Expose browser restore state as a tab attribute to help style unloaded tabs. r=dietrich 2011-09-27 10:39:22 +02:00
Paul Biggar
d8fd60d75c Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden
--HG--
extra : rebase_source : b2f041ab27c500636598fe6213481c1a5f0989e8
2011-09-22 15:43:11 -07:00
ithinc
72698258cb Bug 684773 - Unpin all tabs earlier when restoring a session in overwriting mode; r=dietrich 2011-09-22 17:35:25 +01:00
ithinc
ea0ed516c3 Bug 687313 - Clear up non-referenced curSHEntry variable; r=dietrich 2011-09-21 19:06:42 +01:00
Ehsan Akhgari
8718a82f9d Backout changesets 8e9aea2febed, 604544452285 and 9f150c4e1a48 because of Mac OS X 32-bit reftest orange
--HG--
extra : rebase_source : dbc017628f469e980efc8edfa26f8cce0ac7a956
2011-09-08 11:30:22 -04:00
Alastair Robertson
bfb1f5a783 Bug 665702 - expose session information in getBrowserState. r=zpao 2011-09-08 12:52:36 +02:00
Jezreel Ng
1bda5bc365 Bug 669272 - Minimize window movement when restoring session; r=zpao 2011-09-05 11:26:06 +01:00
Paul O’Shannessy
a589ee3aa3 Bug 674452 - Always restore pinned tabs (regardless of restore_on_demand) [r=dietrich] 2011-08-30 13:14:58 -07:00
Kyle Huey
38c6a46229 Merge m-i to m-c. 2011-08-22 07:39:22 -04:00
Sander van Veen
5e4ea0ca8d Bug 673331 - Add identifying information to system compartments. r=mrbkap. 2011-08-21 16:02:24 -07:00
Dão Gottwald
beb666f1c0 Backed out changeset e68b6ce72fc3 2011-08-19 11:07:08 +02:00
Rob Campbell
d8672088b4 merged m-c to fx-team, browser_595601-restore_hidden.js conflicted 2011-08-16 12:21:00 -03:00
Tim Taubert
34df3fbbd8 Bug 662812 - Panorama isn't aware of the current SSWindowState when being initialized; r=zpao 2011-08-16 11:06:14 +02:00
Paul O’Shannessy
233cde3cd2 Bug 648683 - Expose tabs on-demand preference [r=dietrich, r=gavin, ui-r=boriss]
This removes the browser.sessionstore.max_concurrent_tabs integer preference in favor of a boolean preference. This disables the hidden way of disabling cascaded restore.
The new browser.sessionstore.restore_on_demand preference is exposed in the "General" pref pane.
2011-08-15 23:24:25 -07:00
Tim Taubert
39212f534a Bug 662812 - Panorama isn't aware of the current SSWindowState when being initialized; r=zpao 2011-08-16 11:06:14 +02:00
Tim Taubert
810a4fb257 Bug 645428 - "sessionstore-windows-restored" is not sent for empty sessions [r=zpao] 2011-08-15 18:20:14 -07:00
Paul O’Shannessy
e46c4778cf Bug 645608 - If FF Window is minimized and restarted, the window is minimized/maximized then restored [r=dietrich] 2011-08-15 18:20:14 -07:00
Justin Lebar
8e5777e1a0 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00