Commit Graph

11877 Commits

Author SHA1 Message Date
Blake Kaplan
6a9a5ebb06 Bug 604365 - Don't accidentally share JSSLOT_PROXY_EXTRA with functions. r=peterv 2010-10-18 15:21:47 -07:00
Dan Witte
878fac07fc Bug 585124 - Fix leak [@StructType::DefineInternal]. r=Waldo, a=bsmedberg 2010-10-19 09:37:03 -07:00
Peter Van der Beken
e31ab8ce09 Fix for bug 604957 (Change sandbox constructor to take one optional argument instead of two). r=mrbkap, a=blocking. 2010-10-15 11:02:42 -07:00
Jesse Ruderman
6dfd9c4022 Bug 504000 - add crashtest 2010-10-18 14:06:32 -07:00
Doug Turner
ec176214ee Syncing js and m-c system-headers. r=dougt a=buildbustage 2010-10-18 10:16:45 -07:00
Robert Sayre
691490c128 Merge tracemonkey to mozilla-central. 2010-10-18 12:01:28 -05:00
Blake Kaplan
81e28f8cec Bug 604368 - Share some code so that bug fixes fix both parts. r=peterv a=blocking beta7 2010-10-16 15:26:14 -07:00
Peter Van der Beken
9c40aad72a Fix for bug 604362 (Don't rewrap XPCWrappedNatives that don't have classinfo). r=mrbkap. 2010-10-16 01:43:53 -07:00
Blake Kaplan
4e14d8e983 Bug 604476 - Do a full property resolve when enumerating. r=gal
--HG--
extra : rebase_source : be6ee618aebfed864e737d341208e854061671ee
2010-10-15 18:27:42 -07:00
Blake Kaplan
677d1719d6 Bug 604797 - Wrap values in nsJSCID::CreateInstance. r=peterv
--HG--
extra : rebase_source : 013a2f6a7056bb50673b5328d31fd069cb05f5ec
2010-10-15 18:27:29 -07:00
Blake Kaplan
4c0461f1ad Fix bug 593602. r=gal
--HG--
extra : rebase_source : d0f105abd26702cd95c6b530ed6d1b1c76c82d52
2010-10-15 14:15:53 -07:00
Blake Kaplan
eecf8c3275 Bug 604368 - Share some code so that bug fixes fix both parts. r=peterv a=blocking beta7
--HG--
extra : rebase_source : e5b45f7353e36a0267df8d2ba1f65ec0093753b7
2010-10-16 15:26:14 -07:00
Blake Kaplan
86245a5e28 Fix bug 593602. r=gal, a=blocking
--HG--
extra : rebase_source : ecef0f452e8451150f63bdf9e390f506d61b6f76
2010-10-15 14:15:53 -07:00
David Mandelin
b921204b94 Bug 603077: OOM safety for JM assembler buffer, r=dvander 2010-10-14 16:33:49 -07:00
Sean Stangl
47aced3e61 Avoid convertValueToType() in PunboxAssembler. b=604448, r=dvander. 2010-10-15 19:17:35 -04:00
David Mandelin
1d856b8741 Bug 604799: allocate 64K code memory chunks on Windows, r=dvander 2010-10-15 15:42:56 -07:00
David Anderson
d54dd1cc18 Merge backout. 2010-10-15 15:30:17 -07:00
David Anderson
0c625a8d1a Backed out changeset 8ea3083a9787 2010-10-15 15:29:57 -07:00
David Anderson
e0dffc93d5 Merge backout. 2010-10-15 15:29:31 -07:00
David Anderson
61f242f7aa Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson
a130b5b67b Backed out changeset cf1d774f7f73 2010-10-15 15:21:20 -07:00
David Anderson
cdeea159b6 Fix JSD build bustage, JSOP_BEGIN removal fallout. 2010-10-15 14:20:02 -07:00
David Anderson
3c809907f5 Merge backout. 2010-10-15 14:19:06 -07:00
David Anderson
cae2e1860d Bumped JSD uuid. 2010-10-15 14:18:13 -07:00
David Anderson
c7c5f82ff4 Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00
David Anderson
3b03a237fa Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
Jason Orendorff
5665c4ce1c Avoid MSVC mumbo-jumbo in static assertion. Following up on suggestions in bug 604276 comment 6 and bug 598055 comment 1. no_r=me.
--HG--
extra : rebase_source : 313d2b0dba84c9417ab7e2691d6f9c43c52c5a06
2010-10-15 09:31:07 -05:00
Igor Bukanov
d300dba85e bug 602534 - simpler scheduling of the last ditch GC. r=anygregor 2010-10-07 22:43:52 +02:00
Makoto Kato
033888d30a Bug 604323 - Bug 514570 causes bustage Win64 debug build. r=jwalden 2010-10-15 10:28:30 +09:00
Paul Biggar
464c5195d7 Bug 590486: Remove snarl now that eval is fast again.
In bug 578158, we needed to run entire benchmarks through eval(), but some
benchmark features erroneously prevented the tracer from running. Snarl() was
added to be an eval() without that limitation. Once that limitation was fixed, in
bug 580529, eval() could be used again and so Snarl() wasn't needed.

