JS1.5 RC5a : 2003-05-29
JS1.5 RC6 : 2004-01-27

MSVC users on Windows: compile the JS Engine with linker flag /OPT:NOICF  !!!
Here's why


HIGHLIGHTS  (full hyperlinked list below)

Bug 85721 Rewrite of SpiderMonkey regular expression engine


Bug 196097 Added obj.__noSuchMethod__ handler support
Note: a __noSuchMethod__ handler will not come pre-defined in |obj|, nor in Object.prototype. But JS will respond to a handler of this name.  See this example from bug 196097 on how to use this feature.

Bug 208030 JS errors reported incorrect line numbers in source code
Line numbers were incorrect on JS errors involving the |const| keyword, and on JS strict warnings involving function and variable declarations. This bug is now fixed.

Bug 208586 Minimal no-extensions ECMA-2 Edition 3 JS engine configuration
Set JS_VERSION to JS_VERSION_ECMA_3 for the minimal configuration conforming to the ECMA-262 Edition 3 specification. Use it for minimal embeddings, where you're sure you don't need any of the extensions disabled in this version.

Bug 221526 Fixed security hole in JS Script.thaw
Script.thaw() deserializes a script from a string. An attacker could have run such a script and used buffer overrun techniques (malloc size parameter wraparound), etc. etc.


Bugs fixed between RC5a and RC6:



