Commit Graph

20314 Commits

Author SHA1 Message Date
Alex Crichton
7b1dd22b60 Bug 433529: Part 4 - Add DebuggerObject_displayName for a function's displayAtom attribute. r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
cd23a19143 Bug 433529: Part 3 - Change error stack traces to use displayAtom() instead of atom(). r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
5088c74c6b Bug 433529: Part 2 - Add a displayAtom to JSFunction to store resolved names. r=jimb 2012-08-22 19:07:38 -07:00
Alex Crichton
80317626af Bug 433529: Part 1 - Statically resolve names for anonymous functions. r=jimb 2012-08-22 19:07:38 -07:00
Jan Beich
22b7f56ca1 Bug 784741 - Unbreak --enable-debug --disable-methodjit on platforms without YarrJIT support. r=dmandelin 2012-08-22 21:28:47 -04:00
Jan Beich
bf20bbffc0 Bug 784741 - Don't implicitly define ENABLE_YARR_JIT with MethodJIT. r=dmandelin 2012-08-22 21:28:47 -04:00
Nicholas Nethercote
acdff1c523 No bug. Fix a spelling mistake in a function name and avoid a compile warning. r=terrence. 2012-08-22 17:48:35 -07:00
Norbert Lindenberg
7a11d0e803 Bug 785805 - Segmentation fault when calling %ThrowError for message with three arguments. r=tschneidereit
--HG--
extra : rebase_source : 3dde8d1b305e16bd204289d8acdfc2e6e45dde50
2012-08-28 20:03:00 +02:00
Shu-yu Guo
156ca13589 Bug 784345 - Fix behavior of holes in ParallelArrays (r=dmandelin)
--HG--
rename : js/src/jit-test/tests/parallelarray/element-4.js => js/src/jit-test/tests/parallelarray/holes-2.js
2012-08-29 01:24:18 -07:00
Boris Zbarsky
fe9cb94d87 Bug 783867. Don't blindly assume IsDOMClass objects are nsISupports. r=peterv 2012-08-22 12:18:46 -07:00
Alex Crichton
6433a8eeb7 Bug 568142 - Part 2: Have ParseNode's pn_pos enclose children better. r=jorendorff 2012-08-22 12:03:11 -07:00
Alex Crichton
e7be10f63a Bug 568142 - Part 1: Add column numbers to error reports. r=jorendorff 2012-08-22 12:03:11 -07:00
Brian Hackett
1717030cc6 Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 12:28:34 -06:00
Luke Wagner
9c7bbcf21c Bug 784639 - Fix SetNameOperation to not use cx->fp since it is wrong for jit-inlined calls (r=bhackett)
--HG--
extra : rebase_source : 046400a0df483fe5d8e1a7cb96219fb9416d1be8
2012-08-22 10:57:42 -07:00
Alex Crichton
6a2a73c700 Bug 782659: Fix assertions about empty registers when profiling is enabled on ARM. r=bhackett 2012-08-22 09:39:03 -07:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Luke Wagner
383e2c6813 Bug 784550 - Fix overly-conservative deoptimization of assignment to named lambda (r=jorendorff)
--HG--
extra : rebase_source : ddd625be29c4221843ddc52b9f1c39124c4b1f08
2012-08-21 18:26:22 -07:00
Ed Morley
d7e1816500 Backout d62929fa4325 for talos crashes 2012-08-22 14:53:11 +01:00
Brian Hackett
9a2dd0a706 Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke 2012-08-22 06:27:18 -06:00
Eric Chou
d86c1206ca Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Jon Coppeard
a316b8c4b1 Bug 779183 - GC: Incremental sweeping of atoms table part 2 - Sweep atoms compartment at the end r=billm 2012-08-22 10:45:37 +01:00
Jon Coppeard
b0fba29ab1 Bug 779183 - GC: Incremental sweeping of atoms table part 1 - Add per-compartment mark/sweep state r=billm 2012-08-22 10:45:37 +01:00
Jon Coppeard
7fc41759f9 Bug 784282 - GC: Assert that cross-compartment pointers are wrapped when marking r=billm 2012-08-22 10:45:37 +01:00
Shu-yu Guo
54fafb5e95 Bug 767961 - Only mark properties as definite if we could analyze the entire constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
aa780996c2 Bug 783924 - Part 2: Fix TI assertion in ParallelArray constructor (r=bhackett) 2012-08-21 12:29:47 -07:00
Shu-yu Guo
63f35e865e Bug 783924 - Part 1: Fix ParallelArray constructor being called with non array-like objects (r=dmandelin) 2012-08-21 12:29:46 -07:00
Brian Hackett
d80b30ab38 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
Bobby Holley
625511572e Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-21 10:27:08 -07:00
Luke Wagner
083ee54000 Bug 774915 - don't use the property cache for dynamic name lookup (r=bhackett) 2012-08-17 18:09:43 -07:00
Luke Wagner
d2b8e1571a Bug 783978 - disallow duplicated argument names when default arguments are used (r=jorendorff) 2012-08-20 13:45:54 -07:00
Irving Reid
0e5ea6e34a Bug 782471: Add library name to ctypes Library::Create() error message for easier debugging; r=bholley 2012-08-13 13:23:23 -04:00
Jon Coppeard
74c3890d5f Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm 2012-08-21 09:58:30 +01:00
Jon Coppeard
a031bef656 Bug 782993 - Part 1: Always sweep background things at the end r=billm 2012-08-21 09:47:15 +01:00
Jon Coppeard
805b2a0428 Bug 779897 - GC: Use arenaListsToSweep to queue arenas for background as well as foreground sweeping r=billm 2012-08-21 09:45:33 +01:00
Shu-yu Guo
5e7859bd23 Bug 784015 - Fix division by 0 when calling ParallelArray.prototype.partition (r=dmandelin) 2012-08-20 22:02:18 -07:00
Shu-yu Guo
f589c14e25 Bug 784011 - Fix ParallelArray.prototype.get being called with an object with length 0 (r=dmandelin) 2012-08-20 22:02:11 -07:00
Shu-yu Guo
cd0e42e626 Bug 783923 - Fix calling toString on an empty ParallelArray (r=dmandelin) 2012-08-20 22:02:04 -07:00
Bobby Holley
da84660fd1 Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
Bobby Holley
e4a6e10695 Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-20 21:03:44 -07:00
Bobby Holley
d91593dc3f Bug 783989 - Return false after reporting error. r=ejpbruel 2012-08-20 14:04:26 -07:00
Gina Yeh
b9012edcf5 Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Nicholas Nethercote
05e9db6ab1 Bug 770865 - Rename TreeContext as ParseContext. r=luke.
--HG--
extra : rebase_source : 91846a909a39ca08aae0e6ccd7a9e5e533775324
2012-08-16 17:04:54 -07:00
Shu-yu Guo
f565ae544d Bug 784201 - Use maybeShortid to print out shortid in Shape::dump (r=luke) 2012-08-20 17:04:45 -07:00
Ryan VanderMeulen
f12fa88179 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Olli Pettay
16a0618b95 Bug 783376 - codegenerator should be able generate implementations which inherit other simple events, r=khuey 2012-08-20 11:20:25 -07:00
Ed Morley
86bd51ea45 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-20 16:45:41 +01:00
Rafael Ávila de Espíndola
45552fbbef Bug 783505 - OS X gcc builds failing. r=jorendorff.
This patch adds a workaround for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608
2012-08-20 10:36:30 -04:00
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
Nicholas Nethercote
52fc19d5d1 Bug 782871 (part 2) - Rename the |TreeContext| module as |SharedContext|. r=jorendorff.
--HG--
rename : js/src/frontend/TreeContext-inl.h => js/src/frontend/SharedContext-inl.h
rename : js/src/frontend/TreeContext.h => js/src/frontend/SharedContext.h
2012-08-16 22:05:51 -07:00
Nicholas Nethercote
ca12a195c0 Bug 782871 (part 1 ) - Move TreeContext and related things into the Parser module. r=jorendorff. 2012-08-16 21:29:03 -07:00
Nicolas B. Pierron
7e353e83b9 Revert "Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett" CLOSED TREE
This revert changeset 1906fe4159fe.
2012-08-20 13:56:25 -07:00
Nicolas B. Pierron
7f175f0bf6 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-20 13:12:43 -07: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
Ehsan Akhgari
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
2cc047017f Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg 2012-08-22 11:57:22 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04: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
Bill McCloskey
21788b34fd Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=bhackett) 2012-08-15 10:39:59 -07:00
Bill McCloskey
c9d89f4a35 Bug 774859 - JM: Missing write barrier on JSOP_INITPROP (r=terrence) 2012-08-15 10:39:54 -07:00
Bill McCloskey
1197b8262a Bug 781390 - Make barrier verifier testing work better with the methodjit (r=bhackett) 2012-08-15 10:39:48 -07:00
Bill McCloskey
6ffc6f7672 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
703efdec92 Backing out bug 761620 due to Add-on SDK test failures. 2012-08-15 10:31:21 -07:00
Nathan Froyd
a82c524b53 Bug 782405 - delete UNIX_ASYNC_DNS; r=glandium
--HG--
extra : rebase_source : 845961ee905a008d350271d352125cf8cbe4536d
2012-08-13 16:47:02 -04:00
Aryeh Gregor
1f5f272808 Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Jon Coppeard
98510b25ae Bug 782598 - part 2: tidy get_max_wait() r=terrence 2012-08-15 12:02:09 +01:00
Jon Coppeard
9f0140342e Bug 782598 - part 1: fix total_seconds() r=terrence 2012-08-15 12:01:59 +01:00
Nicolas B. Pierron
c41967887d Bug 777537 - Ensure validity of CompilerOutput without a dangling pointer. r=bhackett 2012-08-14 18:39:16 -07:00
Nomis101
c7ab28638d Bug 782155 - Set MACOSX_DEPLOYMENT_TARGET to 10.6 for all architectures and clean up powerpc-apple code. r=ted 2012-08-12 22:50:48 +02:00
Bobby Holley
49d3dd3a82 Bug 777628 - Do a Checked Unwrap in JS_WriteTypedArray. r=jorendorff 2012-08-14 08:31:02 -07:00
Mark Capella
7e0b8d3bac Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Andrew McCreight
44c472edff Bug 775424 - Make JSCompartmentParticipant vtable rodata. r=glandium 2012-08-14 06:35:48 -07:00
Jon Coppeard
24cc5534bb Bug 782318 - GC: Simplify compartment GC state r=billm 2012-08-14 11:10:50 +01:00
Jon Coppeard
f877c852d1 Bug 782315 - GC: Cut out unnecessary work when not collecting atoms r=billm 2012-08-14 11:10:45 +01:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Brian Hackett
34c388b203 Preserve types when swapping objects, bug 774953. r=dvander 2012-08-13 23:25:16 -06:00
Nicholas Nethercote
613f8f933c Bug 782487 - Remove traces of JSStaticAtom. r=billm.
--HG--
extra : rebase_source : 89e892e3e6ca04f0c19747f189535b3e3ae95d77
2012-08-13 20:02:51 -07:00
Alexander Boldyrev
45a38ebb0b Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Brian Hackett
c6ce57ce13 Don't generate missing property ICs for non-native objects, bug 782146. r=luke 2012-08-13 18:51:52 -06:00
Nicholas Nethercote
d5bb285d32 Bug 781722 - Loosen over-tight assertion in JS_GetGlobalForScopeChain.
--HG--
extra : rebase_source : eb94fcced7bc3584de4c43ca511d3d7c0ed3dc20
2012-08-12 16:40:58 -07:00
Nicholas Nethercote
539c810754 No bug - Fix some JSString comments. r=luke, DONTBUILD because comment-only changes. 2012-08-13 16:35:45 -07:00
Nick Fitzgerald
1528e73f0a Bug 774471: Store source map URLs in the ScriptSource, not on each JSScript. r=jimb 2012-08-13 12:39:57 -07:00
Bill McCloskey
c31671f405 Bug 781945 - Improve GC telemetry (r=mccr8) 2012-08-13 10:30:44 -07:00
Makoto Kato
fafd62a900 Bug 781479 - Remove unused Tru64 and QNX rules. r=khuey 2012-08-13 15:41:04 +09:00
Phil Ringnalda
5797d3d5ca Back out d093de44e850 (bug 774953) for test_postMessage_chrome.html timeouts 2012-08-12 20:54:31 -07:00
Brian Hackett
79a2768f02 Preserve types when swapping objects, bug 774953. r=dvander 2012-08-12 19:55:58 -06:00
Brian Hackett
351f5c5702 Add various autorooting, bug 772303. r=terrence 2012-08-12 19:50:49 -06:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Alex Crichton
fcbfdf2479 Bug 778979 - Part 4: Provide an ip => pc translation mechanism for currently running JIT code. r=bhackett 2012-08-10 16:43:20 -07:00
Alex Crichton
718e48ee70 Bug 778979 - Part 3: Track the line number in the JS engine for SPS profiling. r=bhackett 2012-08-10 16:42:55 -07:00
Alex Crichton
d70cb3bcc2 Bug 778979 - Part 2: Change SPS's StackEntry to inherit from js::ProfileEntry and add a line number. r=ehsan 2012-08-10 16:42:54 -07:00
Alex Crichton
2ab2aba55f Bug 778979 - Part 1: Change the meaning of enableSPSProfilingAssertions and actually turn on the assertions. r=bhackett 2012-08-10 16:42:54 -07:00
Kyle Huey
c44a5bd7c8 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Bobby Holley
c4f9821cde Bug 778085 - Tests. r=ejpbruel
--HG--
extra : rebase_source : a63199371f5f5e5bc9271d68224a8dc39aa08754
2012-08-10 13:55:56 +02:00
Bobby Holley
387c544c5a Bug 778085 - Add a wrapWithProto function to the shell. r=ejpbruel
This allows us to test this stuff in script.

