Commit Graph

753 Commits

Author SHA1 Message Date
bclary@bclary.com
2a4a9e20c6 JavaScript Tests - update spidermonkey-gc.tests, bug 392596, by Jason Orendorff, not part of the build 2007-08-20 09:15:33 -07:00
bclary@bclary.com
e1dbb71e6f JavaScript Tests - regression test for bug 392308, by Norris Boyd, not part of the build 2007-08-18 03:18:40 -07:00
mrbkap@gmail.com
ac93da416a Get the right class -- off of obj2, not obj and ensure that we propagate failure from outerObject. bug 375344, r=brendan a=sicking 2007-08-17 18:24:51 -07:00
jwalden@mit.edu
4ff6f987ed Bug 296653 - mkdepend takes more than 10 hours on Solaris for nsIconChannel.cpp. Patch by Ginn Chen <ginn.chen@sun.com>, r=cls, a=bz 2007-08-17 16:07:39 -07:00
mrbkap@gmail.com
86520181f1 Get the right property attributes and actually look up the prototype chain. bug 390948, r+sr+a=jst 2007-08-16 13:32:27 -07:00
igor@mir2.org
4773ca1cae Bug 391290: mutability flag for strings is stored inside strings. r=brendan 2007-08-15 23:23:06 -07:00
bclary@bclary.com
5c5403c72e JavaScript Test - regression test for bug 392310, by Norris Boyd, not part of the build 2007-08-15 16:27:35 -07:00
bclary@bclary.com
2408c80cca JavaScript Test - regression test for bug 363578, by nanto_vi (TOYAMA Nao), not part of the build 2007-08-15 15:48:16 -07:00
mrbkap@gmail.com
776963dff3 Allow 'this' to not be a wrapped object. bug 390560, r+sr+a=jst 2007-08-15 14:20:45 -07:00
mrbkap@gmail.com
1f8de346fe Make XPCSafeJSObjectWrapper usage in PAC actually work correctly for the common case. bug 391515, r=jst sr+a=brendan 2007-08-15 14:16:52 -07:00
mrbkap@gmail.com
193df57c3c Don't assume that all XOWs are equal. bug 391497, r+sr=jst 2007-08-15 14:13:49 -07:00
mrbkap@gmail.com
ca45b33a3e Don't wrap everything that comes out of a wrapped function, if that function is same-origin. bug 390946, r+sr+a=jst 2007-08-15 14:09:27 -07:00
igor@mir2.org
b9bdaf6628 Bug 392305: restoring pinning of the lazy atoms to fix various regressions. r=brendan 2007-08-15 11:57:44 -07:00
nboyd@atg.com
46d051330d Implement correct semantics of storage class (global, var, let) for destructuring assignment. 2007-08-15 05:00:05 -07:00
mrbkap@gmail.com
c3073ee423 Fix compile warning. No bug, r+a=brendan 2007-08-13 15:44:37 -07:00
mrbkap@gmail.com
4cac4a905d Date.UTC returns incorrect value if date is less than or equal to 0. bug 363578, patch from jag, r=mrbkap a=brendan 2007-08-13 13:45:32 -07:00
igor@mir2.org
f710f08e47 Bug 392074: JS_IS_VALID_TRACE_KIND no longer refers to the removed JSTRACE_ATOM. r=brendan 2007-08-13 13:23:34 -07:00
igor@mir2.org
ef454e18c0 Bug 392041: js_PutEscapedStringImpl gets JS_FRIEND to permit usage outside js lib. r=brendan 2007-08-13 12:35:07 -07:00
igor@mir2.org
202af28de4 Bug 391851: JS_ResolveStandardClass now does nothing on shutdown. r=brendan 2007-08-12 15:11:38 -07:00
brendan@mozilla.org
7193a26b68 Update #if 0'd code to work (helpful for debugging; r/a=self). 2007-08-11 22:10:02 -07:00
igor@mir2.org
14e3457a58 Bug 386265: using double kashing for atoms. r=brendan 2007-08-11 13:25:16 -07:00
igor@mir2.org
dec81ea13e Bug 391033: no frame manipulation when reporting errors. r=brendan 2007-08-10 23:12:00 -07:00
dbaron@dbaron.org
3d937ce26b Fix leak in DEBUG-only code. b=391769 r+sr+a=jst 2007-08-10 17:53:53 -07:00
jwalden@mit.edu
6857311bfd Bug 391145 - failed to build Spidermonkey: inresolved symbol ( prmjtime.c PRMJ_Now _SetCriticalSectionSpinCount _InitializeCriticalSectionAndSpinCount ). Patch by Rob Arnold <robarnold@mozilla.com>, r=brendan, r=bsmedberg 2007-08-10 16:23:38 -07:00
bclary@bclary.com
c71d5ec083 JavaScript Tests - regression tests for bug 385393, by Jesse Ruderman, not part of the build 2007-08-10 14:41:54 -07:00
dbaron@dbaron.org
8e42a71665 Finish the deflated string cache after uninterning atoms, so we don't leak their associated strings. b=391587 r+a=brendan 2007-08-10 14:30:13 -07:00
jwalden@mit.edu
e8ad7f0e3d Bug 391423 - Reposition JS_(BEGIN|END)_EXTERN_C to avoid nesting #includes. Patch by Edward Lee <edilee@mozilla.com>, r=jorendorff, r=bsmedberg 2007-08-10 14:27:08 -07:00
jst@mozilla.org
64193de21c Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu 2007-08-09 15:19:59 -07:00
bclary@bclary.com
8b9cba4995 JavaScript Tests - regression tests for bug 373595, by Jesse Ruderman, not part of the build 2007-08-08 08:21:55 -07:00
bclary@bclary.com
fd7f558e0a JavaScript Tests - regression tests for bug 367501, by moz_bug_r_a4, not part of the build 2007-08-08 08:05:08 -07:00
bclary@bclary.com
5eec1c2e4a JavaScript Tests - regression test for bug 366601, by Igor Bukanov 2007-08-08 07:52:54 -07:00
bclary@bclary.com
e4c101f248 JavaScript Tests - regression test for bug 365692, by Igor Bukanov 2007-08-08 07:48:57 -07:00
igor@mir2.org
1b67c3135b Bug 387286: patch from Rich Dougherty to name constitently JOF_* flags. r=me 2007-08-08 06:35:05 -07:00
bclary@bclary.com
d4e3723c2e JavaScript Tests - regression test for bug 364023, by shutdown, not part of the build 2007-08-08 03:30:08 -07:00
bclary@bclary.com
6b18a09d66 JavaScript Tests - regression tests for bug 362872, by shutdown, Blake Kaplan, not part of the build 2007-08-08 03:26:45 -07:00
mrbkap@gmail.com
191a54c63d Try harder to find a scope chain so that we can report exceptions when there is no code running currently. bug 390160, r=brendan sr=jst a=brendan 2007-08-07 19:24:52 -07:00
mrbkap@gmail.com
e255840140 Add a mochitest for __parent__ wrapping. 2007-08-07 19:18:05 -07:00
mrbkap@gmail.com
0292761798 Add a mochitest for bug 390001. r=sayrer sr=bzbarsky 2007-08-07 19:12:31 -07:00
mrbkap@gmail.com
b1458c56ab De-confuse GetWrappedNativeOfJSObject about wrappers around the outer object. bug 391055, r+sr=jst 2007-08-07 18:54:48 -07:00
mrbkap@gmail.com
0197403515 Allow UniversalXPConnect scripts to touch XPCNativeWrappers. bug 390788, r+sr=bzbarsky a=jst 2007-08-07 18:51:43 -07:00
mrbkap@gmail.com
10a72405d4 Make XPCSafeJSObjectWrapper easier to use by not throwing for primitive values passed to the constructor. Use it in more places in PAC. bug 388450, r=crowder sr=brendan a=bzbarsky 2007-08-07 18:49:49 -07:00
crowder@fiverocks.com
c0fe57eea8 Bug 121183 - error for {return;} isn't helpful, patch by Rich Dougherty <rich@rd.gen.nz>, r=brendan 2007-08-07 08:51:46 -07:00
igor@mir2.org
4d68066c7e Bug 387481, bug 389063: multithreading atom fixes and cleanups. r=brendan 2007-08-07 00:29:32 -07:00
sayrer@gmail.com
304d723cfe Bug 390958. XPCWrappedNativeScope leaks a WrappedNative2WrapperMap. r=brendan/mrbkap, sr=brendan, a=jst 2007-08-06 20:57:15 -07:00
bzbarsky@mit.edu
0ae3ce0662 Don't set aside the JS stack when pushing a JSContext which is already on top of the JSContext stack on top of itself. Bug 390488, r=jst, sr=brendan, a=jst 2007-08-06 19:05:24 -07:00
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
bclary@bclary.com
1364af67ae JavaScript Tests - regression test for bug 363258, not part of the build 2007-08-05 10:39:44 -07:00
bclary@bclary.com
68aeb10235 JavaScript Tests - updated tests for JS1_8 by Igor Bukanov, bug 380469, not part of the build 2007-08-05 03:22:16 -07:00
bclary@bclary.com
676134fc6e JavaScript Tests - regression test for bug 387871, by Jesse Ruderman, Igor Bukanov, not part of the build 2007-08-05 03:09:52 -07:00
bclary@bclary.com
185cce411b JavaScript Tests - regression test for bug 390918, by Jesse Ruderman, Igor Bukanov, not part of the build 2007-08-05 02:59:42 -07:00
bclary@bclary.com
d3d595626f JavaScript Tests - new version of test to reflect removal of close phase of GC in bug 380469 in JS18, by Igor Bukanov, not part of the build 2007-08-05 02:31:32 -07:00
igor@mir2.org
471ac4ae2c Bug 390918: fixing gen_trace assert. r=brendan 2007-08-04 21:54:34 -07:00
igor@mir2.org
db07fa7de8 Bug 106495: js_strtod and js_strtointeger no longer require \0-terminated js chars. r=brendan 2007-08-04 12:05:16 -07:00
igor@mir2.org
7eb2034218 Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan 2007-08-04 11:59:21 -07:00
brendan@mozilla.org
30ec8e2596 Cope with stillborn funobj tracing via newborn root (390743, r=igor). 2007-08-04 00:31:19 -07:00
dbaron@dbaron.org
b8ec995348 Fix leak of JSScript when a JSFunction is collected in a later GC than its function object. This changes GCX_PRIVATE to GCX_FUNCTION, and is essentially the same as the finalization part of the changes from bug 375808 (by igor). b=389757 r=igor a1.9=brendan 2007-08-04 00:00:43 -07:00
igor@mir2.org
ec402ee7a9 Bug 390078: Avoiding unnecessary GC-tracing of JSStackFrame members. r=brendan 2007-08-03 12:56:35 -07:00
martijn.martijn@gmail.com
8ff4e4f1a5 Bug 390042 - mingw build error - error: no matching function for call to nsAutoString::nsAutoString(jschar*), r=mrbkap, sr=jst, a=jst 2007-08-03 03:15:36 -07:00
dbaron@dbaron.org
8f2ee90bcb Fix leak of xptiInterfaceInfo in DebugDump. b=389765 r+sr=jst a=DEBUG-only 2007-08-02 17:08:28 -07:00
mrbkap@gmail.com
9e31657307 Remove an unused variable. no bug, r=sparky sr=lumpy 2007-08-02 16:42:33 -07:00
mrbkap@gmail.com
cc9667a9a4 Detect cyclic __proto__ values ourselves because the JS engine gets confused by the wrappers. bug 390626, r=brendan sr=jst 2007-08-02 16:38:11 -07:00
brendan@mozilla.org
37164c6b8c Remove deadlock hazard when reparenting, single-threaded DOM so don't worry (390551, r+sr=jst). 2007-08-02 13:56:02 -07:00
brendan@mozilla.org
a5b934bb87 Restore lost ECMA compatibility for length delegating/shadowing (390598, r=igor). 2007-08-02 13:36:53 -07:00
brendan@mozilla.org
920458529b Fix array_pop default return value (390684, r=igor). 2007-08-02 11:40:47 -07:00
igor@mir2.org
fd20317182 Bug 387481: baking out again accidental re-commit of the patch. 2007-08-02 04:34:41 -07:00
igor@mir2.org
9074c93ce0 Bug 390348: Baking out the last commit as the tree is closed. 2007-08-02 04:32:40 -07:00
igor@mir2.org
4498e5d0f7 Bug 106495: baking out the last commit as the tree is closed. 2007-08-02 04:27:04 -07:00
igor@mir2.org
acf45b989a Bug 106495: js_strtod and js_strtointeger no longer require \0-terminated js chars. r=brendan 2007-08-02 02:34:31 -07:00
igor@mir2.org
072eb51edf Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan 2007-08-02 02:28:25 -07:00
igor@mir2.org
d7c8d33f9f Bug 385393: Changing the return value of js_BoyerMooreHorspool to be jsint to fix mingw compilation. 2007-08-02 02:14:06 -07:00
brendan@mozilla.org
a12dfaf037 Fix bogus assertion in last patch (for 385393). 2007-08-02 01:21:55 -07:00
brendan@mozilla.org
40101f57b0 Fixing uninitialized v bug in InitExnPrivate (385393 followup, r=waldo). 2007-08-01 23:32:41 -07:00
brendan@mozilla.org
f9ab1bb197 No good, un-reverting. 2007-08-01 23:05:44 -07:00
brendan@mozilla.org
a5bb4b6493 Attempt to fix orange. 2007-08-01 22:46:19 -07:00
brendan@mozilla.org
ba3ad2ce7a Fast (frame-less) native call optimizations (385393, r=igor). 2007-08-01 21:33:52 -07:00
mrbkap@gmail.com
f429921c80 Make enumeration over XOWs work. bug 390001, r=jst/brendan sr=jst 2007-08-01 15:25:47 -07:00
mrbkap@gmail.com
7713385300 Let "window.eval" work again by always wrapping eval when it comes out of a cross origin wrapper. bug 389878, r+sr=jst 2007-07-31 13:15:21 -07:00
mrbkap@gmail.com
4b4cd4b8f1 Protect vp from garbage collection, since GC could nest under several of the calls here. bug 390222, r+sr=jst 2007-07-31 12:17:31 -07:00
mrbkap@gmail.com
d20c9c9b30 Don't call FindInJSObjectScope on an object that's being finalized because its parent might have been finalized already. bug 389985, r+sr=jst 2007-07-30 15:39:53 -07:00
mrbkap@gmail.com
053410f558 Deal with XPCCallContexts that aren't able to initialize themselves. This also fixes bugs related to finalizing objects on dead contexts. bug 390083, r+sr=jst 2007-07-30 14:50:10 -07:00
igor@mir2.org
1499d581c1 Bug 389880: removal of redundant gcflags argument from string-allocation functions. r=brendan 2007-07-28 09:57:30 -07:00
mrbkap@gmail.com
2ccd5c8afc Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan 2007-07-26 12:18:06 -07:00
benjamin@smedbergs.us
2694ad77f8 Fix MSVC7 build bustage from bug 389401, a=gavin for checkin to closed tree 2007-07-26 07:09:46 -07:00
brendan@mozilla.org
18e7692117 Backing out, see bug 389122 and orange or red tinderboxes. 2007-07-21 16:21:20 -07:00
brendan@mozilla.org
5f038f69ae Fast natives and related optimizations (385393, r=igor). 2007-07-21 14:39:42 -07:00
mrbkap@gmail.com
32e5403680 Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst 2007-07-20 18:03:55 -07:00
nboyd@atg.com
22bf01cd82 Fix bug 388643 - JavaScript Tests - global shell.js sets JavaScript version to
version lower than required by E4X tests
Patch from David Caldwell.
2007-07-19 12:57:48 -07:00
dbaron@dbaron.org
e2de611d66 Add more useful assertion for debugging cycle collector faults. b=386912 r+sr=peterv 2007-07-18 21:58:39 -07:00
dmose@mozilla.org
b67b115f9b Fix comment to say 'createInstance' when it really means that, since this is pointed to by devmo as API documentation; no bug; rs=shaver 2007-07-18 13:19:05 -07:00
nboyd@atg.com
4b843458ac Fix bug 387694 - More reportMatch changes to generalize tests 2007-07-18 12:59:20 -07:00
bclary@bclary.com
f4c691ea89 add winmm.lib to JavaScript Shell build configuration on Windows, bug 363258, not part of the build. r=mrbkap 2007-07-18 12:55:15 -07:00
jwalden@mit.edu
aed9b5ce09 Bug 388276 - Build failed on solaris x86 due to checkin for 372428. Patch by Leon Sha <leon.sha@sun.com>, r=cls 2007-07-17 14:23:24 -07:00
mrbkap@gmail.com
243fcf04c8 Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst 2007-07-17 13:12:21 -07:00
igor@mir2.org
7521eca107 Bug 387871: proper state checks when closing the generator. r=brendan 2007-07-16 23:41:20 -07:00
igor@mir2.org
c1697578e3 Bug 380469: Followup to remove to no longer used JSGenerator.next. r=brendan 2007-07-16 23:38:27 -07:00
mrbkap@gmail.com
5c7beffa5d Fixing build bustage. 2007-07-16 14:44:00 -07:00
mrbkap@gmail.com
fdc7ef43dc Bad millisecond resolution for (new Date).getTime() / Date.now() on Windows. bug 363258, patch from Rob Arnold <robarnold@mozilla.com>, r=brendan 2007-07-16 14:29:57 -07:00
igor@mir2.org
2c3d4c6796 Bug 380469: Taking away too zealous code simplification. 2007-07-16 13:57:16 -07:00
dolske@mozilla.com
6bf090c4dc Bug 388190: XPCOMUtils spews uuids when registering components. r=sayrer, sr=benjamin 2007-07-16 10:57:49 -07:00
alex@croczilla.com
1f0c5d93d4 Bug 381693 - Allow null targetObj arg to xpcIJSModuleLoader::import().
r=sayrer, src=brendan.
2007-07-15 11:21:11 -07:00
asqueella@gmail.com
25882be3be synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer, bug 380970
2007-07-14 14:43:35 -07:00
igor@mir2.org
35f6f4434c Bug 380469: Followup for the previous check in to remove more no longer used close-on-GC code. r=brendan 2007-07-14 01:28:57 -07:00
igor@mir2.org
7f9b5d19e5 Bug 387909: make sure that [generator] is the first bytecode. r=brendan 2007-07-13 14:23:39 -07:00
bclary@bclary.com
fa8f53b8c7 JavaScript Test - regression test for bug 349326, by Igor Bukanov 2007-07-13 10:23:49 -07:00
bclary@bclary.com
34979ba6a5 JavaScript Test - regression test for bug 382981, by Jesse Ruderman 2007-07-13 10:08:03 -07:00
bclary@bclary.com
7387995a11 JavaScript Test - regression test for bug 383269, by Igor Bukanov, Brendan Eich 2007-07-13 09:56:29 -07:00
igor@mir2.org
79f3a28c2d Bug 380469: Calling close on unreachable generators from GC is no longer supported. r=brendan 2007-07-13 00:28:47 -07:00
bclary@bclary.com
50dd33d1af JavaScript Test - regression test for bug 384680, by Jesse Ruderman 2007-07-12 19:26:26 -07:00
bclary@bclary.com
6c2c3b9ee4 JavaScript Test - regression test for bug 385134, by Jesse Ruderman 2007-07-12 19:08:24 -07:00
bclary@bclary.com
0e7cbb17c7 JavaScript Test - regression test for bug 385729, by Jesse Ruderman 2007-07-12 18:49:58 -07:00
bclary@bclary.com
6b599d58f1 JavaScript Test - regression test for bug 386030, by Blake Kaplan 2007-07-12 18:13:41 -07:00
crowder@fiverocks.com
b41a2f79a8 Bug 357016: follow-up to fix another void* nit, patch by Edward Lee edilee@mozilla.com, r=crowder 2007-07-12 17:04:23 -07:00
bclary@bclary.com
f66da88076 JavaScript Test - regression test for bug 387501 2007-07-12 13:56:00 -07:00
jwalden@mit.edu
af5688aa77 Back out bug 386635; it broke restoring sessions in the browser. 2007-07-12 12:11:45 -07:00
bclary@bclary.com
21f8eca1f2 JavaScript Tests - automation updates, bug 387909, not part of the build 2007-07-12 10:49:30 -07:00
igor@mir2.org
a3be4211d4 Bug 357016: Patch from Edward Lee to restore ability to compile SpiderMonkey with C++ compiler. It was broken after my changes. r=myself 2007-07-12 00:48:50 -07:00
jwalden@mit.edu
8f1a184c3f Back out bug 387390; it causes the marquee binding to throw security exceptions. 2007-07-11 20:14:27 -07:00
mrbkap@gmail.com
ab6b85e4fa Don't trust the filename of cloned functions. bug 387390, r=jst sr=brendan 2007-07-11 18:27:03 -07:00
mrbkap@gmail.com
fcde0538ee Always return XPCSafeJSObjectWrappers from Components.utils.Sandbox and evalInSandbox. This makes this interface much, much easier to use safely, as the wrapper takes care of several common problems that occur when touching regular JS objects directly. bug 386635, r=jst sr=brendan 2007-07-11 15:52:28 -07:00
mrbkap@gmail.com
f90fd387a3 Clear dormantNext when we're done using it. bug 387725, r=igor 2007-07-11 14:57:05 -07:00
igor@mir2.org
a4c622bced Bug 386885: JSAtom.number is removed in favour of using atoms itself for hashing. r=brendan 2007-07-11 02:25:45 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
bzbarsky@mit.edu
a91172fdd2 Clean up the XDR properly even if JS_XDRScript fails. In particular, don't
double-free things.  Bug 387572, r+sr=brendan
2007-07-10 20:10:43 -07:00
bzbarsky@mit.edu
8a55f7964d Relanding bug 326777, r=bsmedberg, sr=jst 2007-07-10 17:57:17 -07:00
mrbkap@gmail.com
bb96ca4a6a Create exceptions with the right parent. bug 387390, r=jst sr=brendan 2007-07-10 17:37:03 -07:00
mrbkap@gmail.com
fb2469a627 Ensure that we have a valid scope chain at all times so C++ callers can create objects in the right scope. bug 387591, r=brendan 2007-07-10 17:29:25 -07:00
mrbkap@gmail.com
c71d4d7cd9 Avoid asserting for user-controlled thing (through __proto__ setting). bug 387182, r+sr=jst 2007-07-10 17:27:57 -07:00
brendan@mozilla.org
85a81f822c to{Source,{,Locale}String} are not generic (387501, r=mrbkap). 2007-07-09 22:07:20 -07:00
bzbarsky@mit.edu
b684e745b0 Backing out to fix red 2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
e57cc08535 Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events.  Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
mrbkap@gmail.com
623c0f85b7 Attempt to fix leaks. 2007-07-09 17:24:16 -07:00
mrbkap@gmail.com
9142f922fa Back out this change to hopefully fix the rest of the regressions test failures (from bug 386695). 2007-07-09 16:34:58 -07:00
mrbkap@gmail.com
9f3554437c Associate XPCWrappedNativeScopes with XPCContexts, like the DOM does with windows and contexts, so that we can push a context that's allowed to actually call XPCWrappedJS functions. bug 352791, r=jst sr=brendan 2007-07-09 14:51:57 -07:00
mrbkap@gmail.com
980c3bec0a Don't create exceptions using the global object as the parent, since that's bogus, use the scope chain instead. bug 386695, r+sr=jst 2007-07-09 14:46:18 -07:00
igor@mir2.org
ab560f0cb7 Bug 385729: objects and regexps are stored in separated tables in JSScript. r=brendan,mrbkap 2007-07-08 02:03:34 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
igor@mir2.org
20e1e61bfd Bug 387229: now DUMP_SCOPE_STATS includes js_scope_stats into the log. r=brendan 2007-07-07 14:55:29 -07:00
dbaron@dbaron.org
85bc16700d Fix bogus trace names. b=387223 r=brendan 2007-07-07 00:30:58 -07:00
mrbkap@gmail.com
978a357c6f Allow chrome files to touch implicit XPCNativeWrappers. bug 387084, r+sr=jst 2007-07-06 17:52:44 -07:00
jwatt@jwatt.org
b661213963 Fixing bug 317304. Implement weak references for JavaScript. Patch by Alex Fritze <alex@croczilla.com>. r+sr=shaver@mozilla.org 2007-07-06 13:13:12 -07:00
brendan@mozilla.org
d3ce030899 Fix degenerate unsigned (enum) comparisons (357016, r=igor). 2007-07-05 16:25:27 -07:00
crowder@fiverocks.com
1bd6dc84a7 Bug 357016: changing this back to (void *) for now to fix burning tree 2007-07-05 13:54:44 -07:00
crowder@fiverocks.com
b5153b0a7c Bug 357016: fixing brendan's nit from comment 23 2007-07-05 13:41:59 -07:00
crowder@fiverocks.com
daa4556abc Bug 357016: spidermonkey should be buildable by a C++ compiler, patch by
crowder/Jason Orendorff, r=brendan
2007-07-05 13:37:47 -07:00
mrbkap@gmail.com
774b9ea95f Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst 2007-07-05 13:13:43 -07:00
mrbkap@gmail.com
a3f0810cc1 Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst 2007-07-05 13:01:12 -07:00
dbaron@dbaron.org
b55a2cb262 Put comment in the right place. b=180380 2007-07-03 14:31:02 -07:00
mrbkap@gmail.com
1605bc2452 Backing out these changes to fix tinderbox orange. 2007-07-02 18:12:41 -07:00
mrbkap@gmail.com
ba27e0932a Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst 2007-07-02 16:39:41 -07:00
brendan@mozilla.org
046a5b5536 Fix redundant statement and out-of-date comment. 2007-07-02 14:06:52 -07:00
igor@mir2.org
9137bfaf4e Bug 349326: for-in loop now always closes iterator objects. r=brendan 2007-07-02 05:13:23 -07:00
timeless@mozdev.org
90c5be45ec Bug 385765 [@ jsdASObserver::Observe] You can't dereference a NULL nsCOMPtr with operator->()
r=dveditz sr=dveditz
2007-07-01 12:25:10 -07:00
sayrer@gmail.com
523df9c569 Bug 180380. nsXPCComponents object and its wrapper leaked at shutdown. Patch by David Baron, David Bradley, and Robert Sayre. r=jst/bzbarsky, sr=dbaron 2007-06-30 16:00:09 -07:00
dbaron@dbaron.org
ab765e1d21 Suspect all native wrappers during cycle collection (last part, rest already done by Graydon). b=368869 r=graydon sr=jst 2007-06-29 20:03:30 -07:00
dbaron@dbaron.org
1f58020b96 Make wrapped native debug dump log the native that is wrapped. b=385549 r+sr=jst 2007-06-29 20:02:15 -07:00
jst@mozilla.org
92a4c5b092 Fixing bug 380474. Use the inner object when looking up methods and adding event listeners. r=mrbkap@mozilla.org, sr=brendan@mozilla.org 2007-06-27 17:28:02 -07:00
mrbkap@gmail.com
2b63ef8316 Skip initial holes when computing the start value of reduce(Right). bug 386030, r=brendan 2007-06-27 17:04:49 -07:00
brendan@mozilla.org
397ecf464e Re-land fix for cloned function object prototyping (300079, r=igor/mrbkap). 2007-06-26 11:19:54 -07:00
enndeakin@sympatico.ca
d165145397 Bug 382034, support optional args in idl, try again with fix for crash calling toString, r+sr=shaver 2007-06-25 07:23:26 -07:00
enndeakin@sympatico.ca
2364c01e63 Bug 382034, back out due to test content/base/test/test_bug352728.html failing 2007-06-22 08:21:13 -07:00
enndeakin@sympatico.ca
23b79c6763 Bug 382034, support optional arguments in idl, r+sr=shaver 2007-06-22 07:22:20 -07:00
dbaron@dbaron.org
4f57c6e110 Back out again. 2007-06-21 20:11:41 -07:00
mrbkap@gmail.com
813d418204 Actually populate the string cache so we don't leak all deflated strings. bug 385378, r=brendan 2007-06-21 17:31:50 -07:00
dbaron@dbaron.org
3416985295 Bug 368869, suspect all native wrappers for cycle collection. Relanding. Patch by graydon@mozilla.com. r=brendan, sr=jst 2007-06-21 15:25:51 -07:00
mrbkap@gmail.com
599875400f Remove useless variable. bug 385368, patch from Gabriel Sjoberg <gabrielsjoberg@gmail.com>, r=mrbkap 2007-06-21 13:38:45 -07:00
sayrer@gmail.com
8e7abbc126 Bug 381651. Tweak XPCOMUtils. Patch by Nickolay_Ponomarev <asqueella@gmail.com>. r=sayrer, sr=bsmedberg 2007-06-20 21:53:35 -07:00
mrbkap@gmail.com
5154e96e3e Implement a full nsIScriptSecurityManager in xpcshell. bug 239969, r+sr=jst 2007-06-20 17:10:48 -07:00
mrbkap@gmail.com
c2900f1bf8 Use the latest version of JS, so the shell always has the newest features. bug 385159, r=brendan 2007-06-20 16:53:55 -07:00
sayrer@gmail.com
d01819ffd5 back out patch for bug 300079 due to leak regressions, as the new textframe code needs to land 2007-06-20 11:53:28 -07:00
brendan@mozilla.org
b028f6e4c2 Test a hypothesis about the shutdown leak that's biting 300079's patch (a=sayrer). 2007-06-20 10:03:15 -07:00
bclary@bclary.com
c6aa9af8da JavaScript Tests - regression test for bug 300079, by Brendan Eich 2007-06-20 00:50:52 -07:00
brendan@mozilla.org
32af93813b Fix violation of function prototyping due to cloned function object implementation (300079, r=mrbkap; expecting r=igor after the fact, want to get this in for widespread testing tomorrow). 2007-06-19 23:37:15 -07:00
sayrer@gmail.com
7dae407d8c Bug 384168. C.u.import doesn't prevent recursion in the presence of circular dependencies. r=brendan, sr=bsmedberg 2007-06-19 23:29:49 -07:00
timeless@mozdev.org
3da1de5e09 Bug 365363 Return value for GetJSDValue ignored leading to death
r=silver sr=biesi
2007-06-19 22:56:13 -07:00
brendan@mozilla.org
1d08c89997 Function atom if non-null must be string-keyed (385134, r=mrbkap). 2007-06-19 22:11:38 -07:00
gavin@gavinsharp.com
72a9b9d6c0 Back out previous patch for bug 239969 (bustage, and tree is closed) 2007-06-19 19:30:54 -07:00
mrbkap@gmail.com
ed3cb9fd25 Implement an nsIScriptSecurityManager for the xpcshell. bug 239969, r+sr=jst 2007-06-19 19:13:22 -07:00
mrbkap@gmail.com
dee0d7449d Backing this patch out again to fix sessionstore. See bug 300079 and 385085 2007-06-19 19:06:00 -07:00
brendan@mozilla.org
1310ca8ca2 Fix violation of function prototyping due to cloned function object implementation (300079, r=igor). 2007-06-19 11:49:53 -07:00
crowder@fiverocks.com
a8f2207ba1 Bug 384809 : Various JS engine crashes/leaks in OOM conditions, r=brendan, patch by Gavin Reaney, gavin@picsel.com 2007-06-18 21:10:03 -07:00
brendan@mozilla.org
b048a14b1d Clean up property attributes (384846, r=mrbkap). 2007-06-18 19:52:50 -07:00
crowder@fiverocks.com
8cb800285d Bug 384901: leak in jsfile.c, patch by Robin Ehrlich, rehrlich@ubiqinc.com, r=mrbkap 2007-06-18 14:40:30 -07:00
mrbkap@gmail.com
890edf6388 Protect js_GetStringBytes from callers that happen during the last GC. Patch from brendan, bug 336907, r=daumling sr=shaver 2007-06-18 14:38:31 -07:00
crowder@fiverocks.com
d1f64c8dba Bug 383607: add ARM pure endian double support to JS engine, r=crowder, patch by Gavin Reaney gavin@picsel.com 2007-06-18 14:31:48 -07:00
crowder@fiverocks.com
c1aa44fdaa bug 379056: quieting the assertions here for all but myself and mrbkap, r=mrbkap 2007-06-18 13:24:00 -07:00
igor@mir2.org
64f1c8053d Bug 384478: Patch from Mike Moening to fix warning when compiling with VC. r=me 2007-06-18 12:33:21 -07:00
bclary@bclary.com
4b6b6731f7 JavaScript Tests - update test range to 48.5-51.5%, bug 211590 2007-06-18 11:35:32 -07:00
jwatt@jwatt.org
bc9300967d Fixing bug 383917. The new Components.utils.import code shouldn't spam the console. r=sayrer@gmail.com, sr=brendan@mozilla.com 2007-06-18 08:36:16 -07:00
bzbarsky@mit.edu
4c4d3394be Backing out bug 300079 to see whether that fixes tinderbox orange. 2007-06-18 07:32:35 -07:00
brendan@mozilla.org
98945d72c4 Fix violation of function prototyping due to cloned function object implementation (300079, r=igor). 2007-06-17 22:33:36 -07:00
bclary@bclary.com
ca5f1ec7c0 JavaScript Test - catch indirect eval exception on trunk, bug 352797 2007-06-17 22:20:11 -07:00
bclary@bclary.com
6354f81db1 JavaScript Test - catch indirect eval exception on trunk, bug 361571 2007-06-17 22:17:54 -07:00
brendan@mozilla.org
1f18b43300 Remove __callee__ property of Call prototypes (384642, r=igor). 2007-06-17 22:10:19 -07:00
brendan@mozilla.org
1040011453 Emit JSOP_GROUP when optimizing away delete (382981, r=mrbkap). 2007-06-17 11:05:37 -07:00
brendan@mozilla.org
f1c02f9635 Fix recent regression in CheckSideEffects for paren-expr case (384680, r=mrbkap). 2007-06-16 12:48:44 -07:00
bclary@bclary.com
eb86e92301 JavaScript Tests - move test to extensions subsuite 2007-06-16 11:41:14 -07:00
bclary@bclary.com
e5342d13d0 JavaScript Test - add strict warning tests for eval rename 2007-06-16 10:14:17 -07:00
brendan@mozilla.org
32fbc12486 Better entrainment avoidance for Call.arguments (383269, r=igor). 2007-06-15 17:29:21 -07:00
mrbkap@gmail.com
56aed6adf0 Restrict who can claim to implement nsISecurityCheckedComponent. bug 352882, r=jst sr=bzbarsky 2007-06-15 14:44:51 -07:00
mrbkap@gmail.com
aa1ee1385b Use a better filename when eval is used across scopes. bug 369211, r=brendan 2007-06-15 14:00:26 -07:00