Commit Graph

589 Commits

Author SHA1 Message Date
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