--HG--
extra : rebase_source : 4eac660e2619594f5c5e2f55f4c5506a2f13c037
2012-08-10 13:55:56 +02:00
Bobby Holley
3ad4456011 Bug 778085 - Add simple withPrototype versions of DirectWrapper and CrossCompartmentWrapper. r=ejpbruel
These are helpful for testing, and will also be useful in XPConnect. Note that the Wrapper
and Proxy hierarchy will soon be merged.

--HG--
extra : rebase_source : c9c846871a0bba4c9574eb5274dfe22f24d183b0
2012-08-10 13:55:55 +02:00
Bobby Holley
c623bc5cfa Bug 778085 - Add prototype suppport in Proxy::foo implementations. r=ejpbruel
--HG--
extra : rebase_source : edea12c8d6cdd879439a9de24faa3d7abb19bfc3
2012-08-10 13:55:55 +02:00
Bobby Holley
5fdccba78b Bug 778085 - Add AutoVectorRooter.append(AutoVectorRooter). r=luke
--HG--
extra : rebase_source : 4dbc18944c31e82d7950f6ac2624fb614a4fdc03
2012-08-10 13:55:55 +02:00
Bobby Holley
08d74ebe03 Bug 778085 - Add optional getPrototypeOf trap. r=ejpbruel
--HG--
extra : rebase_source : 58c46c0df9082c8534d16d64144750e4c9ed7587
2012-08-10 13:55:55 +02:00
Bobby Holley
3461a53566 Bug 778085 - Use the Handle API in a few more places in Proxy. r=efaust
--HG--
extra : rebase_source : 28c969ca61def36a14df6ee06681b17a44e2f993
2012-08-10 13:55:55 +02:00
Bobby Holley
3e719a7948 Bug 776328 - Only create holders for WNs. r=mrbkap 2012-08-10 10:19:51 +02:00