Commit Graph

2967 Commits

Author SHA1 Message Date
Andrew McCreight
4c6bc69f88 Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj 2014-08-25 12:34:00 -07:00
Andrew McCreight
3902953394 Bug 1052626, part 1 - Outline and constify JSObject2WrappedJSMap::SizeOfIncludingThis. r=njn 2014-08-25 12:34:00 -07:00
Nicholas Nethercote
19f2d0853f Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
--HG--
extra : rebase_source : 3139b17f6a660f460adb820c390368dc8367069a
2014-04-15 19:43:18 -07:00
Chris Peterson
402e60bcf2 Bug 1054630 - Collect telemetry on usage of SpiderMonkey's deprecated language extensions: for-each, destructuring for-in, legacy generators, and expression closures. r=till 2014-08-24 11:56:08 -07:00
Nigel Babu
3ca5be2522 Backed out 6 changesets (bug 1054630) for hazards bustage ON A CLOSED TREE
Backed out changeset 684b95601155 (bug 1054630)
Backed out changeset e656c61ecd70 (bug 1054630)
Backed out changeset fa6d52a0cfea (bug 1054630)
Backed out changeset 19d115a44912 (bug 1054630)
Backed out changeset 0bceb044a4de (bug 1054630)
Backed out changeset be39ba3aa672 (bug 1054630)
2014-08-24 16:33:36 +05:30
Chris Peterson
4b88986141 Bug 1054630 - Part 5b: Collect telemetry on usage of SpiderMonkey's deprecated expression closures. r=till 2014-08-17 17:22:42 -07:00
Chris Peterson
125466c459 Bug 1054630 - Part 4: Collect telemetry on usage of SpiderMonkey's deprecated legacy generators. r=till 2014-08-17 17:17:03 -07:00
Chris Peterson
154f75c1c2 Bug 1054630 - Part 3: Collect telemetry on usage of SpiderMonkey's deprecated destructuring for-in. r=till 2014-08-17 17:13:12 -07:00
Chris Peterson
067bb7e723 Bug 1054630 - Part 2: Collect telemetry on usage of SpiderMonkey's deprecated for-each. r=till 2014-08-17 17:12:35 -07:00
Chris Peterson
91a3fd4b72 Bug 1054630 - Part 1: Add plumbing for SpiderMonkey parser telemetry. r=till 2014-08-23 13:35:17 -07:00
Bobby Holley
44b8336fd5 Bug 1056332 - Remove cross-global adopt telemetry. r=gabor 2014-08-23 09:01:50 +02:00
Ed Morley
19b74e78c4 Backed out changeset f2da252a9248 (bug 1054630) 2014-08-22 09:28:38 +01:00
Chris Peterson
126dabe3cf Bug 1054630 - Part 1: Add plumbing for SpiderMonkey parser telemetry. r=till 2014-08-11 23:17:44 -07:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Bobby Holley
6c86c8eebd Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bill McCloskey
03d47df277 Bug 1008107 - Allow SandboxPrivate to be null in sandbox_finalize (r=bz) 2014-08-21 13:29:20 -07:00
Bill McCloskey
8ddcf4f776 Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 18:14:56 -07:00
Wes Kocher
cb80e496c9 Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE 2014-08-20 16:08:04 -07:00
Bill McCloskey
9c46f9c743 Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 15:16:07 -07:00
Bobby Holley
1ac9a8fa10 Bug 821573 - Stop allowing COWs as native interfaces. r=gabor 2014-08-20 12:06:52 -07:00
Bobby Holley
d9deab8699 Bug 1050340 - Do a CheckedUnwrap in xpc::IsReflector. r=gabor
This matches the behavior of UnwrapReflectorToISupports, and makes all of the
structured clone callbacks scattered throughout Gecko compatible with wrappers
that have not already had CheckedUnwrap invoked on them.
2014-08-18 14:18:39 -07:00
Dan Gohman
f5c8abe026 Bug 1054334 - Constify xpconnect's gNoString r=nbp 2014-08-18 12:20:42 -07:00
Dan Gohman
1d2654b90f Bug 1054334 - SpiderMonkey: Eliminate unnecessary parentheses around return values r=nbp 2014-08-18 12:20:40 -07:00
Dan Gohman
c98852e421 Bug 1054334 - SpiderMonkey: Delete unneeded semicolons r=nbp 2014-08-18 12:20:39 -07:00
Bobby Holley
46195905c8 Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm 2014-08-18 10:57:30 -07:00
Bobby Holley
365f71849d Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Bobby Holley
be093d15f0 Bug 1052089 - Infallibly init singleton scopes in the XPCJSRuntime constructor. r=billm
We've had some problems with GetJunkScope returning null and causing crashes in
the past, but I'm now pretty convinced that just null-checking it isn't the
answer. Rather than creating it lazily, we should create it at a defined point
in startup. Any problems will then be much more reproducible, and we can track
them down and fix them.
2014-08-18 10:57:30 -07:00
Bobby Holley
25158222cc Bug 1052089 - Make the junk scope invisible to the debugger and Components-less. r=billm
This prevents the JS engine from trying to fire off debugger notifications and
do other complicated things when we create this thing early in startup in the
upcoming patches.
2014-08-18 10:57:30 -07:00
Bobby Holley
281d7e6c29 Bug 1052089 - Don't fuss around with remote-XUL XBL-scope special cases for sandboxes. r=billm 2014-08-18 10:57:29 -07:00
Bobby Holley
5d4f04bfc5 Bug 1052089 - Don't require the cx to be in a compartment during sandbox creation. r=billm 2014-08-18 10:57:29 -07:00
Bobby Holley
c3da81b241 Bug 1052089 - Stop using a contractid to create a null principal during sandbox creation. r=billm
This causes problems when used too early in startup.
2014-08-18 10:57:29 -07:00
Bobby Holley
c135b0217a Bug 1052089 - Add a System Principal accessor to nsXPConnect and use it in Sandbox creation. r=billm
nsContentUtils isn't ready by this point.
2014-08-18 10:57:29 -07:00
Terrence Cole
3fbb2fe80f Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco
--HG--
extra : rebase_source : 507ab10313127ffcbf905c42438882aa9074c38a
2014-08-05 14:06:35 -07:00
Aryeh Gregor
4ae55a890c Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Bobby Holley
30602c16ab Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Bobby Holley
621ac36fa6 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Bobby Holley
516a8b2f4c Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 12:53:52 -07:00
Seth Fowler
3935bcc046 Bug 913586 (Part 6) - Update Maybe users in js. r=luke
--HG--
extra : rebase_source : c5d23a7874de49e61b43f79b8eda744db0523c6e
2014-08-13 15:42:00 -07:00
Bobby Holley
63bfd2eb94 Bug 1052042 - Move the pre-pop GC to AutoEntryScript. r=billm 2014-08-13 15:36:44 -07:00
Ed Morley
f18fc70d9a Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-13 16:53:58 +01:00
Matthew Noorenberghe
f8e0b0a546 Bug 1052931 - Add URLSearchParams to GlobalProperties for import. r=bholley
--HG--
extra : rebase_source : 2ec9189dc6a1092067690b4609ef6c3701171e67
2014-08-12 18:13:35 -07:00
Jon Coppeard
e0d8a1ab35 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Nicholas Nethercote
cc29a44504 Bug 1052213 - Reduce default size of Native2WrappedNativeMaps. r=mrbkap. 2014-08-12 16:29:39 -07:00
Bob Owen
cfdef40947 Bug 1050795 Part 2: Remove nsCxPusher. r=bholley 2014-08-08 16:44:15 +01:00
Nathan Froyd
d7825aca09 Bug 1046342 - bring xpcshell's usage message a little closer to reality; r=bsmedberg
The -n, -j, and -P options appear to be no longer supported.

I rearranged the options list so that the options appear in the order of
processing in ProcessArgs.  I also took the opportunity to move the -m'
option out of the options claimed to be handled in
ProcessArgsForCompartment, since it no longer is.
2014-07-30 16:29:16 -04:00
Bob Owen
c20bbbbbab Bug 1047509 - Part 10: Replace nsCxPusher in XRE_XPCShellMain. r=bholley 2014-08-08 13:57:20 +01:00
Ryan VanderMeulen
7d00738b7a Backed out changesets 6ee4b6cc240c, a818fd0874fe, and 70803a5f4683 (bug 1033442) for multiple crashtest oranges. 2014-08-08 21:54:58 -04:00
Terrence Cole
048475ab28 Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco 2014-08-05 14:06:35 -07:00