Nicholas Nethercote
2ebfc5116b
Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz.
2016-07-14 13:18:11 +10:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Jan de Mooij
ea775f40f5
Bug 1283855
part 21 - Make performance monitoring APIs take JSContext instead of JSRuntime. r=Yoric
2016-07-06 16:53:50 +02:00
Bill McCloskey
c952246316
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-07-05 13:59:36 -07:00
Jan de Mooij
4ba1239131
Bug 1283855
part 11 - Make some GC callback APIs take JSContext instead of JSRuntime. r=terrence,mccr8
2016-07-05 14:35:19 +02:00
Jan de Mooij
185fef3784
Bug 1283855
part 10 - Make some GC callback APIs take JSContext instead of JSRuntime. r=jonco
2016-07-05 14:35:16 +02:00
Phil Ringnalda
ef87dff4e9
Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools
2016-06-30 21:12:11 -07:00
Bill McCloskey
3f712641d1
Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap)
2016-06-30 17:38:54 -07:00
Tom Schuster
4455e57052
Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff
2016-06-30 00:04:56 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Jan de Mooij
66faed38af
Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
...
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
Chris Peterson
553aca4e35
Bug 1276567 - Fix -Wstring-conversion warnings in js/ directory. r=billm
...
js/ipc/WrapperAnswer.cpp:531:16 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [12]' to 'bool'
js/src/jit/MIR.h:63:25 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [26]' to 'bool'
js/src/jit/SharedIC.cpp:1648:21 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [30]' to 'bool'
js/src/jsgc.cpp:7135:21 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [59]' to 'bool'
2016-05-31 21:49:52 -07:00
Boris Zbarsky
39531c0bc8
Bug 1276400 part 3. Stop setting the dontReportUncaught option in IPC code, since we're working with an AutoJSAPI there. r=bkelly
2016-05-31 22:04:33 -04:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Terrence Cole
8e2294b2b6
Bug 1267699 - Move some public types to the right namespace; r=sfink
...
--HG--
extra : rebase_source : f79f7d86aab708b86a65e6f2426baeb8488f47e5
2016-04-26 09:18:48 -07:00
Jon Coppeard
33af1ea84b
Bug 1268085 - Remove unused post barrier callbacks r=terrence
2016-04-29 10:44:22 +01:00
Jeff Walden
80f0832949
Bug 1264896 - Kill off nsIRemoteTagService and do what it does, in its sole caller, in far-faster C++. r=billm
...
--HG--
extra : rebase_source : 4ab4985b1e6731a6caa523d7802a6292454cbc55
2016-04-21 21:51:16 -07:00
Jeff Walden
56d59777fd
Bug 888969 - Make the getPrototypeOf/setPrototypeOf traps scriptable. r=efaust, r=bholley
...
--HG--
extra : rebase_source : 4a19f3a59e9a5935f8a41f2928b74c0af3947942
2016-02-23 13:42:30 -08:00
Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Tooru Fujisawa
0861e18d03
Bug 1219757 - Part 10: Remove HandleObject parameter from JS_NewRegExpObject and JS_NewUCRegExpObject. r=till
2015-11-25 22:38:05 +09:00
Boris Zbarsky
36d4079be7
Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
2016-03-09 19:02:03 -05:00
Boris Zbarsky
d0363ce0e6
Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley
2016-03-09 15:28:26 -05:00
Benjamin Smedberg
68b656f551
Bug 1245901 - Measure counts of browser CPOW usage which is now rejected, r=billm
...
MozReview-Commit-ID: GwLq9EoDEuR
--HG--
extra : rebase_source : 84a84edfea9628aeed53903bfa3c9897793df34f
extra : amend_source : 58e846e6be3c5bf3a787723c45ec5b2d67913051
2016-02-16 11:21:11 -05:00
Tom Schuster
180499c4ff
Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor in js. r=sstangl
2016-01-28 11:28:04 +01:00
Carsten "Tomcat" Book
b9e929e1a7
merge mozilla-inbound to mozilla-central a=merge
2016-01-27 11:59:49 +01:00
Bill McCloskey
c95da3e673
Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap
...
--HG--
extra : commitid : AkRt0J9Cpgt
extra : rebase_source : 39bf3c27ce593c95e4aecb5f7bb55a8ffc05382c
2016-01-05 19:28:27 -05:00
simplyblue
4a7674779d
Bug 1212533 - Change the out-param of js/JS::Construct from MutableHandleValue to MutableHandleObject. r=arai, r=jorendorff
...
--HG--
extra : rebase_source : 04e0ec01701a1c55b5589b36576b7bab433feafd
2015-10-28 16:38:27 +05:30
Nigel Babu
8a27ca8919
Backed out changeset 66d4205c2958 (bug 1212533) for build bustage ON A CLOSED TREE
...
--HG--
extra : commitid : H6Jne8SfMu3
2016-01-26 13:08:20 +05:30
simplyblue
fcbffd6a14
Bug 1212533 - Change the out-param of js/JS::Construct from MutableHandleValue to MutableHandleObject. r=arai, r=jorendorff
...
--HG--
extra : rebase_source : 74a21ddaa663da2b66fda186b2289f82272f7761
2015-10-28 16:38:27 +05:30
David Rajchenbach-Teller
583ca7286d
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Sebastian Hengst
d8d4a2d1a5
Backed out 2 changesets (bug 1224374
) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374
)
Backed out changeset 0dc02cb0b604 (bug 1224374
)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Terrence Cole
bb224242a8
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Terrence Cole
020b367913
Bug 1226732 - Use stable hashing and builtin sweeping for ipc::ObjectIdMap; r=billm
...
--HG--
extra : rebase_source : 9dc40a8f2573fd190d9c86a5a88b57dcb41e0771
2015-11-25 11:59:09 -08:00
Jan de Mooij
a84c33ecb0
Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke
2015-11-06 19:03:51 +01:00
Bill McCloskey
35328ff29a
Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap)
2015-11-05 13:17:04 -08:00
Wes Kocher
cad6f9789a
Backed out changeset 89446bf8d6b8 (bug 1215167) for introducing a hazard
...
--HG--
extra : commitid : 19K8BX0d4Wz
2015-11-04 16:16:59 -08:00
Bill McCloskey
ac2ca63fc1
Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap)
2015-11-04 13:40:15 -08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Terrence Cole
7a404f001b
Bug 1214961 - Sweep XPConnect incrementally; r=mccr8, r=jonco
...
This patch splits up the "wrapped-js" table by compartment in order to allow us
to visit the miminal number of wrapped-js in each GC sweeping slice, instead of
visiting the entire table repeatedly. This dramatically reduces our sweeping
overhead, reducing the number of GC slices, and making them more likely to fall
within budget.
--HG--
extra : rebase_source : 1bb2b53f0cc51715e4e9c55caafdacd404278a04
2015-10-15 13:43:28 -07:00
Jeff Walden
4046fe1490
Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
...
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Jeff Walden
65b65a4999
Bug 1187234 - Throw a TypeError when Array.isArray is passed a revoked proxy. r=efaust
2015-08-23 01:10:24 -07:00
Tom Schuster
e3fbb8bc43
Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug
2015-09-18 00:14:41 +02:00
Michael Layzell
0097c41e01
Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan
2015-09-12 16:53:33 -04:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
David Rajchenbach-Teller
eaa230b89d
Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
...
--HG--
extra : transplant_source : %7B%82%94E%8C%0AW%07%C2/n8%07%FD%95mt%03%EBM
2015-08-17 14:57:23 +02:00
Terrence Cole
de72ab688b
Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
...
* * *
imported patch 2_remove_AutoIdArray_gk
--HG--
extra : rebase_source : f4492f209248c7ae4b74d7d0345c51fa893167da
2015-08-05 11:02:00 -07:00
Ryan VanderMeulen
a7ea8705c1
Backed out changesets db4294fb662d and de9ae2ccb73b (bug 1181175) for Android test_compartments.js failures.
...
CLOSED TREE
2015-08-10 15:07:27 -04:00
David Rajchenbach-Teller
d326242e8b
Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
...
--HG--
extra : transplant_source : %8D%A9%CC%17Dj9-%81T%B2%0D%E1%EA%BD%05%C7%DCl%CB
2015-07-07 18:45:54 +02:00
Makoto Kato
0728b9028d
Bug 1187773
- Don't include heapapi.h from js/public. r=jorendorff
2015-08-06 15:34:08 +09:00