Commit Graph

6693 Commits

Author SHA1 Message Date
brendan%mozilla.org
c003312974 Fix * and function:: magic object management (299593, r+sr=bz/shaver). 2005-07-06 04:49:35 +00:00
bzbarsky%mit.edu
8a396d6673 Juggle the proto chain for XPCNativeWrapper a bit. Bug 299520, r=jst, sr+a=brendan 2005-07-06 04:03:17 +00:00
brendan%mozilla.org
2f532b789e Unregress indirect eval for benign cases such as venkman chrome calling content eval (293933, r=shaver). 2005-07-06 03:14:08 +00:00
jst%mozilla.jstenback.com
fe58fa8420 Fixing bug 299450. Add protection for __proto__. r=bzbarsky@mit.edu, sr+a=brendan@mozilla.org 2005-07-06 00:10:24 +00:00
mrbkap%gmail.com
6690348197 bug 299644: Array.prototype.concat() plugs holes in the existing array.
r+a=brendan
2005-07-05 21:25:12 +00:00
brendan%mozilla.org
c7b1f76398 Defend against [[DefaultValue]] divergence (295666, r=shaver). 2005-07-05 21:18:13 +00:00
nboyd%atg.com
11ca08cc11 Add Celware 2005-07-05 19:25:13 +00:00
brendan%mozilla.org
1d975d247e Enumerate prototype per ECMA-262, since it is lazily defined via resolve (299642, r=shaver). 2005-07-05 04:06:07 +00:00
igor%mir2.org
253fd51d85 *** empty log message *** 2005-07-03 19:18:39 +00:00
brendan%mozilla.org
31cabefc0f Fix expression statement (SEMICOLON) nodes to start and end at the same source index as their expression child. 2005-07-02 17:26:00 +00:00
bob%bclary.com
86604680ee really fix testcase for bug 299209 2005-07-02 11:10:16 +00:00
bob%bclary.com
a029bbe769 fix test case to eval entire loop, bug 299209 2005-07-02 10:59:51 +00:00
bob%bclary.com
d8b9403f8a bug 299209, since new behavior is Syntax Error instead of crash, change test to eval expression and catch eval error. 2005-07-02 08:56:41 +00:00
mrbkap%gmail.com
423cdcda66 Provide snarf and load functions. 2005-07-02 04:55:29 +00:00
brendan%mozilla.org
c77919f477 Use non-greedy closure to match C-style comments. 2005-07-01 23:00:35 +00:00
brendan%mozilla.org
1056b77193 Never mind\! 2005-07-01 20:48:23 +00:00
timeless%mozdev.org
b27d75c5b3 Bug 283532 OOM crash [@ jsdValue::GetProperties]
patch by b.jacques@planet.nl r=rginda sr=brendan a=brendan
2005-07-01 05:12:47 +00:00
brendan%mozilla.org
ed977a6937 Nits picked for 294893 (thanks to bz for reminding me). 2005-07-01 04:45:11 +00:00
brendan%mozilla.org
0bf52e2a82 Disallow anonymous functions in declaration or statement context (299209, r=shaver). 2005-06-30 20:48:15 +00:00
timeless%mozdev.org
ce7b74ef9d Bug 283534 OOM crash [@ xpcarraytest]
patch by b.jacques@planet.nl r=shaver sr=shaver a=bsmedberg
2005-06-30 20:37:11 +00:00
brendan%mozilla.org
a48f461e71 Add function statements, an ECMA Ed. 3 extension supported by SpiderMonkey. 2005-06-30 18:16:19 +00:00
shaver%mozilla.org
961cdf5d4a Bug 296374: patch from jag@tty.nl to fix mingw/vc2005 bustage from initial
landing, r+a=me.
2005-06-30 11:46:15 +00:00
bob%bclary.com
27eed313df anonymous function expression statement => JS stack overflow, bug 299209. Test by Paul Kurczaba 2005-06-30 07:00:34 +00:00
shaver%mozilla.org
882c624213 Bug 296374: move evalInSandbox, reportError, lookupMethod to new Components.util
object, with deprecation-warning forwarding for rE and lM.
r=caillon,dbradley,bsmedberg;a=bsmedberg.
2005-06-29 14:23:03 +00:00
mconnor%steelgryphon.com
ce0b3225cc bug 298478 - Downloads fail with ...could not be saved, patch by jst, r=shaver, sr=dveditz, a=drivers 2005-06-28 15:21:31 +00:00
bob%bclary.com
ddcdfdf50e Modify js/tests/js1_2/function/Function_object.js, js/tests/js1_2/function/tostring-1.js, js/tests/js1_2/function/tostring-2.js, js/tests/js1_5/Regress/regress-245795.js, js/tests/js1_5/Regress/regress-252892.js to remove expectation of leading and trailing newline in Function.prototype.toString. bug 111816 2005-06-27 15:16:45 +00:00
igor%mir2.org
01a323d63b 1. Added ContextFactory.getApplicationClassLoader()/initApplicationClassLoader() for simpler class loader customization.
2. Context.getApplicationClassLoader() now uses ContextFactory.getApplicationClassLoader() and also tries ContextFactory subclass as the last resort of loader guessing.
2005-06-26 22:57:31 +00:00
igor%mir2.org
58ff31852c Added XML and XMLList to the exclusion list 2005-06-26 22:51:49 +00:00
igor%mir2.org
05ee41a100 Fix for bug 290034: JavaScriptException should not be wrapped inside
Context.throwAsScriptRuntimeEx
2005-06-26 21:32:42 +00:00
igor%mir2.org
bdb00e047c When printing parse tree for debugging, include node number with target printout 2005-06-24 10:43:44 +00:00
igor%mir2.org
13233ef373 Optimezer-only token are moved back to Token for simpler debugging. 2005-06-24 09:40:09 +00:00
igor%mir2.org
d073a92808 Patch from Attila Szegedi <szegedia@freemail.hu> based on the suggestion from Grzegorz Lukasik <hauserx@gmail.com> to fix bug 292324 "ArrayIndexOutOfBoundsException while compiling a script". 2005-06-24 09:10:52 +00:00
igor%mir2.org
64b4cfb128 Patch from Michael Scott <mscott@ti.com>, Texas Instruments:
> I work in a group that re-packages the Rhino Debugger as part of a set
> of "C"/JavaScript-based configuration tools for developing embedded
> software. We have had a long-standing problem with setting
> breakOnException, breakOnEnter, and breakOnReturn flags within the debug
> engine and not having them in sync with the gui debug menu checkboxes. I
> have fixed this for our use and have attached the updated Main.java
> file. The change simply sets the checkbox selected state along with the
> dim flags.
2005-06-24 08:57:38 +00:00
mrbkap%gmail.com
966ac14026 bug 111816: Function.prototype.toString returns extra newlines. Moving the newlines into Decompile to preserve the output of new Script().toString(). r=shaver sr+a=brendan 2005-06-23 16:30:25 +00:00
timeless%mozdev.org
a35050a495 Bug 280234 [FIX]sometimes get ###!!! ASSERTION: tearoff not empty in dtor: '!(GetInterface()||GetNative()||GetJSObject())'
patch by bz r=dbradley sr=brendan a=brendan
2005-06-23 08:46:49 +00:00
dougt%meer.net
bb996c225a Removing CheckStackGrowthDirection. bug 242518. r=brendan, a=brendan 2005-06-21 21:51:17 +00:00
brendan%mozilla.org
3b5174c57b Use runtime-wide access check hook as a default per-object (296397, r=shaver, sr=jst, a=drivers). 2005-06-21 21:31:26 +00:00
mrbkap%gmail.com
83e97bb062 bug 173067: Fix unterminated character class error messages to use flat (single byte) strings instead of wide ones, so that the whole class is output, and not just the first character. r+a=brendan 2005-06-20 23:43:56 +00:00
mrbkap%gmail.com
d3e58ac1b9 Remove tabs introduced by my checkin for bug 287630. rs+a=brendan 2005-06-20 19:07:30 +00:00
brendan%mozilla.org
87cc0aac8c Fast followup to last patch: use 2, not 1.5, as base for exponential growth (note ida->length >= 8, so no need to JS_MAX here). 2005-06-19 15:53:31 +00:00
brendan%mozilla.org
79482a270b Fix transition from 0 length JSIdArray bug, and old over-allocating loop body order bug in JS_Enumerate to boot (r=bryner). 2005-06-19 07:26:20 +00:00
brendan%mozilla.org
1d9499a537 After > 10 years, fix the mistake whereby scripted-functions compiled from native code lack the enumerate flag (292953, r=shaver). 2005-06-18 01:13:46 +00:00
mrbkap%gmail.com
34922691ff bug 287630: When using an empty capturing regexp, String.prototype.split() appends an extra element to the result. r+a=brendan 2005-06-17 16:25:51 +00:00
brendan%mozilla.org
6847e0863b js/src part of 2nd patch for 292903, r+sr=bryner/jst. 2005-06-16 21:43:15 +00:00
brendan%mozilla.org
afe2ea2ef9 Fix regression from 292903's first patch, which results in JS_DEFAULT_XML_NAMESPACE_ID being enumerated! Thanks to bc for noticing. 2005-06-16 20:27:11 +00:00
brendan%mozilla.org
fb36f6a978 Add JS_EnumerateResolvedStandardClasses, and fix a few lazy-standard-class-init glitches hindering it (292903, r=shaver, a=me). 2005-06-16 04:24:03 +00:00
brendan%mozilla.org
c94de75fa6 Fix dumb copy-paste bug jst pointed out, whose symptom bz reported (r+sr=jst, a=me). 2005-06-15 16:42:31 +00:00
nboyd%atg.com
82274cd041 Add Magoo Software. 2005-06-15 16:12:35 +00:00
dbaron%dbaron.org
ab8827c68d Fix releasing of nsISupportsWeakReference wrapped JS objects so it doesn't crash when we do multiple iterations of JS GC. b=292027 r=jst sr=brendan a=brendan 2005-06-15 00:23:32 +00:00
dbaron%dbaron.org
b07af11b3c I only want part of DEBUG_xpc_hacker; fix spelling. b=292027 r=jst sr=brendan a=brendan 2005-06-15 00:21:26 +00:00