Commit Graph

20148 Commits

Author SHA1 Message Date
Bobby Holley
2fd623ff39 Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap 2012-08-17 23:14:55 -07:00
Bill McCloskey
8b90d77703 Bug 783421 - Need to clear the right JIT code when setting GC zeal (r=dvander) 2012-08-17 18:47:55 -07:00
Bill McCloskey
3ffef35751 Bug 783537 - Fix some barrier accounting during JIT compilation (r=dvander) 2012-08-17 18:47:08 -07:00
Bill McCloskey
ca6a8c8bbc Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8) 2012-08-17 18:44:54 -07:00
Luke Wagner
73fc23bb21 Bug 783441 - Fix AliasedNameToSlot to deal with duplicate formals (r=dvander) 2012-08-17 11:21:57 -07:00
Luke Wagner
991b385fe5 Fix warnings in js/src (no bug,r=themaid) 2012-08-17 11:21:52 -07:00
Luke Wagner
1f5e26a772 Bug 783543 - add test for fix in bug 783315 (no bug, r=me) 2012-08-17 11:19:47 -07:00
Bobby Holley
e80993f0d4 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-17 15:13:23 -07:00
Bill McCloskey
8bb5f2651f Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures 2012-08-17 12:55:52 -07:00
Steve Fink
51e7c767ae Bug 756267 - Move the internal logic to only call script destroy hook if create hook was called from inside the JS engine to JSD, and add a flag for controlling it. r=jorendorff
--HG--
extra : rebase_source : f561d1d2acf5980f2efd9faf019317bb3306e9b1
2012-08-17 10:23:21 -07:00
Shu-yu Guo
ee7cacbd5f Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin) 2012-08-17 10:38:59 -07:00
Alex Crichton
3dc7275175 Bug 783030: Prevent the profiled line number from incorrectly pointing to the start. r=bhackett 2012-08-17 10:28:05 -07:00
Bill McCloskey
b34884ecdf Bug 783147 - Send telemetry about SCC GC times (r=mccr8) 2012-08-17 10:05:11 -07:00
Bill McCloskey
68d4a146ea Bug 783147 - Decompose compartments into SCCs for GC (r=mccr8) 2012-08-17 10:04:02 -07:00
Aryeh Gregor
8a876c035b Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
7858e8e170 Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
ac0a0cdcc7 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Gabor Krizsanits
51367636f4 Bug 779821 - safe XHR creation for sandboxes 2012-08-15 11:00:21 +02:00
Phil Ringnalda
d8f4aa9d3c Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Chris Pearce
8406326152 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
f86eea38b2 Bug 778640 - Final version: Firing devicedisappeared event, create nsIDOMBluetoothDeviceAddressEvent by event generator, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   17 +++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 ++-
 4 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-17 12:02:52 +08:00
