Commit Graph

14707 Commits

Author SHA1 Message Date
Jeff Walden
468332b8f0 Bug 607371 - Throw an exception when an excessively large arguments array is passed to Function.prototype.apply, rather than silently passing only the maximum number of supported elements. Silently treating the array as smaller than it actually is is prone to silent errors; throwing an exception is immediate and obvious. r=luke
--HG--
extra : rebase_source : 3ae04ac924cd28199ba0e48d90dba2f7c5a2c563
2011-07-25 20:33:02 -07:00
Jeff Walden
518fa9f4fa Bug 674775 - Implement js::IndexToString to get a JSString corresponding to a uint32_t. r=luke
--HG--
extra : rebase_source : 4933683a4d051521d2ba3bad0f16b5f5dc01e03d
2011-07-27 17:09:12 -07:00
Marty Rosenberg
8c038a81e6 Bug 674143 - Change jsval tag representation; change ARM mjit backend to test tags using a single comparison (r=dvander,luke) 2011-07-29 16:24:30 -07:00
Boris Zbarsky
2bf85f93fe Bug 671453. Fix use of [implicit_jscontext] with non-quickstubbed setters. r=mrbkap 2011-07-29 14:30:00 -04:00
Luke Wagner
7c2aed79f4 Fix 22134b2abde4 for non-JS_THREADSAFE builds (r=burning) 2011-07-29 11:14:46 -07:00
Luke Wagner
17beadfb85 Bug 672971 - Remove SetSafeJSContext (r=bz,bent)
--HG--
extra : rebase_source : f7eb1dcd3bc8ae1bfda0a89d044c0da9621d99e9
2011-07-27 16:15:50 -07:00
Luke Wagner
807852f5c4 Bug 669617 - Fix debug-only null-deref in JS_IsRunning (r=igor)
--HG--
extra : rebase_source : f9f1215705f36bb2d37553f92a3058b73304bd6f
2011-07-28 17:59:43 -07:00
Nick Fitzgerald
9098b89abc Bug 674283 - Add source map urls to JSScript. r=jorendorff. 2011-07-29 10:44:45 -05:00
Luke Wagner
1f831c5948 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
--HG--
extra : rebase_source : f2fe9ab1e25188223f75e8d2ddcbdf977e62782b
2011-07-12 10:42:24 -07:00
Daniel Holbert
95e333a50a Merge last green mozilla-central changeset to mozilla-inbound 2011-07-28 14:53:21 -07:00
Luke Wagner
640dd6a5c2 Backout 2e0fea2cbd9b for windows linker lameness 2011-07-28 14:35:38 -07:00
Jason Orendorff
5f274ec6ed Bug 674618 - Eliminate warnings on Mac introduced by rev ba2bdf497934 (././js-confdefs.h:110:1: warning: "__STDC_LIMIT_MACROS" redefined). r=jimb.
--HG--
extra : rebase_source : 65140f1129745eabbc18f7d8e7a0409ec207a51c
2011-07-28 15:57:50 -05:00
Mike Hommey
4bd677bc23 Bug 674910 - Statically link against libstdc++ on Android. r=blassey 2011-07-28 18:55:38 +02:00
Mike Hommey
abdb4efbe6 Bug 674837 - Properly set android build options on NDK5+. r=ted 2011-07-28 14:58:15 +02:00
Mike Hommey
34c4b1bb29 Bug 671804 - Provide NS_APP_PREF_DEFAULTS_50_DIR and NS_APP_PREFS_DEFAULTS_DIR_LIST in xpcshell dir provider. r=bsmedberg 2011-07-21 09:57:07 +02:00
Ginn Chen
02f6d40f21 Bug 673850 - Fix YARR with Solaris Studio compiler. r=dmandelin. 2011-07-28 11:35:30 +08:00
Jason Orendorff
f8465f2924 Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb. 2011-07-27 17:44:43 -05:00
Jason Orendorff
9b4065b6f0 Bug 651940 - When hashing a jsid, assert that js_CheckForStringIndex(id) == id. r=Waldo. 2011-07-27 17:44:29 -05:00
Blake Kaplan
4dce96c6be Bug 669228 - Don't use the dummy global as a real global. r=jorendorff 2011-07-27 12:33:33 -07:00
Blake Kaplan
f5da8f28a2 Fix bug 674182. r=jst 2011-07-27 12:29:26 -07:00
Bill McCloskey
e5b1c12c0c Bug 672687 - Fix rebasing mistake 2011-07-27 10:48:52 -07:00
Bill McCloskey
b87fbad118 Bug 672687 - Add more asserts for cross-compartment pointers in proxies (r=mrbkap) 2011-07-27 10:31:06 -07:00
Bill McCloskey
095fa57be2 Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary) 2011-07-13 15:43:33 -07:00
Bill McCloskey
7643e7af42 Bug 670205 - Preserve JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Tom Schuster
b88a466d4d Bug 616744 - Add GetElement PIC for arguments objects r=dvander 2011-07-27 15:39:55 +02:00
Jeff Walden
4f15098148 Bug 674207 - Assertion attempting to convert the value of the 'it' property in the shell to a primitive. r=luke
--HG--
extra : rebase_source : 40334c0f47f4b0dcb30f1f8cf6dadf87b7b29ada
2011-07-26 23:33:58 -07:00
Tom Schuster
5d42be833c Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
--HG--
extra : rebase_source : f415de9c0c9e58e3a28d6cd7e474ab1370d2d244
2011-07-26 14:10:33 -07:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Jeff Walden
cbfd8e2789 Bug 673647 - Explicitly identify which bits in JSObject::flags are available for new uses. r=dvander
--HG--
extra : rebase_source : 18f3edce0127110b0f9528dd21f8598ba97ff1a1
2011-07-22 19:10:54 -07:00
Blake Kaplan
d87a8b11e5 Bug 673503 - Make sure the prototype here is in the right compartment. r=wmccloskey 2011-07-22 12:14:02 -07:00
Luke Wagner
c0bacd6aa9 Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff) 2011-07-12 10:42:24 -07:00
Martin Rosenberg
b79662c4d7 Bug 673314: Enable generation of multiply instructions on ARM. r=adrake
--HG--
extra : rebase_source : 084b7cb47d4858fa41b44d702c7e97755eee59b3
2011-07-28 09:35:22 -07:00
Ehsan Akhgari
2f51d73796 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Han Chang
3af25db115 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Rafael Ávila de Espíndola
43597c72c7 Bug 673556 - Make sure that C limits macros are defined on over-zealous compilers; r=khuey
--HG--
extra : rebase_source : 46f5ddf3a2bcfcd882e3814216299af09347de7e
2011-07-26 17:09:42 -04:00
Igor Bukanov
e39b18efab bug 673760 - keep ArenaHeader::compartment until the GC finishes. r=anygregor 2011-07-24 18:14:10 +02:00
Ehsan Akhgari
8eaf1685d8 Backout bug 670205 and bug 673451 because of build bustage
--HG--
extra : rebase_source : 1125480c0f47d0388876c09648d64bdbd62d1206
2011-07-26 14:41:43 -04:00
Rob Arnold
30f4fb218a Bug 656320: don't delete properties if the delProperty op says not to, r=jorendorff 2011-07-26 11:41:44 -07:00
Bill McCloskey
eda8607b71 Bug 673451 - Add getters and setters to make JS write barriers easier to implement (r=cdleary) 2011-07-13 15:43:33 -07:00
Bill McCloskey
51329bbb65 Bug 670205 - Maintain JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Hannes Verschore
a412f60330 Bug 673066: Check for GOTOX in processing source notes, r=dvander 2011-07-26 10:55:02 -07:00
Brendan Eich
a4bd07b516 Oops, forgot the test for bug 588061. 2011-07-26 08:40:15 -07:00
Patrick McManus
d0453f20a5 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Marco Bonardo
a132380d79 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-26 11:50:00 +02:00
Kyle Huey
6ab62c5552 Bug 673940: Don't accidentally overwrite the environment's PYTHONPATH. r=ted 2011-07-25 10:20:43 -07:00
Nicholas Nethercote
84505fba14 Bug 671150 - Add memory reporter for the JS PropertyTable. r=brendan. 2011-07-24 17:00:56 -07:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Ed Morley
665459d156 Bug 672046 - Valgrind suppression files are still generated in objdir even when building without --enable-valgrind; r=ted 2011-07-23 11:59:19 +02:00
Brendan Eich
d94cff4ac3 Bug 588061 - bogus initial tokenizer position (r=cdleary). 2011-07-22 18:14:17 -07:00
Luke Wagner
495c630b33 Bug 672026 - JSObject::principals should return the compartment's principals if there is no object-principals-finder (r=mrbkap) 2011-07-22 15:22:05 -07:00