Commit Graph

20155 Commits

Author SHA1 Message Date
Ginn Chen
6a9fa4c810 Bug 783533 testValueABI.cpp and valueABI.c should use same prototype of C_ValueToObject() r=bhackett 2012-08-20 16:27:14 +08:00
Landry Breuil
650050edd4 Bug 777357: declare mjit namespace outside of #ifdef JS_METHODJIT, fixes non-mjit builds. r=bhackett 2012-08-20 09:59:37 +02:00
Gina Yeh
392f4dff11 Bug 778640 - Final version: Firing devicedisappeared event, r=qdot, r=smaug
---
 dom/bluetooth/BluetoothAdapter.cpp                 |   16 ++++++++++++++-
 dom/bluetooth/Makefile.in                          |    1 +
 .../nsIDOMBluetoothDeviceAddressEvent.idl          |   21 ++++++++++++++++++++
 js/xpconnect/src/event_impl_gen.conf.in            |    3 +++
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
2012-08-20 12:23:32 +08:00
Saurabh Anand
d331c76300 Bug 730085 - Object.prototype.hasOwnProperty calls ToString on first argument before calling ToObject on this. r=evilpie 2012-08-18 15:51:52 +05:30
Tom Schuster
b1d4b54be1 Bug 783016 - Make space for Int32 string type. r=luke 2012-08-18 18:15:51 +02:00
Mike Hommey
146619b99c Bug 781529 - Use -MMD flag for dependency generation instead of -MD. r=ted 2012-08-18 11:17:48 +02:00
Mike Hommey
daa472b3d2 Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Bobby Holley
4a569927e2 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
381a34c2d9 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
76324ce990 Bug 783537 - Fix some barrier accounting during JIT compilation (r=dvander) 2012-08-17 18:47:08 -07:00
Bill McCloskey
d2442e81a4 Bug 783147 - Collect telemetry for SCC GC sweeping (r=mccr8) 2012-08-17 18:44:54 -07:00
Luke Wagner
e189f52b5a Bug 783441 - Fix AliasedNameToSlot to deal with duplicate formals (r=dvander) 2012-08-17 11:21:57 -07:00
Luke Wagner
6f88ac1eaa Fix warnings in js/src (no bug,r=themaid) 2012-08-17 11:21:52 -07:00
Luke Wagner
77b4a5d492 Bug 783543 - add test for fix in bug 783315 (no bug, r=me) 2012-08-17 11:19:47 -07:00
Bobby Holley
a4ec7a6646 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
c055d5c416 Backout bug 783147 (12753a1a11b8 and 0a70fc2d7d25) for WinXP dbg M-3 failures 2012-08-17 12:55:52 -07:00
Steve Fink
d8dd0b3c22 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
500ef454b7 Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin) 2012-08-17 10:38:59 -07:00
Alex Crichton
6114da03ec 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
11bc34c5ce Bug 783147 - Send telemetry about SCC GC times (r=mccr8) 2012-08-17 10:05:11 -07:00
Bill McCloskey
8861b08a08 Bug 783147 - Decompose compartments into SCCs for GC (r=mccr8) 2012-08-17 10:04:02 -07:00
Aryeh Gregor
03c970d57f Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
8f4f1ad013 Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
a23d8e7b07 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Gabor Krizsanits
beaf6f99b2 Bug 779821 - safe XHR creation for sandboxes 2012-08-15 11:00:21 +02:00
Phil Ringnalda
8c55938528 Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Chris Pearce
0b56ddc818 Bug 778640 - Backout due to burning. r=bustage 2012-08-17 16:22:25 +12:00
Gina Yeh
e1defc266b 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
773b674a05 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
f739c39cbd 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
a0368645e4 Bug 772113: Expose source map URLs via Debugger.Script r=jimb 2012-08-16 17:54:07 -07:00
Till Schneidereit
a43cefeb72 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
e6999fdbb9 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
9be2e1acdd Backout 06dae3ea0f89 (bug 778559) due to Windows build failures.
--HG--
extra : rebase_source : 81c77b37fd85d6330ef17ba581f2bb934d94cca9
2012-08-16 17:44:18 -04:00
Bill McCloskey
417e93c957 Bug 783135 - Remove jitstats.tbl (r=dmandelin) 2012-08-16 14:42:42 -07:00
Shu-yu Guo
fe6e21ff38 Bug 778559 - Implement ParallelArray API with sequential execution (r=dmandelin) 2012-08-16 14:03:44 -07:00
Bill McCloskey
7c02696c5e Bug 782337 - Stack clobbering (r=bhackett) 2012-08-16 14:03:18 -07:00
Bill McCloskey
3f6d70d2cf Bug 782337 - Make incremental GC marking validation optional (r=bhackett) 2012-08-16 14:01:36 -07:00
Bobby Holley
6c543db737 Bug 781476 - Test. r=me 2012-08-16 12:25:39 -07:00
Bobby Holley
4f30addfaf 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
15c77f9995 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
9c2659bbf8 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
98048c149f 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
8eda18e87a 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
86070ac08f 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
a84c4e40d3 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
d80d33c1f5 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
abaee54e50 Bug 775323 - move bindings construction (r=jorendorff)
--HG--
extra : rebase_source : 05e12cd2e2f7bd472bc1b5abdf1ebe51411e1975
2012-07-30 18:37:55 -07:00
Bill McCloskey
55cbbbc633 Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg) 2012-08-15 10:47:51 -07:00
Bill McCloskey
71681479b2 Bug 782782 - Move js::MaybeVerifyBarriers on Windows (r=bhackett) 2012-08-15 10:43:49 -07:00