mrbkap%gmail.com
0893b6fd38
bug 299738: Fix jsarray.c to not fill holes in arrays. r=brendan a=bsmedberg
2005-07-13 16:38:46 +00:00
mrbkap%gmail.com
f47551589c
bug 300534: Internal Narcissus functions show up in objects' prototypes. This fixes a failure on the js testsuite and also fixes Narcissus' failure on SpiderMonkey's bug 299641. r=brendan
2005-07-13 02:46:10 +00:00
brendan%mozilla.org
5a2cebdfa7
Oops, tree wasn't open -- Chase needs to pull again, so backing out temporarily.
2005-07-13 02:12:28 +00:00
brendan%mozilla.org
fb8fb510c0
Fix arg vs. nested function hard case 299639, r=shaver).
2005-07-13 02:00:05 +00:00
mrbkap%gmail.com
931cce4bcd
bug 299898: Allow the js testsuite to be run through Narcissus. To do so, give the -n or --narcissus (=optional/path) to the test driver along with the shell, and Narcissus will be run through the shell. r=bclary
2005-07-12 00:23:45 +00:00
brendan%mozilla.org
deb9f0c764
Add a subsumes relation to principals so JS can handle all cases when checking indirect eval (and the like) calls (300008, r=caillon/dveditz, sr/a=shaver).
2005-07-08 23:26:36 +00:00
bzbarsky%mit.edu
d93cc7761b
Clear the global objects when unrooting them so that we don't leak via cycles
...
through the global (which is the parent of the proto for various functions on
the one hand and references various prototypes on the other hand). Bug
300023, r=shaver, sr=brendan, a=asa
2005-07-08 20:39:02 +00:00
mrbkap%gmail.com
1019876438
bug 300025: Fix a couple of small bugs in editline. r+a=shaver
2005-07-08 01:07:55 +00:00
joshmoz%gmail.com
d9027016bd
remove XP_MAC stuff from js. b=281889 r=brendan a=brendan
2005-07-07 22:35:40 +00:00
brendan%mozilla.org
e4a82727bb
Add dummy or first params to constructors so they have the right arity (length property).
2005-07-07 21:47:59 +00:00
shaver%mozilla.org
83000e23bd
Bug 299980: rename Components.util to Components.utils to match other
...
Components children, and developer expectation. telepathic-r=brendan,
a=bsmedberg.
2005-07-07 19:34:35 +00:00
roc+%cs.cmu.edu
f3a8050527
Bug 299750. Fix gcc4 warnings about unused variables. r=brendan,a=brendan,patch by Wolfgang Rosenauer
2005-07-07 18:26:28 +00:00
brendan%mozilla.org
71eab9c0ac
Keep Activation objects from being polluted by native Object.prototype props (using bug 299898, r=mrbkap).
2005-07-07 07:29:21 +00:00
mrbkap%gmail.com
b6459f7951
Narcissus can now run the Javascript tests, to some extent. Fix a couple of bugs found by the js tests (we were unable to parse the generated function resulting from new Function() and String.fromCharCode was not defined). evaluate() now returns its argument if it isn't a string (to catch things like evaluate(load(...))).
2005-07-07 00:53:44 +00:00
brendan%mozilla.org
67eeb2edef
Rename FunctionDeclaration to FunctionDefinition, since it handles declarations, statements, and expressions (mimicing ECMA).
2005-07-07 00:21:09 +00:00
timeless%mozdev.org
f256aab78a
Bug 283533 OOM crash [@ XPCIDispatchClassInfo::GetInterfaces]
...
patch by b.jacques@planet.nl r=shaver sr=shaver a=bsmedberg
2005-07-06 17:47:27 +00:00
mrbkap%gmail.com
e64283ed56
bug 299781: Implement a -e <script> option in the js shell and xpc shell, like perl. Also implement -x in the xpc shell. r=shaver a=brendan
2005-07-06 05:51:07 +00:00
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