Commit Graph

106840 Commits

Author SHA1 Message Date
Paul Adenot
d1b985c6a9 Bug 790132 - Add a test to make sure media sniffing occurs only when we want. r=bz 2012-09-12 13:04:01 -07:00
Ryan VanderMeulen
4f69cfb725 Bug 789645 - Upgrade to SQLite 3.7.14 (Mozilla changes). r=mak 2012-09-14 16:04:46 -04:00
Ryan VanderMeulen
63578ab807 Bug 789645 - Upgrade to SQLite 3.7.14 (SQLite changes). r=mak 2012-09-14 16:04:46 -04:00
Ralph Giles
4a99a95341 Bug 785057 - Return an error after js exceptions. r=bz
Return PL_DHASH_STOP if JS_SetProperty fails, and check
the return code of the enumerator to propagate the failure
back to javascript through the return value of mozGetMetadata.

In addition, use JS_DefineProperty in mozGetMetadata so
web content can't intercept and alter our creation calls.

JS_SetProperty() will define a new property if it doesn't
exist, but it will also call any existing setters, in
particular those on Object.prototype. This is confusing
for an object that created by a platform object method
from internal data.
2012-09-14 16:04:46 -04:00
Ryan VanderMeulen
00963c882a Merge m-c to inbound. 2012-09-14 16:04:41 -04:00
Andrew Quartey
d72ecf6812 Bug 791091 - Fix build warnings in XPConnect. r=jorendorff 2012-09-14 15:00:01 -04:00
Ehsan Akhgari
a996a4a62d Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-14 14:55:01 -04:00
Thomas Zimmermann
4c6d7cd938 Bug 785171 - Support OOM adjustment via /proc/<pid>/oom_score_adj. r=dhylands
The interface /proc/<pid>/oom_score_adj has been added as a replacement for /proc/<pid>/oom_adj. It
is now supported and used by default within Gonk. If oom_scrore_adj is not available, the code falls
back to the old interface.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
9ccf6066a4 Bug 785171 - Clamp OOM adjustment settings to valid range. r=dhylands
The supported OOM adjustment is between -1000 to 1000. If the user specifies a value outside
this range, we clamp it and output a warning.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
1f17381b82 Bug 785171 - Adopt semantics of /proc/<pid>/oom_score_adjust in preferences. r=dhylands
The preference settings

  hal.processPriorityManager.gonk.backgroundOomAdjust,
  hal.processPriorityManager.gonk.foregroundOomAdjust, and
  hal.processPriorityManager.gonk.masterOomAdjust

have been replaced by

  hal.processPriorityManager.gonk.backgroundOomScoreAdjust,
  hal.processPriorityManager.gonk.foregroundOomScoreAdjust, and
  hal.processPriorityManager.gonk.masterOomScoreAdjust.

