6162 Commits

Author SHA1 Message Date
arno renevier
46c2f6aa69 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00
Philipp von Weitershausen
13a22e8e30 Merge services-central with mozilla-central 2011-08-31 11:20:28 -07:00
Rob Campbell
c4dc91996b merge m-c to fx-team 2011-08-31 09:21:43 -03:00
Marina Samuel
9d1d4fa01c Bug 683254 - On startup with no network, sync icon spins endlessly. r=philikon 2011-08-30 15:38:31 -07:00
Marco Castelluccio
d44060b2e9 Bug 521264 - Don't use file.exists() when not necessary - browser/base part; r=dietrich 2011-08-30 22:45:31 +01:00
Mike Ratcliffe
12e6d21845 Bug 672743 - Remove category view from style inspector; r=msucan 2011-08-30 13:40:29 -03:00
Philipp von Weitershausen
6476aa6f95 Merge m-c to s-c 2011-08-29 12:58:49 -07:00
Rob Campbell
3794850963 merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Marina Samuel
c2d667b7f6 Bug 659067 - Part 3: Only show network errors for user triggered sync, not for scheduled ones. r=philikon 2011-08-26 14:01:35 -07:00
Marina Samuel
7d6c711d1c Bug 659067 - Part 2: Move _syncError to ErrorHandler. r=philikon 2011-08-26 14:01:35 -07:00
Marina Samuel
304bad1663 Bug 659067 - Part 1: Move error handling and logging from Service to ErrorHandler. r=philikon
--HG--
rename : services/sync/tests/unit/test_service_filelog.js => services/sync/tests/unit/test_errorhandler_filelog.js
rename : services/sync/tests/unit/test_service_sync_checkServerError.js => services/sync/tests/unit/test_errorhandler_sync_checkServerError.js
2011-08-26 14:01:35 -07:00
Jez Ng
3ef3452ea5 Bug 631189 - 'About Mozilla' link overlaps other page elements at small window sizes. r=mak 2011-08-26 20:50:23 +01:00
Ed Morley
a2163dc998 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Rob Campbell
2e704d8caf merge fx-team to m-c 2011-08-25 15:31:27 -03:00
Raymond Lee
7da0076650 Bug 681599 - Ctrl+T while in search mode should close search layer; r=ttaubert 2011-08-25 18:53:40 +08:00
Tim Taubert
deaad8d8ef merge the last green changeset on m-c to fx-team 2011-08-25 11:19:18 +02:00
Ed Morley
713d051a87 Merge tip of m-c to m-i (will need clobber) 2011-08-25 08:45:33 +01:00
Ed Morley
cba35094d2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-08-25 01:09:05 +01:00
Landry Breuil
3b0410e4e6 Bug 679324 - Don't show the update channel on the about dialog if the updater is disabled; r=margaret 2011-08-24 15:48:02 +01:00
Mihai Sucan
ab3c1bc3d6 Bug 566084 - Highlighter should be disabled when navigating to new pages; f=rcampbell r=rcampbell,dolske,dao ui-r=limi 2011-08-23 23:34:32 +03:00
Raymond Lee
c40f44a19d Bug 674794 - favicons of app tabs aren't updated on Panorama r=tim 2011-08-23 22:48:53 +08:00
Tim Taubert
a7333a73b1 Bug 679853 - switching from private browsing does not show panorama if it was open before; r=dietrich 2011-08-24 13:38:17 +02:00
Rob Campbell
3f94e66677 merge m-c to fx-team 2011-08-23 10:00:28 -03:00
Tim Taubert
ddfd5de629 merge m-c to fx-team 2011-08-22 14:06:39 +02:00
Tim Taubert
456dc55387 merge the last green changeset on fx-team to m-c 2011-08-22 08:47:16 +02:00
Tim Taubert
8d79b06173 Back out bug 674926 (changeset 7837b186b10b) 2011-08-21 20:16:13 +02:00
Tim Taubert
735829a4bc Bug 650280 - Switching from Private Browsing to Normal Browsing keeps search strings while in Panorama; r=ehsan 2011-08-21 16:29:49 +02:00
Tim Taubert
c3b15418be Bug 674926 - refactor the webProgressListener used to keep track of whether to save tab thumbnails; r=dietrich
--HG--
rename : browser/base/content/test/tabview/browser_tabview_bug627239.js => browser/base/content/test/tabview/browser_tabview_storage_policy.js
2011-08-21 16:29:43 +02:00
Jonas Sicking
3cf6d963ce Bug 681870: Properly ensure that only one window opens indexedDB prompts. r=bent 2011-08-24 23:14:55 -07:00
Philipp von Weitershausen
3e6716127a Bug 681519 - ID for change.synckey.acceptButton has not been changed. r=rnewman 2011-08-23 18:34:23 -07:00
Allison Naaktgeboren
f99fc1128e Merge services-central into mozilla-central. 2011-08-23 14:38:16 -07:00
Marco Bonardo
8ad28d0ee6 Bug 680550 - Handle removeAllPages more sanely in tests.
r=dietrich
2011-08-23 14:34:15 +02:00
Richard Newman
697a053b1c Merge mozilla-central to services-central. 2011-08-22 08:03:23 -07:00
Allison Naaktgeboren
7d72d59d44 Bug 656492 - Rename "Sync Key" to "Recovery Key". r=philikon 2011-08-19 14:35:29 -07:00
Dão Gottwald
237b442859 Bug 673528 - Only add www and a domain suffix when the typed domain contains no dot, colon or space. r=gavin, ui-r=faaborg 2011-08-19 11:17:39 +02:00
Dão Gottwald
bc3a53d632 Backed out changeset e68b6ce72fc3 2011-08-19 11:07:08 +02:00
Rob Campbell
2d7931c4ad merge fx-team to m-c 2011-08-18 16:32:06 -03:00
Jan Varga
78e4db599e A followup for bug 617528 - implement the HTML5 "context menu" feature (contextmenu attribute). Merged "generated" and "ident" XUL attribute into "generateditemid" and renamed PageMenu.init() to PageMenu.maybeBuildAndAttachMenu(). r=enn 2011-08-18 18:37:26 +02:00
Raymond Lee
f88c343aa1 Bug 628887 - When in an expanded stack, arrow keys should only move between those r=tim 2011-08-18 10:56:25 +08:00
arno renevier
24449bb83a Bug 680883 - unneeded nsIPluginHost QueryInterface in sanitize.js and nsPrivateBrowsingService.js; r=ehsan 2011-08-22 14:29:20 -04:00
Kyle Simpson
88900d82b0 Bug 575234 - Create attribute-value editor for HTML inspector; f=pwalton r=rcampbell,gavin.sharp 2011-08-17 09:16:15 -03:00
Rob Campbell
793eb5d860 merged m-c to fx-team, browser_595601-restore_hidden.js conflicted 2011-08-16 12:21:00 -03:00
Tim Taubert
f3bb27e32e 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
58cfb803b8 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
Dão Gottwald
a32551add5 merge backout 2011-08-15 19:50:24 +02:00
Dão Gottwald
114937eca8 Backed out changeset 7715bba5cc3a 2011-08-15 19:49:57 +02:00
Dão Gottwald
11598fabf9 merge backout 2011-08-15 19:49:22 +02:00
Dão Gottwald
69a0f2810f Backed out changeset 1608aa3ce9d3 2011-08-15 19:48:43 +02:00
Mihai Sucan
bbc87a0f56 Bug 566084 - Inspect gets disabled when navigating to new pages; f=rcampbell r=rcampbell,dolske ui-r=limi 2011-08-15 20:02:43 +03:00
Tim Taubert
e421621ada Bug 626455 - modal dialog in onbeforeunload: browser freeze after removing last tab group in panorama; r=dietrich 2011-08-15 16:03:39 +02:00