4049 Commits

Author SHA1 Message Date
enndeakin%sympatico.ca
8e51bea6a6 Bug 382034, support optional args in idl, try again with fix for crash calling toString, r+sr=shaver
git-svn-id: svn://10.0.0.236/trunk@228681 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 14:23:26 +00:00
enndeakin%sympatico.ca
6dad1b3e57 Bug 382034, back out due to test content/base/test/test_bug352728.html failing
git-svn-id: svn://10.0.0.236/trunk@228580 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 15:21:14 +00:00
enndeakin%sympatico.ca
41118635e1 Bug 382034, support optional arguments in idl, r+sr=shaver
git-svn-id: svn://10.0.0.236/trunk@228578 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 14:22:23 +00:00
dbaron%dbaron.org
0fab4c99a1 Back out again.
git-svn-id: svn://10.0.0.236/trunk@228569 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 03:11:41 +00:00
mrbkap%gmail.com
f4df34064d Actually populate the string cache so we don't leak all deflated strings. bug 385378, r=brendan
git-svn-id: svn://10.0.0.236/trunk@228564 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 00:31:50 +00:00
dbaron%dbaron.org
10b95a7040 Bug 368869, suspect all native wrappers for cycle collection. Relanding. Patch by graydon@mozilla.com. r=brendan, sr=jst
git-svn-id: svn://10.0.0.236/trunk@228547 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 22:25:51 +00:00
mrbkap%gmail.com
b1a2eb695b Remove useless variable. bug 385368, patch from Gabriel Sjoberg <gabrielsjoberg@gmail.com>, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@228534 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 20:38:45 +00:00
sayrer%gmail.com
16221423ba Bug 381651. Tweak XPCOMUtils. Patch by Nickolay_Ponomarev <asqueella@gmail.com>. r=sayrer, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@228413 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 04:53:35 +00:00
mrbkap%gmail.com
25d15d759d Implement a full nsIScriptSecurityManager in xpcshell. bug 239969, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228410 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 00:10:48 +00:00
mrbkap%gmail.com
39a87ec18e Use the latest version of JS, so the shell always has the newest features. bug 385159, r=brendan
git-svn-id: svn://10.0.0.236/trunk@228409 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 23:53:55 +00:00
sayrer%gmail.com
6dde9ac071 back out patch for bug 300079 due to leak regressions, as the new textframe code needs to land
git-svn-id: svn://10.0.0.236/trunk@228389 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 18:53:28 +00:00
brendan%mozilla.org
c8270073aa Test a hypothesis about the shutdown leak that's biting 300079's patch (a=sayrer).
git-svn-id: svn://10.0.0.236/trunk@228385 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 17:03:15 +00:00
brendan%mozilla.org
5991a78560 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).
git-svn-id: svn://10.0.0.236/trunk@228367 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 06:37:15 +00:00
sayrer%gmail.com
cde8114142 Bug 384168. C.u.import doesn't prevent recursion in the presence of circular dependencies. r=brendan, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@228366 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 06:29:49 +00:00
brendan%mozilla.org
a729f21c48 Function atom if non-null must be string-keyed (385134, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@228359 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 05:11:38 +00:00
gavin%gavinsharp.com
762b562d7c Back out previous patch for bug 239969 (bustage, and tree is closed)
git-svn-id: svn://10.0.0.236/trunk@228357 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 02:30:54 +00:00
mrbkap%gmail.com
d557c77565 Implement an nsIScriptSecurityManager for the xpcshell. bug 239969, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228356 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 02:13:22 +00:00
mrbkap%gmail.com
3cb037ad55 Backing this patch out again to fix sessionstore. See bug 300079 and 385085
git-svn-id: svn://10.0.0.236/trunk@228355 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 02:06:00 +00:00
brendan%mozilla.org
89ffb2a4d5 Fix violation of function prototyping due to cloned function object implementation (300079, r=igor).
git-svn-id: svn://10.0.0.236/trunk@228332 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 18:49:53 +00:00
crowder%fiverocks.com
47a0bd86c4 Bug 384809 : Various JS engine crashes/leaks in OOM conditions, r=brendan, patch by Gavin Reaney, gavin@picsel.com
git-svn-id: svn://10.0.0.236/trunk@228294 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 04:10:03 +00:00
brendan%mozilla.org
2b0f691e54 Clean up property attributes (384846, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@228287 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 02:52:50 +00:00
crowder%fiverocks.com
df0c51468d Bug 384901: leak in jsfile.c, patch by Robin Ehrlich, rehrlich@ubiqinc.com, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@228264 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 21:40:30 +00:00
mrbkap%gmail.com
526d6742ce Protect js_GetStringBytes from callers that happen during the last GC. Patch from brendan, bug 336907, r=daumling sr=shaver
git-svn-id: svn://10.0.0.236/trunk@228263 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 21:38:31 +00:00
crowder%fiverocks.com
46ab845b33 Bug 383607: add ARM pure endian double support to JS engine, r=crowder, patch by Gavin Reaney gavin@picsel.com
git-svn-id: svn://10.0.0.236/trunk@228262 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 21:31:48 +00:00
crowder%fiverocks.com
2e080e5fce bug 379056: quieting the assertions here for all but myself and mrbkap, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@228260 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 20:24:00 +00:00
igor%mir2.org
808f23d8d5 Bug 384478: Patch from Mike Moening to fix warning when compiling with VC. r=me
git-svn-id: svn://10.0.0.236/trunk@228254 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 19:33:21 +00:00
jwatt%jwatt.org
63f669d924 Fixing bug 383917. The new Components.utils.import code shouldn't spam the console. r=sayrer@gmail.com, sr=brendan@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@228237 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 15:36:16 +00:00
bzbarsky%mit.edu
99b02970b4 Backing out bug 300079 to see whether that fixes tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@228230 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 14:32:35 +00:00
brendan%mozilla.org
7c90f16214 Fix violation of function prototyping due to cloned function object implementation (300079, r=igor).
git-svn-id: svn://10.0.0.236/trunk@228224 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 05:33:36 +00:00
brendan%mozilla.org
b146b498e2 Remove __callee__ property of Call prototypes (384642, r=igor).
git-svn-id: svn://10.0.0.236/trunk@228221 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 05:10:19 +00:00
brendan%mozilla.org
c4b2b6bdaa Emit JSOP_GROUP when optimizing away delete (382981, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@228205 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 18:05:37 +00:00
brendan%mozilla.org
b81a6963a3 Fix recent regression in CheckSideEffects for paren-expr case (384680, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@228173 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 19:48:44 +00:00
brendan%mozilla.org
ee2b03c1e7 Better entrainment avoidance for Call.arguments (383269, r=igor).
git-svn-id: svn://10.0.0.236/trunk@228153 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 00:29:21 +00:00
mrbkap%gmail.com
0fe8f9abe9 Restrict who can claim to implement nsISecurityCheckedComponent. bug 352882, r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@228142 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:44:51 +00:00
mrbkap%gmail.com
56c1677021 Use a better filename when eval is used across scopes. bug 369211, r=brendan
git-svn-id: svn://10.0.0.236/trunk@228137 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:00:26 +00:00
igor%mir2.org
e28b0c63ed Bug 378793: Patch from Mike Moening and me to implement per-context debug hooks. r=brendan
git-svn-id: svn://10.0.0.236/trunk@228111 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 06:44:20 +00:00
mrbkap%gmail.com
8372f17aac Allow C.u.Sandbox to take a principal or an nsIScriptObjectPrincipal. bug 353732, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228094 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 23:50:28 +00:00
graydon%mozilla.com
3f822230c3 Amazingly, backing out 368869 again.
git-svn-id: svn://10.0.0.236/trunk@228075 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 20:40:17 +00:00
igor%mir2.org
f9886de471 Bug 378793: removal of the previous commit.
git-svn-id: svn://10.0.0.236/trunk@228073 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 20:20:37 +00:00
igor%mir2.org
7beadb8cf6 Bug 378793: Patch from Mike Moening to implement per-context debug hooks. r=me,brendan
git-svn-id: svn://10.0.0.236/trunk@228071 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 20:04:09 +00:00
graydon%mozilla.com
b1adeb8715 Bug 368869, suspect all native wrappers for cycle collection. Nth attempt, slightly safer.
r=brendan, sr=jst


git-svn-id: svn://10.0.0.236/trunk@228070 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 19:42:59 +00:00
brendan%mozilla.org
c7634ffc7c Avoid entraining arguments in a Call prototype (383269, r=igor).
git-svn-id: svn://10.0.0.236/trunk@228037 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 07:26:19 +00:00
igor%mir2.org
6ed5810784 Bug 384151: refactoring boxing of primitive values, r=brendan
git-svn-id: svn://10.0.0.236/trunk@228036 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 07:07:02 +00:00
mrbkap%gmail.com
11d81feea3 Make Object.prototype.toSource deal with even more __proto__ hacking. bug 383965, r=crowder
git-svn-id: svn://10.0.0.236/trunk@227920 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 22:07:20 +00:00
crowder%fiverocks.com
de2410df1a Bug 375801: Using (void 0) instead of "undefined" in toSource and uneval(), r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@227893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 19:33:40 +00:00
crowder%fiverocks.com
12d27705fa Bug 383721: escape tabs on platforms with unusual isprint() routines, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@227892 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 19:30:57 +00:00
brendan%mozilla.org
414c7bc20e Fix CheckSideEffects over-aggressiveness (383674, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@227850 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 08:26:26 +00:00
igor%mir2.org
bee25cd6c3 Bug 384104: Fixing ALE macros to quell GCC strict-aliasing warnings. r=brendan
git-svn-id: svn://10.0.0.236/trunk@227849 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 07:27:23 +00:00
jwalden%mit.edu
969270016e Typo fixes
git-svn-id: svn://10.0.0.236/trunk@227761 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-10 22:08:17 +00:00
bzbarsky%mit.edu
60c11ef529 Change the URI argument to Components.utils.import to be a resource: URI. Bug
380970, patch by Alex Vincent <ajvincent@gmail.com>, r=sayrer, sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@227757 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-10 21:13:19 +00:00