Commit Graph

68 Commits

Author SHA1 Message Date
Florian Quèze
881a50703b Bug 1345294 - nsIPrefBranch should have methods to get/set unicode strings, r=bsmedberg. 2017-03-16 19:26:01 +01:00
Florian Quèze
8e85c687b4 Bug 1338306 - nsIPrefBranch.get*Pref should support providing a default value, r=bsmedberg. 2017-03-01 13:15:35 +01:00
Tooru Fujisawa
f11ca4d10d Bug 1338258 - Remove legacy generator from modules/libpref/test/. r=bsmedberg 2017-02-11 11:47:57 +09:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Ehsan Akhgari
569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
Carsten "Tomcat" Book
cfcaf71156 Backed out changeset f1ff6d4dca5f (bug 1311149) 2016-11-16 14:50:40 +01:00
Ehsan Akhgari
0e176830ff Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-15 23:21:28 -05:00
Sebastian Hengst
3f0d668bb5 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: modules. r=RyanVM
MozReview-Commit-ID: 2tN5AOxZVvU

--HG--
extra : rebase_source : dc9c12b6669fcd72be5042ac19016d8924dcc2ad
2016-11-05 11:29:21 +01:00
Andrew McCreight
f9c73e6cf3 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
be2b50a7f8 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
08997000eb 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
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
64db2267cf 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
bb1c4b905b 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
e1db0f779e 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
409e4e98fe 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
85abd2f149 Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Irving Reid
bc89cfa2a7 Bug 1056170 - Expose pref service 'dirty' flag and test it. r=bsmedberg 2014-09-04 09:52:28 -04:00
Carsten "Tomcat" Book
4a6706885f Backed out changeset 4a4e0c618649 (bug 1056170) for XPC Test Failures 2014-09-04 09:40:01 +02:00
Irving Reid
8b8bcbdcc3 Bug 1056170 - Expose pref service 'dirty' flag and test it. r=bsemdberg 2014-08-27 22:21:07 -04:00
Irving Reid
bb4653fb2a 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
c1739b687d Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-03-18 15:16:02 +01:00
Birunthan Mohanathas
99aff78e1e 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
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Gregory Szorc
7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
David Rajchenbach-Teller
f9d3e576ba 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
fb582fbb30 Backed out changeset 1ca1abed8c9a (bug 872981) for xpcshell crashes.
CLOSED TREE
2013-06-03 16:38:24 -04:00
David Rajchenbach-Teller
c2a9e08661 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
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
3416b992a8 Bug 784841 - Part 18y: Convert /modules; r=glandium 2013-02-25 12:47:23 -08:00
Dave Hylands
4a5d44fb67 Bug 797174 - dom.ipc.processPrelauch is misspelled
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07:00
Scott Johnson
72bd51cb4c 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
Chris Jones
dba4d968d0 Test for bug 783184. r=jdm 2012-08-17 14:12:57 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Lankow
f443f47138 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
c7eec081e4 Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Ms2ger
66852ffea5 Backed out changeset ba447ace2594 (bug 687679) for bustage. 2011-12-16 21:17:16 +01:00
John Schoenick
3973db5adb Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Mike Hommey
2659637471 Bug 671576 - Cleanup temporary files from test_libPrefs.js. r=bsmedberg 2011-07-21 09:57:07 +02:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00