Commit Graph

9731 Commits

Author SHA1 Message Date
igor@mir2.org
36e4858c52 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
bc6feecd10 Bug 391851: JS_ResolveStandardClass now does nothing on shutdown. r=brendan 2007-08-12 15:11:38 -07:00
brendan@mozilla.org
3a64e304b9 Update #if 0'd code to work (helpful for debugging; r/a=self). 2007-08-11 22:10:02 -07:00
igor@mir2.org
db0f3d53a2 Bug 386265: using double kashing for atoms. r=brendan 2007-08-11 13:25:16 -07:00
igor@mir2.org
f705a82de6 Bug 391033: no frame manipulation when reporting errors. r=brendan 2007-08-10 23:12:00 -07:00
dbaron@dbaron.org
4242ec800a Fix leak in DEBUG-only code. b=391769 r+sr+a=jst 2007-08-10 17:53:53 -07:00
jwalden@mit.edu
ff240f5bc0 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
99a0512e9c 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
51c380ef8b 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
5307ebca39 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
4f27bf89e3 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
f093d5e7a3 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
32e90d99d8 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
bdfb98ded9 JavaScript Tests - regression test for bug 366601, by Igor Bukanov 2007-08-08 07:52:54 -07:00
bclary@bclary.com
b6823cfb61 JavaScript Tests - regression test for bug 365692, by Igor Bukanov 2007-08-08 07:48:57 -07:00
igor@mir2.org
557d276629 Bug 387286: patch from Rich Dougherty to name constitently JOF_* flags. r=me 2007-08-08 06:35:05 -07:00
bclary@bclary.com
c20db20ad7 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
42146bfa25 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
ec27287d22 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
356f527fb9 Add a mochitest for __parent__ wrapping. 2007-08-07 19:18:05 -07:00
mrbkap@gmail.com
bc7aaf737e Add a mochitest for bug 390001. r=sayrer sr=bzbarsky 2007-08-07 19:12:31 -07:00
mrbkap@gmail.com
3989bcdf70 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
1e49925451 Allow UniversalXPConnect scripts to touch XPCNativeWrappers. bug 390788, r+sr=bzbarsky a=jst 2007-08-07 18:51:43 -07:00
mrbkap@gmail.com
a9f1777416 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
9a0a6ec788 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
b3e7b100a7 Bug 387481, bug 389063: multithreading atom fixes and cleanups. r=brendan 2007-08-07 00:29:32 -07:00
sayrer@gmail.com
804332784a Bug 390958. XPCWrappedNativeScope leaks a WrappedNative2WrapperMap. r=brendan/mrbkap, sr=brendan, a=jst 2007-08-06 20:57:15 -07:00
bzbarsky@mit.edu
211f3f453f 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
5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
bclary@bclary.com
6a1745706d JavaScript Tests - regression test for bug 363258, not part of the build 2007-08-05 10:39:44 -07:00
bclary@bclary.com
03de3b1e25 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
cdfe23a889 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
9ef01276be 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
9699decebe 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
d408f48bbf Bug 390918: fixing gen_trace assert. r=brendan 2007-08-04 21:54:34 -07:00
igor@mir2.org
b878f5679c 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
16dfe406f9 Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan 2007-08-04 11:59:21 -07:00
brendan@mozilla.org
bccb956372 Cope with stillborn funobj tracing via newborn root (390743, r=igor). 2007-08-04 00:31:19 -07:00
dbaron@dbaron.org
a1dfca0c39 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
5687673cb8 Bug 390078: Avoiding unnecessary GC-tracing of JSStackFrame members. r=brendan 2007-08-03 12:56:35 -07:00
martijn.martijn@gmail.com
818fac589b 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
3f87493896 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
51ce5e88c3 Remove an unused variable. no bug, r=sparky sr=lumpy 2007-08-02 16:42:33 -07:00
mrbkap@gmail.com
15893bcdca 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
554a416c3b 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
d8eddca351 Restore lost ECMA compatibility for length delegating/shadowing (390598, r=igor). 2007-08-02 13:36:53 -07:00
brendan@mozilla.org
df13eadca4 Fix array_pop default return value (390684, r=igor). 2007-08-02 11:40:47 -07:00
igor@mir2.org
4bf77bebf8 Bug 387481: baking out again accidental re-commit of the patch. 2007-08-02 04:34:41 -07:00
igor@mir2.org
4f4eeb5c0f Bug 390348: Baking out the last commit as the tree is closed. 2007-08-02 04:32:40 -07:00
igor@mir2.org
be07497074 Bug 106495: baking out the last commit as the tree is closed. 2007-08-02 04:27:04 -07:00