The new settings adopt the semantics of /proc/<pid>/oom_score_adj and the default
values have been changed accordingly. The interface to the OOM killer interface is
still /proc/<pid>/oom_adj, and its input values are computed from the settings.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
0efe0ea895 Bug 785171 - Return success from WriteToFile. r=dhylands
For supporting multiple files in the OOM adjustment, we need to know if a file
has been successfully written to. in this case WriteToFile now returns 'true',
otherwise it returns 'false'.
2012-09-14 11:52:07 -07:00
Thomas Zimmermann
64595e0ccc Bug 785171 - Whitespace cleanups. r=dhylands 2012-09-14 11:52:07 -07:00
Jan de Mooij
7094adb7a1 Bug 764743 - Port RegExp.exec -> RegExp.test optimization to IonMonkey. r=sstangl 2012-09-14 18:39:53 +02:00
Doug Turner
288a4898dd Backing out 7653a9cc00ae. Shouldn't have been checked in. r=me 2012-09-14 09:39:44 -07:00
Doug Turner
299c6551e5 Bug 791287 - Device Storage - stat() doesn't always reflect disk usage immediately. r=dougt 2012-09-14 09:33:08 -07:00
Arnaud Sourioux
b20a9a4654 Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron 2012-09-14 09:10:08 -07:00
Gary Kwong
1ab9f9e6fe Bug 727223 - Add test, r=me 2012-09-14 08:33:33 -07:00
Kartikaya Gupta
d9df247b27 Bug 761706 - Make function private. r=mounir 2012-09-14 11:19:40 -04:00
Kartikaya Gupta
316122e620 Bug 761706 - Move application-level receiver objects from GeckoApp to GeckoApplication. r=mfinkle 2012-09-14 11:19:40 -04:00
Kartikaya Gupta
c0b3126a40 Bug 761706 - Bind GeckoBatteryManager to the global application context. r=mfinkle 2012-09-14 11:19:40 -04:00
Kartikaya Gupta
a8a07a26c2 Bug 761706 - Bind GeckoConnectivityReceiver to the global application context. r=mfinkle 2012-09-14 11:19:40 -04:00
Kartikaya Gupta
aa47a724d7 Bug 761706 - Bind GeckoNetworkManager to the global application context. r=mfinkle 2012-09-14 11:19:40 -04:00
Kartikaya Gupta
6c1c71cf87 Bug 761706 - Fix indenting in a few classes. r=mfinkle 2012-09-14 11:19:39 -04:00
Fabrice Desré
e685da5046 Bug 791144 - Remove useless __exposedProps__ [r=mrbkap] 2012-09-14 07:52:31 -07:00
Andrew Quartey
d4c82a3e4a Bug 786172 - Fire change event for file dropped on file select box r=mounir 2012-09-14 10:38:04 -04:00
Vladimir Vukicevic
0932aafa0f b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert 2012-09-14 09:29:51 -04:00
Jacek Caban
75832c960c Bug 791230 - nsTextStore.cpp fails to compile on GCC (mingw) r=masayuki 2012-09-14 16:13:46 +02:00
Simone Carletti
61013a65ed Bug 790635 - Add eco.br to PSL. r=gerv. 2012-09-14 14:58:47 +01:00
Florian Quèze
f5337ac1ee Bug 790947 - Show in the error console the path to the dumped memory reports, r=njn,smaug. 2012-09-14 15:47:12 +02:00
Jan de Mooij
7ef3830905 Bug 790108 part 2 - Use AutoValueArray to root argv array. r=terrence 2012-09-14 13:47:43 +02:00
Jan de Mooij
41ddea2058 Bug 790108 part 1 - Use HandleObject, MutableHandleValue for pop/shift/push stubs. r=dvander 2012-09-14 13:44:15 +02:00
Jose Antonio Olivera Ortega
e7e3b09f31 Bug 785072 - Part 3: Marionette unit test. r=marshall_law 2012-09-14 12:30:59 +02:00
Jose Antonio Olivera Ortega
77d704a4ed Bug 785072 - Part 2: RIL implementation. r=vicamo 2012-09-14 12:30:44 +02:00
Jose Antonio Olivera Ortega
74c18214d2 Bug 785072 - Part 1: ICCD DOM API. r=sicking 2012-09-14 12:30:30 +02:00
Ed Morley
952186de85 Backout 35c8685ee065 (bug 790133) for B2G compilation failures 2012-09-14 10:13:15 +01:00
Gina Yeh
262c2e0ad7 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-14 16:54:25 +08:00
Doug Turner
17c20093fa Bug 791084 - Device storage - Seperate permissions based on storage type. r=bent 2012-09-13 22:37:00 -07:00
Doug Turner
5519c76e66 No Bug. Whitespace cleanup. r=me 2012-09-13 22:37:00 -07:00
Doug Turner
8aa6397579 Bug 788612 - Move bundle handing into nsDOMDeviceStorage to avoid calls to the nsIStringBundleService. r=bent 2012-09-13 22:37:00 -07:00
Norbert Lindenberg
63338e5a6b Bug 784300 - Make self-hosted non-constructor functions not have a prototype. r=tschneidereit 2012-09-13 11:33:00 +02:00
Masayuki Nakano
92160b206a Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 13:51:00 +09:00
Nicholas Nethercote
3c06caa3e2 Bug 782802 (part 4) - Still more exact rooting in jsreflect.cpp. r=terrence.
--HG--
extra : rebase_source : 713f1d186fdae009fe3d349f3e6fcb6aebdbfdc9
2012-09-12 22:10:51 -07:00
Nicholas Nethercote
edac75a843 Bug 782802 (part 3) - Yet more exact rooting in jsreflect.cpp, enough to turn on exact scanning with the root analysis. r=terrence.
--HG--
extra : rebase_source : 89c6b0ea11cff82b7a13e9667edb5c6a031cb78d
2012-09-12 22:02:10 -07:00
Nicholas Nethercote
add66d69dc Bug 782802 (part 2) - More exact rooting in jsreflect.cpp. r=terrence.
--HG--
extra : rebase_source : 1d34717fb1cda8e83cca3d51ddcb7c75de2bbd07
2012-09-12 16:52:48 -07:00
Nicholas Nethercote
d09f5b7380 Bug 782802 (part 1) - Start doing exact rooting in jsreflect.cpp. r=terrence.
--HG--
extra : rebase_source : 6b0d998d7432f9dbcb239197d026f381335faf2f
2012-09-12 16:19:40 -07:00
Phil Ringnalda
9d64853cc0 Back out 486dcdbdfa23 (bug 787624) for Android failures 2012-09-13 20:47:03 -07:00
Alexander Surkov
c5b0bb718a Bug 686821 - expose offscreen state (no invisible state) for background tab accessibles, r=tbsaunde 2012-09-14 11:55:18 +09:00
Joe Drew
eb24d5ccf0 Bug 783517 - Block all AMD drivers for hardware acceleration on Windows 8 due to mysterious crashes, but leave as-yet unreleased drivers unblocked. r=bjacob
--HG--
extra : rebase_source : a7871f074930ff8e1fcb7f208462a69ebf5dd34b
2012-09-13 18:39:37 -04:00
Fabrice Desré
e96bbbc31c Bug 791148 - Remove the deprecated camera support [r=cjones] 2012-09-13 19:44:06 -07:00
Hsin-Yi Tsai
1947539896 Bug 789005 - System message API: decrease complexity of broadcastMessage(). r=fabrice 2012-09-11 18:07:03 +08:00