ID Sev Pri Plt Assignee Status Resolution Summary
67111 nor -- PC pschwartau@meer.net VERI FIXE JS_GetImplementationVersion() date string needs to be upd...
72234 nor -- PC pschwartau@meer.net VERI FIXE Can't build JS shell on Windows with js.mak and VC++
85721 nor -- All rogerl@formerly-netscape.co... RESO FIXE Regexp performance degraded from 4.7
94570 tri -- PC rogerl@formerly-netscape.co... VERI FIXE JS_ReportOutOfMemory() redundant
123437 nor -- All rogerl@formerly-netscape.co... VERI FIXE regexp backreferences /(a)? etc./ must hold |undefined| i...
188206 nor -- PC rogerl@formerly-netscape.co... VERI FIXE Memory leaks when regexp engine tries to compile bad expr...
192414 min P3 PC brendan@mozilla.org RESO FIXE Parser recursion does not check stack overflow [@ GetChar ]
192465 cri -- PC khanson@formerly-netscape.c... RESO FIXE Object.toSource recursion does not check for stack overflow
192626 cri -- PC rogerl@formerly-netscape.co... VERI FIXE RegExp parser recursion does not check stack overflow
196097 enh P4 PC brendan@mozilla.org RESO FIXE Implementation of '__noSuchMethod__' handler for SpiderMo...
200144 nor -- PC khanson@formerly-netscape.c... RESO FIXE Keep OS/2 from going down MSVC paths in JS
205418 nor P1 All gerv@mozilla.org RESO FIXE Relicense Spidermonkey (js/src)
206199 cri P1 PC brendan@mozilla.org RESO FIXE redeclaration of const in script containing try block(s) ...
207673 cri P1 Oth brendan@mozilla.org VERI FIXE sizeof/endianness bug in JSXDR code in js/src/jsfun.c
208030 nor P1 All brendan@mozilla.org VERI FIXE JS errors report incorrect line numbers in the source code
208048 nor P1 Oth brendan@mozilla.org VERI FIXE ARM constant number definitions are not correct for infin...
208496 nor P2 PC brendan@mozilla.org VERI FIXE Incorrect scope when |with (f)| is used inside the defini...
208586 nor P1 All brendan@mozilla.org RESO FIXE Minimal no-extensions ECMA-2 Edition 3 JS engine configur...
208879 nor P1 All brendan@mozilla.org RESO FIXE js and xpc shells need environment reflection and argumen...
211590 nor P1 All brendan@mozilla.org RESO FIXE Math.random() uses bad algorithm
212419 nor -- PC mkaply@us.ibm.com VERI FIXE Too much precision in download dialog
213482 cri P1 PC brendan@mozilla.org RESO FIXE setting a watched property within the function called by ...
213841 nor P1 PC brendan@mozilla.org VERI FIXE Crash on context destruction if 2 breakpoints set at same PC
214761 cri -- PC brendan@mozilla.org VERI FIXE Loading page crashes when js.options.strict is true [@ MS...
215798 cri P1 All brendan@mozilla.org RESO FIXE Running Venkman crashes Mozilla [@ js_CloseTokenStream]
215878 cri P1 PC brendan@mozilla.org VERI FIXE Assertion failure with JS Strict warnings enabled
216320 cri P1 All brendan@mozilla.org VERI FIXE [ABW]js_FinishTakingSrcNotes is exceeding the notes array
217768 nor -- PC rginda@hacksrus.com VERI FIXE interruptHandler isn't properly loaded if trapHandler ret...
221526 blo P1 All brendan@mozilla.org RESO FIXE JS Script.thaw is a security hole
222029 nor P1 All brendan@mozilla.org VERI FIXE Make our f.caller property match IE's w.r.t. f.apply and ...
222055 tri -- All timeless@bemail.org VERI FIXE Symbolic manipulation error in mozilla/js/src/fdlibm/e_sq...
222759 enh -- All pschwartau@meer.net RESO FIXE Replace "Copyright ©" by "Copyright (C)" in JS test suite...
223273 cri P1 All brendan@mozilla.org VERI FIXE RegExp with too many )s produces invalid object and crash...
223535 cri -- PC brendan@mozilla.org VERI FIXE Regular expression with empty last alternative crashs, e....
223810 cri P1 PC brendan@mozilla.org RESO FIXE /js/src/jsscript.c js_alloc_entry may cause damaged heap ...
224306 nor P1 All brendan@mozilla.org RESO FIXE can't mutate empty object delegating to sealed prototype ...
224487 cri -- PC pedemont@us.ibm.com RESO FIXE FPU control word gets clobbered by PM - can't start unles...
224676 nor -- PC general@js.bugs VERI FIXE JS RegExp failing on certain disjunction + character clas...
224951 nor -- All pschwartau@meer.net VERI FIXE testcase regress-57631.js is erroneous
224956 cri P1 PC brendan@mozilla.org VERI FIXE crash if implied multiplication used in javascript statement
225061 enh -- All general@js.bugs VERI FIXE Option to js shell to limit stack size
225289 nor -- PC brendan@mozilla.org VERI FIXE Regexp pattern /a|[^a]/ not matching correctly
225343 nor -- PC brendan@mozilla.org VERI FIXE Regexp pattern /[A]/i not matching 'a'
225423 cri P1 PC brendan@mozilla.org VERI FIXE Loading URL crashes Moz [@ JavaObject_getPropertyById ]
225550 nor P1 All brendan@mozilla.org VERI FIXE RegExp toSource/toString return an invalid empty RE
226078 cri P1 All brendan@mozilla.org RESO FIXE Crash on www.gddkia.gov.pl
226507 nor P2 All brendan@mozilla.org VERI FIXE [patch] No recursion check in js_EmitTree
227432 nor P1 All brendan@mozilla.org RESO FIXE Engine crash when calling Script.exec() from JS_CallFunct...
228087 nor P1 All brendan@mozilla.org RESO FIXE bug with braces in JavaScript regular expressions
229006 nor P3 All brendan@mozilla.org RESO FIXE JS parser has problems parsing i++ when line number great...
230047 nor -- All brendan@mozilla.org RESO FIXE Fix old glitches in SpiderMonkey's automatic semicolon in...
230522 tri -- PC timeless@bemail.org RESO FIXE warning C4047: 'return' : 'foo *' differs in levels of in...
231518 nor -- All brendan@mozilla.org RESO FIXE Decompiler must quote keywords

53 bugs fixed