Commit Graph

638 Commits

Author SHA1 Message Date
Paul O’Shannessy
897f3bbd9f 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
96eb4b94a0 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
5b0f8e06c1 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
00912fc2dc 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
eef169251a 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
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Paul O’Shannessy
865b93db8b 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
20f4788112 merge m-c to fx-team 2011-11-03 09:29:07 -03:00
Heather Arthur
0c0e913bcf Bug 644409 - Make scratchpads save their state across restarts. r=robcee, r=zpao 2011-11-02 12:32:55 -07:00
Heather Arthur
f58f25024b Backed out changeset 3b63add3a404 2011-11-02 12:26:59 -07:00
Heather Arthur
bbea028fe1 Bug 644409 - Make scratchpads save their state across restarts 2011-11-02 12:14:30 -07:00
Paul O’Shannessy
7f0e279cc7 Backout 78c921e2b56b (bug 640136) for causing bug 698162 2011-10-28 18:11:02 -07:00
Justin Lebar
6fee0be50a 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
82d54b90d0 merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Paul O’Shannessy
5b6fc490fd Bug 694378 - session restore fails when selectedWindow > number of windows [r=dietrich] 2011-10-25 10:19:29 -07:00
Paul O’Shannessy
9c28e47c8c 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
eceeafaf99 Bug 665702 - expose session information in getBrowserState [r=zpao] 2011-10-25 10:19:29 -07:00
Paolo Amadini
4d76f53af2 Bug 686065 - Don't clear nsSessionStartup::sessionType after the session startup phase finished [r=zpao] 2011-10-25 10:19:28 -07:00
Paul O’Shannessy
4841795637 Bug 679590 - Intermittent failure in browser_607016.js | sanity check that tab doesn't have extData. r=dietrich 2011-10-25 10:22:03 +02:00
Tim Taubert
4c37cfb21a merge the last green changeset on m-c to fx-team 2011-10-22 21:07:26 +02:00
Paul O’Shannessy
833d74de70 Bug 679590 - debug orange in browser_607016.js 2011-10-21 11:57:43 -07:00
Justin Lebar
f1b1dbc9b2 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
Ed Morley
e38e839b2b Bug 696820 - Fix typo'd MOZ_CRASHREPORTER ifdefs; r=ted 2011-10-25 13:29:30 +01:00
Justin Lebar
c49c011b9d 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
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01: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
Tim Taubert
9d4eb583e4 Bug 648683 - Expose tabs on-demand preference; r=dietrich+gavin, a=broken-merge 2011-08-16 18:59:51 +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
Paul O’Shannessy
1f41354148 Review comments for bug 645428 2011-08-15 18:20:15 -07: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
Jez Ng
6d5349c8d4 Bug 632555 - Scale about:sessionrestore's treeview based on viewport height. r=zpao,dao DONTBUILD 2011-08-05 21:08:31 +02:00
Marco Bonardo
216b7b3cf2 Backout changeset 03f472cf0a5b to reland it with correct author. 2011-08-05 21:12:45 +02:00
Marco Bonardo
3e58190a8a Bug 632555 - Scale about:sessionrestore's treeview based on viewport height. r=zpao,dao 2011-08-05 21:08:31 +02:00
Marco Bonardo
5e27f4fd35 Merge mozilla-central and mozilla-inbound in the hope to reopen soon a CLOSED TREE 2011-08-05 17:09:02 +02:00
Tim Taubert
2c846a49c3 Bug 651643 - Private browsing service executes transition even when no mode switch required; r=ehsan,zpao 2011-08-04 03:49:38 +02:00
Jez Ng
393c1a4a80 Bug 675359 - Follow-up fix for bug 588506: Remove unused code. r=zpao 2011-08-03 11:20:32 -07:00
Dave Townsend
9c67fb66a1 Bug 670033: Persist deferred session across a browser restart. r=zpao 2011-08-04 15:22:08 -07:00
Jez Ng
43696254c8 Bug 660785 - Respect startup prefs after closing in private browsing mode. [r=zpao] 2011-08-01 16:14:19 -07:00
Paul O’Shannessy
94a8ad8be3 Bug 669196 - Patch 2: Handle more failures from shistory gracefully, so session restore keeps updating. [r=gavin] 2011-08-01 16:14:19 -07:00
ithinc
1f67193253 Bug 655550 - Persisted tab attribute gets lost after restart twice [r=zpao] 2011-07-28 13:47:16 -07:00
Alastair Robertson
dd73c42fd9 Bug 644998 - Session should not be restorable after clearing history, r=zpao/gavin 2011-07-28 13:20:52 -07:00
Paul O’Shannessy
16d4f7e34b Followup to bug 670040 - update comment to reflect new usage. DONTBUILD 2011-07-25 16:29:57 -07:00
Paul O’Shannessy
9da7f6e90f Bug 668865 - Store _scheme & _host in _serializeHistoryEntry [r=dietrich]
Previously we would call NewURI for every shistory entry after we serialized the spec. We now avoid doing that as well as excessive RegExp matching.
2011-07-25 14:01:40 -07:00
Paul O’Shannessy
bd7246d38d Bug 669196 - Handle failures from shistory gracefully, so session restore keeps updating. [r=dietrich] 2011-07-22 10:36:49 -07:00
Dave Townsend
c3f85f67d8 Bug 670040: Make nsISessionStartup.state a jsval to save repeatedly stringifying/parsing the initial state. r=zpao 2011-07-15 09:42:21 -07:00
ithinc
a5f0e9f312 Bug 613530 - Fix a typo in nsSessionStore.js [r=zpao] 2011-07-11 15:09:47 -07:00
Jezreel Ng
13340b6c34 Bug 668316 - Implement canDrop for session restore's treeView. [r=zpao] 2011-07-11 15:09:47 -07:00
Paul O’Shannessy
5dc68c6375 Bug 668646 - Invalid cookie hosts causes sessionstore to stop updating [r=dietrich] 2011-07-11 15:09:47 -07:00
Taras Glek
31971d8173 Bug 666707 - Add a telemetry probe to record whether we started following a successful shutdown r=zpao 2011-06-28 16:54:36 -07:00
Dão Gottwald
a75c615397 Bug 658738 - split browser_394759.js into three tests
--HG--
rename : browser/components/sessionstore/test/browser/browser_394759.js => browser/components/sessionstore/test/browser/browser_394759_basic.js
rename : browser/components/sessionstore/test/browser/browser_394759.js => browser/components/sessionstore/test/browser/browser_394759_behavior.js
rename : browser/components/sessionstore/test/browser/browser_394759.js => browser/components/sessionstore/test/browser/browser_394759_purge.js
extra : rebase_source : 57e50abbb07592bafb63dd84abdb827f15c8c3cf
2011-06-27 13:25:10 +02:00
Mounir Lamouri
45fde43e01 Merging mozilla-inbound and mozilla-central. 2011-06-27 11:04:05 +02:00
Dão Gottwald
20c7bbd552 Bug 667202 - Provide 'ss' centrally for all browser-chrome sessionstore tests. r=zpao
--HG--
extra : rebase_source : e01e92d9fef5d91d3220b70412f907f2265f5c2b
2011-06-25 23:38:31 +02:00
Jan Varga
99bb48adb6 Bug 635673 - Fix automatic test. 2011-06-25 15:50:21 +02:00
Marco Bonardo
5fe0614d99 Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-25 12:04:08 +02:00
Dão Gottwald
563fc81b58 No bug - Remove browserWindowsCount checks from sessionstore tests since the browser-chrome test framework does similar checks 2011-06-25 09:39:42 +02:00
Mounir Lamouri
3c638f1884 Merge last green changeset of mozilla-inbound into mozilla-central. 2011-06-23 11:15:52 +02:00
Dão Gottwald
5bb3d596f5 Bug 665580 - Hide http:// and single trailing slashes in the location bar. ui-r=faaborg r=sdwilsh 2011-06-23 10:13:41 +02:00
Ehsan Akhgari
2d2949a90d Bug 595292 - browser_394759.js seems to hit network with dns failures; r=zpao
DONTBUILD
2011-06-22 18:42:10 -04:00
Paul O’Shannessy
a3734aa916 Bug 625016 - Restore windows closed in succession to quit (non-OSX only) [r=dietrich] 2011-06-21 11:09:07 -07:00
Paul O’Shannessy
dd8b38f8d9 Backout 3b59c196aaf9 - no bug # in commit message 2011-06-21 11:06:02 -07:00
Paul O’Shannessy
30cd0d9acc Bug 665260 - Store start time in sessionstore data [r=dietrich] 2011-06-21 10:44:10 -07:00
Paul O’Shannessy
1aa3a8204e Users have app tab and panorama data loss depending on window close order [r=dietrich] 2011-06-21 10:44:10 -07:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Phil Ringnalda
3d117e39d5 No bug, arguments.calle typo 2011-06-25 11:46:05 -07:00
Mounir Lamouri
3be4c39ecb Merging mozilla-inbound with mozilla-central. 2011-06-18 18:29:10 +02:00
Paul O’Shannessy
ea4048a5ca Backed out changeset 8cc188180ab5 (Bug 625016) 2011-06-17 15:22:23 -07:00
Paul O’Shannessy
06208810a3 Bug 625016 - Users have app tab and panorama data loss depending on window close order [r=dietrich] 2011-06-17 12:38:38 -07:00
Paul O’Shannessy
4789fe8da8 Bug 661755 - [session restore cleanup] Fix line endings in tests [r=dietrich] 2011-06-17 12:37:55 -07:00
Jezreel Ng
ad4282e6ca Bug 588506 - nsSessionStartup is keeping restored session in memory [r=zpao] 2011-06-17 12:37:39 -07:00
Ed Morley
0e29105439 Bug 664979 - Merge nsISHistory_2_0_BRANCH into nsISHistory; r=bz 2011-06-18 11:03:17 +02:00
Tim Taubert
4d83370881 Bug 659591 - Fire SSWindowClosing when session store handles a closing window (on domwindowclosed); r=zpao 2011-06-10 11:40:10 +02:00
Dão Gottwald
dfd0fdcac6 Bug 658738 - clean out each test's scope. r=gavin 2011-06-10 09:00:45 +02:00
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Hiroyuki Ikezoe
45be819b6d Bug 618188 followup - Do not remove observer twice. r=zpao 2011-05-20 10:12:07 -07:00
Alastair Robertson
049d1391bb Bug 606681 - deleteTabValue should not throw an exception [r=zpao] 2011-05-19 05:56:00 -07:00
Matt Brubeck
1c64bdfbf1 Bug 658259 - Incorrect function tested in browser/components/sessionstore/test/browser/browser_345898.js [r=zpao] 2011-05-20 09:45:42 -07:00
Tim Taubert
6873861a2b Bug 595601 - Option to not load tabs from inactive groups on initial browser startup (and until such time as the tab(s) become part of an active group); r=zpao 2011-05-20 00:07:55 +02:00
Tim Taubert
7c8e27679a Bug 636279 - _tabsRestoringCount goes negative if setBrowserState called at browser startup and last session had pinned tab(s); r=zpao 2011-05-19 23:53:59 +02:00
Tim Taubert
f2abe04c73 Bug 618188 - browser-chrome: browser_600545.js (and _601955.js) intermittently times out; r=zpao 2011-05-17 00:41:28 +02:00
Paul O’Shannessy
1f423e446c Bug 628043 - The last closed window is restored when a secondary window is left open and a new browser window is opened [r=dietrich] 2011-05-13 13:45:43 -07:00
Paul O’Shannessy
61e88cda64 Bug 504714 - about:sessionrestore should suppress middlemouse.contentLoadURL [r=dietrich] 2011-05-13 13:45:43 -07:00