--HG--
extra : rebase_source : 0f77190acb0756d067ac9f998c5187c931483e1f
2010-10-14 17:49:49 -07:00
Blake Kaplan
e1d2f6f844 Bug 604368 - Protect against the this translator returning a this object from another domain. r=peterv
--HG--
extra : rebase_source : cf6f17e100d0b2fc1cef483e3480757f636d877a
2010-10-14 16:57:56 -07:00
Blake Kaplan
7961434bd1 Bug 604368 - Successfully get principals off of sandboxes too. r=peterv
--HG--
extra : rebase_source : 78252e0d3a702d3fdbe2221e8649bf59896b47d4
2010-10-14 16:57:27 -07:00
Jason Orendorff
7062d1174d Silence the few noisiest MSVC warnings. Bug 604276, r=luke.
--HG--
extra : rebase_source : 10874d0c67e080a7143c5a57066a3fd3db6209cb
2010-10-14 18:47:24 -05:00
Sean Stangl
c92d9ddfdd Detect some OOM conditions. b=602935, r=jorendorff. 2010-10-14 19:24:09 -04:00
Blake Kaplan
fd4258f7a7 Fix more orange. a=orange 2010-10-14 16:00:55 -07:00
Blake Kaplan
cfbcf1b6ef Fix bustage. a=orange
--HG--
extra : transplant_source : %CA%90%83%CA%B8%EF%94%24%D8b%FE%8F%E0-%86%B6%BB%0A%8E%EE
2010-10-14 15:53:23 -07:00
Blake Kaplan
2705deadbc Bug 604363 - Don't create Xray wrappers for chrome objects in sandboxes. r=peterv
--HG--
extra : rebase_source : 417edb2b843c0f3d8c4f5cb28d1872d901b3081d
2010-10-14 14:56:31 -07:00
Dave Herman
d78d204bb8 bug 602940, r=brendan: remove narcissus from hg tree 2010-10-14 14:36:17 -07:00
Jeff Walden
9f83aeddb8 Revert 782a44082ed2, which was a somewhat-too-optimistic removal of code that's not dead yet (and is not getting better). r=orange 2010-10-14 14:20:59 -07:00
Andreas Gal
3417abf36c Don't try to waive Xray wrapper for primitives (604361, r=mrbkap). 2010-10-14 13:41:52 -07:00
Jeff Walden
f8640c1804 Fix old comment referring to eval cache code being in obj_eval. r=waylon
--HG--
extra : rebase_source : d16f94910568917291fb0b28b124e1632c1f02af
2010-10-11 11:49:29 -07:00
Jeff Walden
c2c3186f83 Bug 602441 - Remove nigh-unreachable property-cache-testing code (modulo MT objects, nearing complete removal from SpiderMonkey) in the property-setting codepath. r=brendan
--HG--
extra : rebase_source : 38ed65e2dde3b80086be6da4a75120d24759df81
2010-10-07 13:59:23 -07:00
Jeff Walden
4500a1845e Bug 602441 - JM: Botched extensibility checking when attempting to add a new property to an object. r=dmandelin
--HG--
extra : rebase_source : 1676262c875cd2d283f63c28ae86c9230b7b942a
2010-10-07 12:30:13 -07:00
Jeff Walden
ec6a82be0d Add a test for (eval)(code) being direct eval; also add tests for (1,eval)(code), (a?b:eval)(code), and so on (constant-folding expressions, at least before bug 537673) being indirect. r=lumpy
--HG--
extra : rebase_source : cfed63291a05d936ab76909fe68a0c92ee90d9cd
2010-10-08 20:27:19 -07:00
Jeff Walden
516e962572 Remove declaration for the never-defined js_GetWrappedObject method (obj->wrappedObject(cx) was the long-ago replacement). r=sparky
--HG--
extra : rebase_source : d50bcf859e415469494e53426ba51d0e4304e676
2010-10-07 16:37:38 -07:00
Sean Stangl
7db1c7a596 Eliminate ImmutableSync on x64. b=601066, r=dvander. 2010-10-12 20:08:40 -04:00
Sean Stangl
99e40b8a29 Faster x64 Syncing. b=598839, r=dvander. 2010-10-12 17:39:30 -04:00
Jason Orendorff
17deb16433 Add assertions in JSScript::NewScript against offset overflow. Bug 604387, r=dvander. 2010-10-14 14:58:01 -05:00
Jim Blandy
36fbfed7cc Bug 586917: Properly parse JSOP_TABLESWITCHX instructions in the tracer. r=jorendorff 2010-10-13 18:22:46 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00