gecko-dev/toolkit
Sebastian Kaspari 1fd7001f01 Bug 1199596 - Only install "Parental Controls Theme" for restricted profiles and not guest profiles. r=ally
From browser.js's point of view there's no difference between restricted and guest profiles. Both use the
parental controls API. So there are only two "simple" solutions here:

* 1) Add a method to nsIParentalControlsService to determine whether the current profiles is a restricted or
  a guest profile (Something like isGuest()). But then every platform using this interface would require
  to at least implement a stub for this method.

* 2) Add a new restriction that controls installing the theme.

This patch implements option 2. While this restriction is not of much use besides deciding whether we need
to install a specialized theme (DISALLOW_DEFAULT_THEME), it still offers the most flexibility. In a
follow-up bug we could decide to make the restriction configurable by the device admin (requires localized
strings).

--HG--
extra : commitid : 1HcJmNLuz7b
extra : rebase_source : d43407713b7d41a546213e75b7d5e4f03a8b3d78
2015-08-31 18:09:42 +02:00
..
components Bug 1199596 - Only install "Parental Controls Theme" for restricted profiles and not guest profiles. r=ally 2015-08-31 18:09:42 +02:00
content Bug 1171382 - Add logic to not render empty keyed histograms. r=gfritzsche 2015-08-26 12:57:00 -04:00
crashreporter Bug 1199662 - Crash ping environment block is broken when any string field contains a quotation mark. Unescape INI fields properly using the library that already exists for the purpose. r=ted 2015-08-28 12:53:43 -04:00
devtools Bug 1194827 - [promise-dbg] Implement panel startup and destroy r=fitzgen 2015-09-01 21:55:15 -07:00
forgetaboutsite Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
identity Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
library Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
locales Bug 970625 - Add dpi-option to screenshot command. r=jryans 2015-08-27 04:17:00 -04:00
modules Bug 1190503 - Add telemetry to report details on GMP update failures - r=cpearce,vladan 2015-09-01 17:31:48 +12:00
mozapps Bug 1197617 - Fix addon signing tests to work when addon signing is disabled. r=Mossop 2015-09-01 12:48:12 +02:00
obsolete Bug 1134891 - stopgap: don't break if opener is null, r=mconley 2015-02-20 22:06:07 +01:00
profile Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
system Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
themes Backing out bug 1188001 due to unintentional regressions (bug 1198424). 2015-08-28 14:13:41 -07:00
webapps Bug 1199844 - limit webapp debug logging to webapp tests; r=fabrice 2015-08-30 15:44:29 -07:00
xre Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
moz.build Bug 1166964 - Disable Breakpad INFO logging. r=ted 2015-06-08 13:04:04 -05:00
toolkit.mozbuild Backed out 8 changesets (bug 1123237) CLOSED TREE 2015-08-25 12:42:01 +08:00