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
Masatoshi Kimura
0d8f5dd135
Bug 1353936 - Test to ensure var caches are updated before any other ExactMatch callbacks. r=froydnj
...
MozReview-Commit-ID: KWNxdpFwsjq
2017-04-08 23:45:10 +09: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
Ehsan Akhgari
aa367a9cdd
Bug 1311149 - Remove the b2g preallocated app support; r=baku
2016-11-16 09:17:35 -05:00
Carsten "Tomcat" Book
979d51a6a3
Backed out changeset f1ff6d4dca5f (bug 1311149)
2016-11-16 14:50:40 +01:00
Ehsan Akhgari
a092a1aba9
Bug 1311149 - Remove the b2g preallocated app support; r=baku
2016-11-15 23:21:28 -05: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
Andrew McCreight
10b3af16c8
Bug 1272707, part 2 - Limit the size of preference values sent to child processes. r=bsmedberg
...
Don't send any preferences that have a string value that is longer
than MAX_ADVISABLE_PREF_LENGTH. This is intended to mitigate OOM
issues, as I've seen a parent process crash trying to create a 100mb
message to send to the child. Such users likely cannot use e10s at
all.
This has a test for all combinations of setting the default and user
values of a preference to large or small string values, or not setting
them at all.
I manually verified that filtering out preferences reduces the size of
the IPC::Message that is sent to the child by printing out the size of
the reply message in PContentParent::OnMessageReceived().
2016-05-17 07:55:49 -07: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
Birunthan Mohanathas
25b867caa0
Bug 1070709 - Collapse test-only moz.build files under modules/ into ancestor moz.build files. r=mshal
2015-02-10 18:47:27 +02:00
Gavin Sharp
0034052b15
Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
2015-01-02 17:00:20 -08: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
Mike Hommey
7f7e4faac1
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09: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
Gregory Szorc
94638f8bda
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Joey Armstrong
6af3f1ee26
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Joey Armstrong
6a224ff449
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00