4930 Commits

Author SHA1 Message Date
mrbkap%gmail.com
ccb796aef8 Bug 472787 - Eagerly set the return value. Backport by Gary Kwong. r=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255942 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-27 23:42:46 +00:00
mrbkap%gmail.com
a571ba51b0 Bug 473709 - Protect |str| across the call to js_NewRegExp. r=jwalden a=dveditz. Thanks to Gary Kwong for helping backport the patch!
git-svn-id: svn://10.0.0.236/trunk@255885 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-22 03:04:00 +00:00
mrbkap%gmail.com
b73bd132e2 Bug 468581 - Use a better function to compute principals. r=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255765 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 07:18:31 +00:00
mrbkap%gmail.com
f2d00fa75e Bug 464092 - Censor access to block objects when they're the parents of functions. r=igor a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255764 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 07:17:15 +00:00
crowder%fiverocks.com
a1e8c86310 Bug 434837 - Accessors of prototype chain of arrays don't assign 'this' correctly, r=brendan, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255751 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 23:20:06 +00:00
sayrer%gmail.com
fa1890d897 Bug 418051. Patch by Blake Kaplan <mrbkap@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@255742 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 04:52:01 +00:00
sayrer%gmail.com
c287611b9c Bug 454142. Patch by Blake Kaplan <mrbkap@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@255741 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 04:42:29 +00:00
sayrer%gmail.com
d427a9c84d Bug 452329. Patch by Blake Kaplan <mrbkap@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@255740 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 04:35:33 +00:00
sayrer%gmail.com
b3c2bc5d8c Bug 452913. Patch by Igor Bukanov <igor@mir2.org>
git-svn-id: svn://10.0.0.236/trunk@255739 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 04:31:52 +00:00
gavin%gavinsharp.com
b0679e70b7 Bug 466531: Upgraded to NSPR 4.7.3. Added a Mac OS X workaround for the bug that jscpucfg.c doesn't define the correct endianness macro for cross compilation to an OS with multiple CPU architectures. Patch by Wan-Teh Chang <wtc@google.com>. r=mark,crowder,jim. Approved for 1.9.0.6, a=dveditz for release-drivers
git-svn-id: svn://10.0.0.236/trunk@255638 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-24 18:36:25 +00:00
jwalden%mit.edu
9d5cc87853 Bug 459405 - Math property flags regressed by bug 376957. r=brendan, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255621 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-23 00:24:52 +00:00
mrbkap%gmail.com
9dac5e7dc9 Bug 370461 - Fix the scope returned from Components.utils.lookupFunction. r=bzbarsky sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255105 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 23:58:23 +00:00
mrbkap%gmail.com
68e2ba2266 Bug 453310 - Reparameterize GetNewOrUsed and move some work around. r+sr=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255087 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 05:03:47 +00:00
sayrer%gmail.com
f65469f55b Bug 442708. JS_GC with GC_SET_SLOT_REQUEST doesn't loop until all threads are satisfied. r=bent, a=mconnor. Patch by Brendan Eich <brendan@mozilla.org>.
git-svn-id: svn://10.0.0.236/trunk@255055 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-16 06:35:30 +00:00
sayrer%gmail.com
e36211f34c Bug 439765. Live-lock when running JS on multiple threads. r=brendan, a=mconnor. Patch by Ben Turner <bent@mozilla.com>.
git-svn-id: svn://10.0.0.236/trunk@255054 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-16 06:27:47 +00:00
igor%mir2.org
63e2a5ee3d Bug 458679, patch from Gary Kwong, r=myself, a.1.9.0.5=dveditz
git-svn-id: svn://10.0.0.236/trunk@254996 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-12 09:43:11 +00:00
igor%mir2.org
325e65fac8 bug 452786. r=mrbkap a1.9.0.4=dveditz
git-svn-id: svn://10.0.0.236/trunk@254766 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-27 17:30:43 +00:00
gavin%gavinsharp.com
3269d7b305 Backout bug 450633 because its fix is broken (see bug 450633 comment 12)
git-svn-id: svn://10.0.0.236/trunk@254764 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-25 21:07:23 +00:00
reed%reedloden.com
bc7b7fe0ac Bug 450633 - ""script stack space quota is exhausted" exception in JSON.jsm when calling SessionStore API for sessions with a large amount of data" (split the string in JSON.jsm when it's too large) [p=zeniko@gmail.com (Simon Bünzli) r=sayrer sr=brendan a=dveditz]
git-svn-id: svn://10.0.0.236/trunk@254701 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-21 02:18:46 +00:00
crowder%fiverocks.com
c8c7be4cab Bug 453915 -- Make namespace handling in E4X more robust, r=mrbkap, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254688 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-20 21:32:52 +00:00
mrbkap%gmail.com
96b1dd77e1 Bug 452295 - Deal with embeddings that don't use principals. r=brendan a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254609 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-13 22:39:14 +00:00
crowder%fiverocks.com
c7554a28cd Bug 451906 - Array index has different results between number and numeric-string, patch by brendan, r=shaver, a=ss
git-svn-id: svn://10.0.0.236/trunk@253843 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-26 20:49:04 +00:00
crowder%fiverocks.com
4671417138 Bug 435345 - watching the 'length' of shavarrays is broken, r=shaver, a=ss
git-svn-id: svn://10.0.0.236/trunk@253840 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-26 18:53:31 +00:00
igor%mir2.org
d7b49e6f4f bug 444608, r=brendan, a1.9.0.2=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@253657 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-16 23:36:48 +00:00
mrbkap%gmail.com
b3d0410bd3 Create implicit XPCNativeWrappers in fewer situations. bug 441087, r=jst sr=bzbarsky a=ss
git-svn-id: svn://10.0.0.236/trunk@253646 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 22:52:31 +00:00
mrbkap%gmail.com
3f840bc622 Bug 449152 - js_CheckAccess should init out params on failure, r=brendan a=ss
git-svn-id: svn://10.0.0.236/trunk@253527 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-12 00:04:13 +00:00
mrbkap%gmail.com
6e923ee242 Make XPCNativeWrapper deal with non-browser embeddings. bug 422113, r+sr=jst a=ss
git-svn-id: svn://10.0.0.236/trunk@253525 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 23:33:51 +00:00
mrbkap%gmail.com
2ee419e7a3 Do not attempt to lock a non-native object. bug 436741, r=brendan a=ss
git-svn-id: svn://10.0.0.236/trunk@253514 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:29:35 +00:00
mrbkap%gmail.com
195f78fa40 Don't cause a GC before the script is on the JS call stack. bug 440558, r=brendan a=ss
git-svn-id: svn://10.0.0.236/trunk@253513 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:28:03 +00:00
mrbkap%gmail.com
ebec4fd897 Follow the invariant that we flow through label exit2. bug 442358, r=igor a=ss
git-svn-id: svn://10.0.0.236/trunk@253512 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:26:45 +00:00
mrbkap%gmail.com
aa7e42877d Don't do things to the object before we're sure it's the right type of object. bug 443569, r=brendan a=ss
git-svn-id: svn://10.0.0.236/trunk@253511 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:24:13 +00:00
mrbkap%gmail.com
811e213108 Don't use 'i' if the id was not an index. bug 443843, r=shaver a=ss
git-svn-id: svn://10.0.0.236/trunk@253510 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:22:59 +00:00
mrbkap%gmail.com
440fee66d4 Always check the type of the object that we're operating on, even when called from native code. bug 444233, r=shaver a=ss
git-svn-id: svn://10.0.0.236/trunk@253509 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:21:27 +00:00
crowder%fiverocks.com
cf61291cc1 Bug 442333: remove eval's optional second argument, r=mrbkap, r=brendan, a=ss
git-svn-id: svn://10.0.0.236/trunk@253438 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-07 19:02:47 +00:00
bugzilla%standard8.plus.com
bd332ebd4c Bug 435853 Running xpcshell tests involving Mac components leaks memory due to not having an NSAutoreleasePool. r=shaver,sr=brendan,a=ss
git-svn-id: svn://10.0.0.236/trunk@253423 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-07 09:12:57 +00:00
crowder%fiverocks.com
d8d98fa82d Bug 438415: shavarrays do not handle holes correctly for pop(), r=shaver, r=brendan, a=ss
git-svn-id: svn://10.0.0.236/trunk@253395 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-05 22:49:25 +00:00
crowder%fiverocks.com
7714616160 Bug 446494: better toLocaleString() handling, r=mrbkap, a=ss
git-svn-id: svn://10.0.0.236/trunk@253392 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-05 20:53:02 +00:00
crowder%fiverocks.com
f57aac0a9e Bug 430740: better handling of BOM characters in JS parsing, r=igor
git-svn-id: svn://10.0.0.236/trunk@253372 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-04 20:52:56 +00:00
crowder%fiverocks.com
a66a788457 Bug 440473: crash [@ Decompile][@ js_GetSrcNoteOffset] with firebug/jQuery, r=igor, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252752 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 17:22:52 +00:00
brendan%mozilla.org
547cd4323d Fix 433672, r=igor, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@252554 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-25 00:23:05 +00:00
gavin%gavinsharp.com
062bddef47 Bug 422055: use jemalloc on Solaris, patch by Ginn Chen <ginn.chen@sun.com>,
r=ted, a=shaver


git-svn-id: svn://10.0.0.236/trunk@251895 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 18:42:32 +00:00
igor%mir2.org
c6697085b0 [Bug 435546] proper stacking of JS_(PUSH|POP)_TEMP_ROOT. r=brendan aRC2=shaver
git-svn-id: svn://10.0.0.236/trunk@251882 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 17:55:06 +00:00
jst%mozilla.org
36abf6c32b Fixing bug 434673. Fix GC safety issue when calling through XPCWrapper into an IDL defined function. r+sr=brendan@mozilla.org, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@251867 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 05:42:53 +00:00
jst%mozilla.org
07f19d9216 Fixing bug 433005. Make calls through XPConnect on threads other than the main thread suspend JS request to avoid blocking GC on the main thread while calling slow functions on non-main threads. Patch by benjamin@smedbergs.us and jst@mozilla.org, r=jst@mozilla.org, sr=brendan@mozilla.org, a=schrep@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@251861 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-27 21:59:58 +00:00
brendan%mozilla.org
691198f536 Fix 433279, r=mrbkap+shaver, a=schrep.
git-svn-id: svn://10.0.0.236/trunk@251771 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-23 05:06:09 +00:00
reed%reedloden.com
0677fa7e31 Bug 430955 - "jsfun.h uses JSArenaPool without needed typename" [p=mh+mozilla@glandium.org (Mike Hommey) r=brendan a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@251452 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-09 07:40:10 +00:00
reed%reedloden.com
6b8d7d337d Bug 410606 - "AIX linker error for trunk build xpconnect module : ERROR: Undefined symbol: .JSAutoTempValueRooter::operator delete(void*,unsigned long)" [p=shailen.n.jain@gmail.com (Shailen) r+sr=mrbkap a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@251317 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 10:26:52 +00:00
crowder%fiverocks.com
a1437123e0 Bug 432275: Regression - Java applets crashing browser [@ obj_eval], patch by mrbkap, r=crowder, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@251289 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 22:01:32 +00:00
crowder%fiverocks.com
ba29a0945f Bug 432275 - Regression - Java applets crashing browser [@ obj_eval], r=igor, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@251288 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 21:59:49 +00:00
bent.mozilla%gmail.com
95b39e9b49 Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@251283 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 21:37:50 +00:00