Commit Graph

14476 Commits

Author SHA1 Message Date
Nikhil Marathe
309bac37f9 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
052a90e97b Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
9a3fd541fa Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
4b185d0ef0 Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
e9d975ff6a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Steve Fink
67a675cdaa Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Steve Fink
29117f5284 Bug 667076 - Add a CHECK_EQUAL for testing whether non-jsval types are equal and report expected and observed values on failure (r=luke)
--HG--
extra : rebase_source : fb98cbdcaa63abbfe718d3dfc5b3ac1b0d3a64da
2011-06-24 13:11:28 -07:00
Steve Fink
4174affffa bug 637136 - const-ify JS_ON_TRACE (r=luke)
--HG--
extra : rebase_source : a275648b51b33b166087c3a8ab8a1b51e8b97bcf
2011-03-24 23:47:48 -07:00
Luke Wagner
815d718d1e Bug 668261 - Change EvalInContext to not clobber callee early; don't propagate rval on js::Execute failure so that rval-clobbering callers don't trigger assert (r=waldo)
--HG--
extra : rebase_source : ba03185f711e4f459b629b9c45162da5ace945fe
2011-06-30 09:26:42 -07:00
Luke Wagner
3ba259d091 Bug 667824 - Make tracer match changes to JSOP_CALL (r=waldo)
--HG--
extra : rebase_source : ff0c504b824963433b6b8195804c42f241fa9175
2011-06-30 09:23:15 -07:00
David Mandelin
04e76bd7d7 Bug 660371: report regexp syntax errors as compiler errors when appropriate, r=cdleary 2011-06-27 18:53:26 -07:00
Jim Blandy
e107c04e19 Bug 667126: Allow WeakMaps where the criterion for retaining an entry does not imply that the entry's key has been marked. r=jorendorff
This patch replaces the 'markKey' and 'markValue' member functions of the
MarkPolicy template parameter with two functions:

- markEntryIfLive determines if a map entry should be retained, and, if so
  ensures its key and value have been marked.
- markEntry simply marks an entry's key and value, unconditionally.

The comments describe these in more detail.
2011-06-29 02:27:47 -07:00
Jim Blandy
7134b29a2e Bug 627859: Use the standard placeholder-making function when re-scoping variable references in generator 'yield' expressions. r=brendan
CompExprTransplanter::transplant did a bunch of bespoke pointer-fiddling to
take the free variable references in the 'yield' expression and re-scope
them within the comprehension tail clauses. That code incorrectly
constructed placeholders for function references; this was fixed in bug 576847.

However, it would also work to simply use the same placeholder construction
function everybody else does. This patch makes it so.
2011-06-29 02:11:08 -07:00
Nicholas Nethercote
6af272b7e5 Update nanojit-import-rev stamp. 2011-06-29 10:33:21 +10:00
Daniel Holbert
981e7fbcd5 Bug 666480: Remove set-but-not-used variable 'priorIns' from LIR.cpp. r=wmaddox
--HG--
extra : convert_revision : 4cc8b8ebd44b989e08935ed8ffae7e9cb4eb4ae9
2011-06-29 09:57:01 +10:00
Dave Herman
324dbe8390 Bug 590973 - Reflect.parse(): expose to chrome as a toolkit component (r=gal) 2011-06-28 10:57:16 -07:00
Jeff Walden
1bfc2c45f1 Bug 667646 - fun.caller should be null, not undefined, when fun is being called by global code. r=evilpie 2011-06-27 15:57:50 -07:00
Jeff Walden
d938b446a3 Remove a superfluous #include "jstypedarray.h" from nsXPConnect.cpp. No bug, r=driveby 2011-06-27 15:55:12 -07:00
Jeff Walden
1a51bb7cb1 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Jeff Walden
033bbeebcd Bug 667538 - Crash accessing Function.caller or Function.arguments when no script is running. r=evilpie 2011-06-27 13:36:11 -07:00
Jeff Walden
450815b5d9 Bug 646574 - dis() is broken when the function being disassembled has upvars. r=mrbkap 2011-06-24 18:03:04 -07:00
Dave Herman
498bc96281 Bug 630897 - Reflect.parse(): catch clauses should always be an array (r=jorendorff) 2011-06-27 20:47:48 -07:00
Blake Kaplan
34b8ccdde8 Fix bustage from bug 634156. 2011-06-27 18:16:27 -07:00
Blake Kaplan
5e77cf86d0 Bug 660797 - Don't accidentally lift the prototype property onto the element itself. r=jorendorff
--HG--
extra : rebase_source : 7346e0a482af18b7c2ead77a423030e180241cad
2011-06-16 16:39:45 -04:00
Blake Kaplan
9f1a75137b Bug 634156 - Come up with a way of creating an API in content that exposes real content objects without using a sandbox. r/sr=jst/mossop/gal
--HG--
extra : rebase_source : c3ca469ff33d099b51e140d0a274113884507a03
2011-05-03 13:43:08 -07:00
Dave Herman
f823587beb Bug 667131 - crash: 'yield' unnoticed due to calling maybeNoteGenerator() too late (r=cdleary) 2011-06-27 15:38:10 -07:00
Chris Leary
76a694fdab POD trait for |long long| family, attempt to rambo Winx64 back to life. (rs=luke) 2011-06-27 15:00:17 -07:00
Chris Leary
18d9f54ae4 Bug 667504: Allow atom declaration updates in linked list form. (r=luke) 2011-06-27 14:02:09 -07:00
Chris Leary
31076ac1d6 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Igor Bukanov
ba5e71d38e bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
55a71f2ebf Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
a71d61104b Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
0780a149be Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
0e43edd30e Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
822bc8b69e Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
4c436c89cd Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
4fa36afd9e Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Igor Bukanov
5b6c00bb2a Bug 657198 - improving unreachable GC things detection in traces. r=gal 2011-05-31 10:01:09 +02:00
David Anderson
3eff122abe Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jeff Walden
65bb367c0c Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00
Brian Hackett
485e71109e Bug 662132: Better coordination of GC and ICs, r=dvander 2011-06-23 18:19:57 -07:00
Gavin Barraclough
8ccf51f141 Bug 653672: fix regexp offset handling, r=cdleary 2011-06-20 13:31:24 -07:00
Chris Leary
4fd96c3fb4 Fix type-mismatched error return value. 2011-06-23 17:06:57 -07:00
Luke Wagner
a6f59ecb7d Bug 666292 - The decompiler does not deserve to use FrameRegsIter (it temporarily clobbers script->code) (r=waldo) 2011-06-23 16:41:59 -07:00
Jeff Walden
0a61156473 Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Jeff Walden
6b92eb239e *Fewer* *occurrences*, not "less occurences". r=languagenazi 2011-06-23 11:07:27 -07:00
Dave Herman
bc5c25ed9b Bug 665286 - crash on yield in arguments list (r=cdleary) 2011-06-23 18:20:31 -04:00
Dave Herman
8d5a97dc48 Fixed broken test case (r=orange) 2011-06-23 16:40:58 -04:00
Paul Biggar
2d4fbba45a Bug 666052: Remove unused NSPR defines for events, hashtables and arenas (r=luke) 2011-06-23 13:27:04 -07:00
Luke Wagner
cf52575b1d Update 'make check' OffTheBooks/Foreground accounting for 580ad572687b 2011-06-23 10:43:31 -07:00