Commit Graph

9987 Commits

Author SHA1 Message Date
Jeff Walden
d87075cb43 Bug 536472 - Remove unnecessary getter/setter-setting in JSFunction::flags code. r=cdleary
--HG--
extra : rebase_source : c8365682d92693493adaa74f5f69e8837d1bd5cd
2010-07-28 15:52:15 -07:00
Jeff Walden
ea07e60efa Bug 536472 - Parser::functionDef declaration-delaying. r=cdleary
--HG--
extra : rebase_source : cf878ea44079cf562eb433b01ffe945431c47c88
2010-07-26 16:11:40 -07:00
Gregor Wagner
d58c414a8f Bug 587805 - TM: Clean GCMeter (r=igor) 2010-08-17 11:54:54 -07:00
Blake Kaplan
275b9f21ac Bug 533635 - Don't automatically wrap iframe elements in XOWs. Rely on XPConnect wrapping for the right security wrappers. r=peterv 2010-01-04 23:00:29 -08:00
Blake Kaplan
d8bc476488 Bug 586157 - Deal with setting __proto__ on outer windows. r=jst 2010-08-13 17:05:18 -07:00
Blake Kaplan
b250974915 Bug 586152 - The outer window is not a true global object, but it represents one; therefore, we need to innerize before checking for its global-ness. r=jorendorff 2010-08-10 15:00:26 -07:00
Blake Kaplan
7152410eb9 Bug 514077 - Make XPCNativeWrappers' parent chains follow their wrapped native's chains when they change. r=jorendorff 2010-08-10 15:00:26 -07:00
Blake Kaplan
48fce1a498 Bug 514077 - Get rid of MirrorWrappedNativeParent to simplify the parent chains of XPCNativeWrappers. r=jorendorff 2010-08-10 15:00:26 -07:00
Blake Kaplan
28169c5f95 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Brian Hackett
8ad86a5d56 Date performance fixes, bug 578259. r=waldo 2010-08-17 10:42:57 -07:00
Jason Orendorff
0729e51e07 Convert Windows CR LF pairs to just Unix LF. Sigh. no_r=me.
--HG--
extra : rebase_source : 7445cf7f3cfaca0ff91bbc549c1df90ec4b7fa13
2010-08-17 12:25:55 -05:00
Luke Wagner
876f5eac9f Bug 586335 - remove dead value-to-function code (r=waldo) 2010-08-17 09:44:41 -07:00
Luke Wagner
b1f02a8fbf Bug 586559 - make SimulateImacroCFG cool with pcstack == NULL (r=brendan)
--HG--
extra : rebase_source : bb0cdb4eb51a1cee6a0b08c2f9d050868e577fa0
2010-08-17 09:43:05 -07:00
Luke Wagner
630ec38e8b Bug 585232 - let jsvals flow both ways through XPConnect (r=mrbkap)
--HG--
extra : rebase_source : 9574de7cef4b5037fb90e40a8a4f8403aec319cc
2010-08-17 09:38:44 -07:00
Jason Orendorff
5b68185aba Bug 588019 - Fix dtrace builds. no_r=me.
--HG--
extra : rebase_source : 173ae733ce6b72a3693ee06bb4c9c0cc1ad90a7b
2010-08-17 10:23:39 -05:00
Gregor Wagner
49ad7a8417 Bug 587898 - TM: fix CrossCompartmentCall in jsapi tests (r=jorendorff) 2010-08-17 09:11:01 -07:00
Luke Wagner
ed7ada6b7e Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Luke Wagner
59422fe649 Backout 33addcc556b8 to c8bb41305006 (at the request of mrbkap) 2010-08-16 21:37:37 -07:00
David Mandelin
6b0104f903 Bug 570663: turn a tableswitch on trace into a no-op if it has no cases, r=njn 2010-08-16 18:56:04 -07:00
Blake Kaplan
a17fda2b7d Bug 533635 - Don't automatically wrap iframe elements in XOWs. Rely on XPConnect wrapping for the right security wrappers. r=peterv 2010-01-04 23:00:29 -08:00
Blake Kaplan
1ac4791c74 Bug 586157 - Deal with setting __proto__ on outer windows. r=jst 2010-08-13 17:05:18 -07:00
Blake Kaplan
3d8cd8d4ae Bug 586152 - The outer window is not a true global object, but it represents one; therefore, we need to innerize before checking for its global-ness. r=jorendorff 2010-08-10 15:00:26 -07:00
Blake Kaplan
b16ad5ed0a Bug 514077 - Make XPCNativeWrappers' parent chains follow their wrapped native's chains when they change. r=jorendorff 2010-08-10 15:00:26 -07:00
Blake Kaplan
df5f435eac Bug 514077 - Get rid of MirrorWrappedNativeParent to simplify the parent chains of XPCNativeWrappers. r=jorendorff 2010-08-10 15:00:26 -07:00
Blake Kaplan
3e81f7fd38 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Jeff Walden
7e990da8d2 Bug 580932 - Firefox's strict error reporting prevents ES5 test suite from running. r=jimb over IRC 2010-08-16 16:04:08 -07:00
Andreas Gal
f6f96b56f0 Bug 586531 - Make jsapi-tests not use the default compartment by default. r=jorendorff. 2010-08-16 16:42:50 -05:00
Jim Blandy
4301b4bb0b Bug 522158: Avoid extra warning for duplicated prop names in object initializers. r=waldo 2010-08-16 13:05:33 -07:00
David Anderson
f585a9f20d Disable recursion for heavyweight functions (bug 583757, r=jorendorff). 2010-08-16 13:37:47 -04:00
Jason Orendorff
25268597de Test for bug 584578.
--HG--
extra : rebase_source : 82a5fa5ac198a9792f2540fea7cbbe7962fc4faf
2010-08-16 09:29:14 -05:00
Brian Hackett
ed4defc8b5 Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw 2010-08-15 08:44:51 -04:00
Chris Leary
b725adffe8 Bug 586358: make imacpc flagged. (r=lw) 2010-08-15 04:16:54 -07:00
Brian Hackett
03a7ed6a9d Add interface for JSStackFrame.annotation/debugHook/callerVersion, bug 586533. r=lw 2010-08-14 11:59:44 -04:00
Chris Leary
30febd737e Try to fix intermittent refcount assertions in the presence of more than one thread. Bug 587277 - TM: ExecutablePool release race. r=sayrer 2010-08-14 00:34:14 -07:00
Brian Hackett
da6f70519b Second try at adding interface for JSStackFrame.scopeChain/blockChain, bug 586533. r=lw 2010-08-13 23:36:37 -04:00
Andreas Gal
1084347139 b=586387; Problem with Typed Float32 Arrays and canonicalizeNaNs() / LIR_cmovd; r=nnethercote/edwsmith 2010-08-13 14:57:50 -07:00
Chris Leary
148bbf7986 Unleak regexp arena. Bug 586898 - JM: memory leak due to YARR. r=sayrer 2010-08-13 12:09:44 -07:00
Jason Orendorff
37d79b0719 Merge backout. 2010-08-13 08:24:40 -05:00
Jason Orendorff
8a568c9133 Backed out changeset c5e31473b1a6 (assertions for bug 583850). See bug 584578 and bug 585754. 2010-08-13 08:21:13 -05:00
Jason Orendorff
2ca54c3e0e Bug 585257 - "Assertion failure: obj == obj2". r=gal. 2010-08-13 08:17:29 -05:00
Robert Sayre
a00d7f60fe Backed out changeset 1406935fced4. Brian Hackett – Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw. 2010-08-12 21:47:46 -07:00
Brian Hackett
a416b05f95 Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw 2010-08-13 00:08:37 -04:00
Chris Leary
58398dc6a8 Bug 586827: fix bad regexp arena behavior. (r=apierce)
--HG--
extra : rebase_source : 12997990f1015f961539c7b8b8e028a83d1fc5d2
2010-08-12 18:55:26 -07:00
Jason Orendorff
0a72eec1c8 Bug 584648 - Assertion failure: !entry->key.obj && entry->flags == 0. r=brendan. 2010-08-12 21:00:45 -05:00
Tom Austin
f52b80ff3b Bug 580882. Update to allow Narcissus to work within a browser. r=gal. 2010-08-12 17:00:12 -07:00
Shu-yu Guo
f3322eb6a8 Bug 586817 - eliminate the one use of == that got away. r=pwalton 2010-08-12 16:32:05 -07:00
Brian Hackett
b6fa83e115 Put JSStackFrame.callobj/argsobj behind an interface, bug 586533. r=lw 2010-08-12 18:46:03 -04:00
Jim Blandy
4e04561ee9 Revert fixes for bug 438633, bug 585803 2010-08-12 14:07:52 -07:00
Jim Blandy
ce4b4e5c9e Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.

Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-12 12:38:37 -07:00
Jim Blandy
087a52be00 Bug 585803: Pass TCF_NEED_MUTABLE_SCRIPT when producing scripts returned via JSAPI functions. r=brendan
All scripts produced using JSAPI functions should be able to have
JS_NewScriptObject applied to them. However, JS_CompileFile and
JS_CompileFileHandleForPrincipals fail to pass TCF_NEED_MUTABLE_SCRIPT, and
thus will occasionally return JSScript::emptyScript(); applying
JS_NewScriptObject to that causes a crash.
2010-08-12 12:38:37 -07:00