Bobby Holley
5a6f34eba3 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-16 18:33:27 -07:00
Bobby Holley
b0e009738d Bug 783031 - Make js1_5/Regress/regress-328897.js throw a different way. r=jmaher 2012-08-16 18:33:27 -07:00
Nick Fitzgerald
091fe2bddd Bug 772113: Expose source map URLs via Debugger.Script r=jimb 2012-08-16 17:54:07 -07:00
Till Schneidereit
dd4407c590 Bug 462300 - Embed self-hosted scripts and compile into special compartment. r=bhackett, r=gerv, r=ted 2012-07-23 23:01:54 +02:00
Luke Wagner
b41894b285 Bug 783315 - Don't touch script->bindings.bindingArray if the script isn't fully compiled (r=billm)
--HG--
extra : rebase_source : fb4e163eaf9f3f7d84ad632d5f940b9d343c8ffc
2012-08-16 15:38:22 -07:00
Ryan VanderMeulen
50a71f33b9 Backout 06dae3ea0f89 (bug 778559) due to Windows build failures.
--HG--
extra : rebase_source : 81c77b37fd85d6330ef17ba581f2bb934d94cca9
2012-08-16 17:44:18 -04:00
Bill McCloskey
93e10f4e08 Bug 783135 - Remove jitstats.tbl (r=dmandelin) 2012-08-16 14:42:42 -07:00
Shu-yu Guo
12b8a4bf38 Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin) 2012-08-16 14:03:44 -07:00
Bill McCloskey
fa9a111172 Bug 782337 - Stack clobbering (r=bhackett) 2012-08-16 14:03:18 -07:00
Bill McCloskey
ba6a1d1769 Bug 782337 - Make incremental GC marking validation optional (r=bhackett) 2012-08-16 14:01:36 -07:00
Bobby Holley
ecf7bf46b9 Bug 781476 - Test. r=me 2012-08-16 12:25:39 -07:00
Bobby Holley
239bc1b66a Bug 781476 - Cross-compartment wrap same-origin objects with PreCreate even if PreCreate requests one wrapper per scope. r=mrbkap 2012-08-16 12:25:39 -07:00
Jim Blandy
c8dd12d089 Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
Luke Wagner
83e1821003 Fix compiler warnings in js/src (no bug,r=themaid)
--HG--
extra : rebase_source : bce94f0cc69b5eb7e5289688d720c6f65e742ac9
2012-08-15 18:23:05 -07:00
Luke Wagner
2a70d823b6 Bug 767013 - only store aliased variables in scope objects (r=bhackett)
--HG--
extra : rebase_source : e9e52b7fa61ebff7c34ca96ba2121cd90b757540
2012-08-06 07:56:45 -07:00
Luke Wagner
21fbdbce40 Bug 780647 - use bindings, instead of CallObject's shape, in DebugScopeProxy (r=jimb)
--HG--
extra : rebase_source : 8234f30a4512367c71095082c4ad0f0a375c1a73
2012-08-06 10:13:47 -07:00
Luke Wagner
47d2f11c33 Bug 780647 - don't use unaliased CallObject slots as storage in DebugScopeProxy (r=jimb)
--HG--
extra : rebase_source : de3319a4563ee7e9196bf74576351ab0ba0aac97
2012-08-06 07:56:16 -07:00
Luke Wagner
8a6ab7e900 Bug 775323 - remove PN_NAMESET and dead uses (r=ejpbruel)
--HG--
extra : rebase_source : d35867ed8ebbfda0a2a55c2d4c7f87979a727628
2012-07-30 15:01:49 -07:00
Luke Wagner
e1d7b1055b Bug 775323 - build Bindings after, not during, parsing (r=ejpbruel)
--HG--
extra : rebase_source : f78cf919d2e205b688260f462ea109f2816b5ace
2012-07-30 11:38:53 -07:00
Luke Wagner
cb24190c04 Bug 775323 - move bindings construction (r=jorendorff)
--HG--
extra : rebase_source : 05e12cd2e2f7bd472bc1b5abdf1ebe51411e1975
2012-07-30 18:37:55 -07:00
Bill McCloskey
3970ae5992 Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg) 2012-08-15 10:47:51 -07:00
Bill McCloskey
9f0f06d5c5 Bug 782782 - Move js::MaybeVerifyBarriers on Windows (r=bhackett) 2012-08-15 10:43:49 -07:00
Bill McCloskey
daf683cb6a Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=bhackett) 2012-08-15 10:39:59 -07:00
Bill McCloskey
e7b52ac85e Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=terrence) 2012-08-15 10:39:54 -07:00
Bill McCloskey
fbfcb9c73b Bug 781390 - Make barrier verifier testing work better with the methodjit (r=bhackett) 2012-08-15 10:39:48 -07:00
Bill McCloskey
ba92c54858 Bug 781393 - JS VM stack values shouldn't always be clobbered during marking (r=bhackett) 2012-08-15 10:33:12 -07:00
Dave Townsend
2e2b4aca5e Backing out bug 761620 due to Add-on SDK test failures. 2012-08-15 10:31:21 -07:00
Nathan Froyd
f5f2c4fac9 Bug 782405 - delete UNIX_ASYNC_DNS; r=glandium
--HG--
extra : rebase_source : 845961ee905a008d350271d352125cf8cbe4536d
2012-08-13 16:47:02 -04:00
Aryeh Gregor
3304e571cb Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00