Benjamin Smedberg
9db7895288
Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
...
MozReview-Commit-ID: FD5npJlB24W
2017-06-21 15:26:10 -04:00
Florian Quèze
c0468168f5
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Phil Ringnalda
c64cad4109
Backed out changeset 4f0ee0f75a30 (bug 1367813) for Windows opt permaorange in test_worker_basic.html
...
MozReview-Commit-ID: 2k693yFa28r
2017-06-22 20:43:11 -07:00
Benjamin Smedberg
d6e744168b
Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
...
MozReview-Commit-ID: FD5npJlB24W
2017-06-21 15:26:10 -04:00
Florian Quèze
ecd98ba423
Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Florian Quèze
d0406d270c
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Milan Sreckovic
450397e83e
Bug 1364146: Only reset the prefs dirty flag when we save to the default prefs file, not on a save to another file. r=bsmedberg
...
MozReview-Commit-ID: ITskObzuTTb
2017-05-16 13:10:40 -04:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Eric Rahm
9674fa11ad
Bug 1354613 - Part 2: Fix GetFloatPref on non-root branches. r=bsmedberg
...
MozReview-Commit-ID: 1NLBQQ40sae
2017-04-11 14:00:17 -07:00
Eric Rahm
a3c94fe7b1
Bug 1354613 - Part 1: Fix the observer portion of test_libPrefs.js. r=bsmedberg
...
This updates test_libPrefs.js so that it actually runs all the observer
portion of it's tests. Previously the observer callback would get hit before
the next do_test_pending call could be run, thus causing the test to end.
An additional test was added to confirm that registering for multiple prefs on
a non-root pref branch works as intended.
2017-04-11 14:00:16 -07:00
Florian Quèze
01cf885a20
Bug 1345294 - nsIPrefBranch should have methods to get/set unicode strings, r=bsmedberg.
2017-03-16 19:26:01 +01:00
Florian Quèze
35c91a3a12
Bug 1338306 - nsIPrefBranch.get*Pref should support providing a default value, r=bsmedberg.
2017-03-01 13:15:35 +01:00
Tooru Fujisawa
e73fc0c6e2
Bug 1338258 - Remove legacy generator from modules/libpref/test/. r=bsmedberg
2017-02-11 11:47:57 +09:00
Mark Banner
55868dde7c
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Sebastian Hengst
a2b204200a
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: modules. r=RyanVM
...
MozReview-Commit-ID: 2tN5AOxZVvU
2016-11-05 11:29:21 +01:00
ISHIKAWA, Chiaki
9ee69e3ce0
Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
...
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check
- the outdated 0666 octal constant is still parsed correctly,
- the outdated 0666 octal constant raises syntax error flag
in strict mode, etc.
So leave them alone.
2016-02-15 08:57:00 +01:00
Carsten "Tomcat" Book
036e6d2fa3
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902 )
Backed out changeset d70c7fe532c6 (bug 1202902 )
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902 )
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Mark Hammond
3159e9000c
Bug 1098343 (part 1) - support 'sticky' preferences, meaning a user value is retained even when it matches the default. r=bsmedberg
2015-04-30 17:13:40 +10:00
ziyunfei
649e7033e4
Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till
2015-04-30 00:32:05 +09:00
Andrew Halberstadt
11b824f09b
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Shu-yu Guo
40c62f33a5
Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin)
2014-09-15 16:30:47 -07:00
Irving Reid
8291076c6b
Bug 1056170 - Expose pref service 'dirty' flag and test it. r=bsmedberg
2014-09-04 09:52:28 -04:00
Carsten "Tomcat" Book
b519310740
Backed out changeset 4a4e0c618649 (bug 1056170) for XPC Test Failures
2014-09-04 09:40:01 +02:00
Irving Reid
a12291fd01
Bug 1056170 - Expose pref service 'dirty' flag and test it. r=bsemdberg
2014-08-27 22:21:07 -04:00
Irving Reid
d390c6724f
Bug 985998 - Allow set*Pref() to override type of prefs with no default value. r=bsmedberg,khuey
2014-04-23 09:48:24 -04:00
Paolo Amadini
19e9ab1a3b
Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric
2014-03-18 15:16:02 +01:00
Birunthan Mohanathas
56e7081bfa
Bug 943527 - Apply the 1MB pref length limit in the pref backend as well. r=bsmedberg
2014-01-21 15:51:05 -05:00
Gregory Szorc
189afd1a65
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
2013-09-24 11:50:08 -07:00
David Rajchenbach-Teller
277736d01a
Bug 872981 - Print a warning whenever something attempts to store more than 4kb of preferences. r=bsmedberg
2013-06-04 08:21:06 -04:00
Ryan VanderMeulen
13d516d994
Backed out changeset 1ca1abed8c9a (bug 872981) for xpcshell crashes.
...
CLOSED TREE
2013-06-03 16:38:24 -04:00
David Rajchenbach-Teller
d2339047da
Bug 872981 - Print a warning whenever something attempts to store more than 4kb of preferences. r=bsmedberg
2013-06-03 15:30:57 -04:00
Scott Johnson
7595cc4cca
Bug 790374: Add a GetFloat() API to libpref which uses a string preference as storage. [r=bsmedberg]
2012-09-26 15:53:37 -05:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Geoff Lankow
61450198f6
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part B, remove uses of nsIPrefBranch2 in modules/libpref/ ; r=bsmedberg
2012-01-16 21:47:13 +13:00
John Schoenick
a1cdb05405
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Ms2ger
ec54627bab
Backed out changeset ba447ace2594 (bug 687679) for bustage.
2011-12-16 21:17:16 +01:00
John Schoenick
02925f4636
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Mike Hommey
d63c53e87b
Bug 671576 - Cleanup temporary files from test_libPrefs.js. r=bsmedberg
2011-07-21 09:57:07 +02:00
Joel Maher
39ca77fbd2
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Dão Gottwald
d42faf8cd9
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2011-04-17 21:53:25 +02:00
Dan Witte
dd558ada60
Bug 590512 - Firefox 4.0b Crash [@ PL_DHashTableOperate | nsPrefBranch::GetBoolPref(char const*, int*) ]. r=dougt, a=final+
2010-10-07 14:00:17 -07:00
Justin Lebar
ee69e17e58
Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
2010-07-16 14:10:01 -07:00