JS1.5 RC3a : 2001-05-11
JS1.5 RC4 : 2002-01-01

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

HIGHLIGHTS

Bug 56940
"O(n^2) and O(n^3) growth too easy with JS string concatenation"
The solution: add mutable (growable or dependent, two subtypes) strings to solve O(n^2) and O(n^3) growth rates

Bug 80981
"Need extended jump bytecode to avoid "script too large" errors, etc." We now ReportStatementTooLarge only if:
 -  a jump offset overflows 32 bits, signed;
 -  there are 2**32 or more span dependencies in a script;
 -  a backpatch chain link is more than (2**30 - 1) bytecodes long;
 -  a source note's distance from the last note, or from script main entry point, is > 0x7fffff bytes.


Bugs Fixed between RC3a and RC4:



ID Sev Pri Plt Owner State Result Summary
56940 maj P1 All brendan@mozilla.org VERI FIXE O(n**2) and O(n**3) growth too easy with JS string concat
61897 nor P3 All brendan@mozilla.org VERI FIXE Space pigs: String.prototype.charAt and str_getProperty f...
67111 nor -- PC pschwartau@netscape.com VERI FIXE JS_GetImplementationVersion() date string needs to be upd...
68045 maj -- All brendan@mozilla.org VERI FIXE precompile chrome JS and load it incrementally ("fastload")
70358 nor P2 All brendan@mozilla.org VERI FIXE call to DefineProperty w/ getter or setter recurs in Reso...
72154 nor -- PC rogerl@netscape.com VERI FIXE Can't build JS Shell with CygWin 1.1.8
72354 nor P1 All brendan@mozilla.org VERI FIXE js_SetProperty needs to resolve lazy setters
74883 blo P1 All brendan@mozilla.org VERI FIXE JSDHashTableOps.initEntry patch now crashes @ chrome reg.
75688 nor P3 All brendan@mozilla.org VERI FIXE JS should allow reference_returning()++ etc.
76054 min -- PC rogerl@netscape.com VERI FIXE String() HTML methods not XHTML compliant
77578 cri P1 PC brendan@mozilla.org VERI FIXE Whole app hangs www.mrshowbiz.com (wrong eval scope for JS)
77636 nor -- PC shaver@mozilla.org VERI FIXE Calling js from new-script hook can cause gc to reclaim n...
77861 nor P2 All brendan@mozilla.org VERI FIXE JS_ResolveStandardClasses is js_Atomize happy
78100 nor -- All shaver@mozilla.org VERI FIXE Want mechanism for checking type of possibly-external JSS...
78121 cri P1 All brendan@mozilla.org VERI FIXE buy.com site crashes
78156 nor -- PC rogerl@netscape.com VERI FIXE m flag of regular expression does not work with $
78428 cri -- All jband@netscape.com VERI FIXE Browse during install results in crash/freeze
80619 nor -- All brendan@mozilla.org RESO FIXE js_NewContext can leave us with garbage atoms
80981 nor P2 PC brendan@mozilla.org VERI FIXE Need extended jump bytecode to avoid "script too large" e...
81245 cri P1 All brendan@mozilla.org VERI FIXE type-unsafe macro call bug in jsinterp.c, breaks ^ & | >>...
81847 maj P1 All brendan@mozilla.org VERI FIXE jsdhash performs badly under repeated add+remove of same key
82188 nor -- PC rginda@netscape.com VERI FIXE source notes broken for toplevel scripts
82306 cri P1 All brendan@mozilla.org VERI FIXE JS URI method impurity
82845 nor P3 All brendan@mozilla.org VERI FIXE Add private data type flags for JSContext
83293 min -- PC khanson@netscape.com VERI FIXE replace function stops the whole script if search is an e...
83388 maj -- PC bryner@netscape.com VERI FIXE gcc-2.96 -O2 jsinterp.c busts dialogs (OK with gcc-2.95, ...
83532 cri -- PC rogerl@netscape.com VERI FIXE Mozilla crashes immediately on loading page [@ RecycleTree]
85112 nor -- PC khanson@netscape.com VERI FIXE YearFromTime function can be optimized
87271 min P3 PC brendan@mozilla.org VERI FIXE Useless Expression Elimination eliminating useful expression
88385 maj -- Sun pschwartau@netscape.com VERI FIXE JS shell help() cores
89443 cri -- PC khanson@netscape.com VERI FIXE Crash on large number of chained || operators
89474 nor -- All khanson@netscape.com VERI FIXE JS_ValueToString(cx, DOUBLE_TO_JSVAL(0.123)) cores [WAS: ...
90445 cri P1 All khanson@netscape.com VERI FIXE Crash compiling bloated function while loading page.
90546 min P3 All brendan@mozilla.org VERI FIXE Can't call anonymous function created by Function.call
90597 cri P1 All brendan@mozilla.org VERI FIXE CACHED_SET/CACHED_GET refcount bug
90994 cri P1 All brendan@mozilla.org VERI FIXE JS 3-way deadlock between rt->SetSlotLock, JS_AWAIT_REQUE...
92134 blo -- Sun Roland.Mainz@informatik.med... VERI FIXE Sun Workshop 6 Update 2 _FCS_ fails to build due "jscpucf...
92810 nor P3 All brendan@mozilla.org VERI FIXE JSHashTable shift inconsistent after RawAdd/Remove OOM error
93176 min P2 All brendan@mozilla.org VERI FIXE MAX_INTERP_LEVEL should be build-settable
94506 nor -- PC shaver@mozilla.org VERI FIXE parameter named "arguments" is not accessible in JavaScri...
94567 tri P3 PC brendan@mozilla.org VERI FIXE Avoid js_strlen() call in js_NewStringCopyZ()
94580 tri -- PC balleysson@bigfoot.com VERI FIXE speedup JS_strdup() ?
94631 nor P3 All brendan@mozilla.org VERI FIXE JSRESOLVE_ASSIGNING broken in JSNewResolveOp
95517 nor -- All khanson@netscape.com VERI FIXE encodeURI[Component] memory corruption
95534 nor -- PC rginda@netscape.com RESO FIXE JSTRAP_CONTINUE doesn't
95888 cri P1 Mac brendan@mozilla.org RESO FIXE [mac-only] 134.5Mb XUL FastLoad File and/or hang
96084 min -- PC khanson@netscape.com VERI FIXE Function str_escape violates "leading js_" rule.
96511 min -- PC khanson@netscape.com VERI FIXE "#if DEBUG" in jsgc.c should be "#ifdef"
96562 nor P1 PC brendan@mozilla.org RESO FIXE JS Engine version-dependent keywords not maintained prope...
97444 cri -- PC jband@netscape.com VERI FIXE crasher on javascript menu [@JS_GetPrivate]
97540 nor -- All rginda@netscape.com VERI FIXE "call hook" called with partially initialized cx->fp
97646 nor P1 PC brendan@mozilla.org VERI FIXE Exit code should be non-0 after compiler errors
97921 cri P1 PC brendan@mozilla.org VERI FIXE bad args for heavyweight function called with fewer actua...
98306 nor -- PC rogerl@netscape.com VERI FIXE JS regexp code crashes in ParseAtom for script using Rege...
98901 cri P1 PC brendan@mozilla.org VERI FIXE mozilla crashes on http://www.sony.com/productregistratio...
99663 nor P2 All brendan@mozilla.org VERI FIXE top disappears when you run a for loop on it.
100199 maj -- PC rogerl@netscape.com VERI FIXE [], [^] are valid RegExp conditions
100873 nor -- PC rogerl@netscape.com VERI FIXE JS Hard Codes JS_HAVE_LONG_LONG to the detriment of FreeBSD
101488 nor -- PC khanson@netscape.com VERI FIXE Array(m).length = new Number(n) failing (silently)
102159 tri -- PC khanson@netscape.com VERI FIXE date_format ignores return value of PRMJ_FormatTime
102725 nor -- All khanson@netscape.com VERI FIXE gcc -O2 problems converting numbers to strings
103042 maj P1 All brendan@mozilla.org VERI FIXE O(n**2) arena allocation in jsscan.c on long string literals
103990 maj P1 All brendan@mozilla.org VERI FIXE {JS,PL}DHashTable needs tunable alpha (load factor) bounds
104077 cri -- All shaver@mozilla.org VERI FIXE JS crash: with/finally/return.
104584 cri P1 All brendan@mozilla.org VERI FIXE js_GC doesn't mark max number of (actual, formal) parameters
105476 nor -- Oth khanson@netscape.com VERI FIXE Add ASM version of js_CompareAndSwap for OS/2
105571 nor P1 All brendan@mozilla.org VERI FIXE gc marking forces heavyweight lock creation
106244 tri -- PC khanson@netscape.com VERI FIXE In JS strict mode, |if (a = b && c == d)| compiles as |if...
106621 nor -- PC rogerl@netscape.com VERI FIXE Javascript menus not showing up
106790 nor P1 All brendan@mozilla.org VERI FIXE Need JS_ClearNewbornRoots()
107138 cri -- PC brendan@mozilla.org VERI FIXE Strange javascript behavior with literal value of "1"
107265 nor P1 PC brendan@mozilla.org VERI FIXE 2.8% of window close time in JS_ClearScope
107771 nor P1 PC brendan@mozilla.org VERI FIXE String.prototype.lastIndexOf counts on 0 termination of J...
108013 cri -- PC brendan@mozilla.org VERI FIXE Browser crashes on going to this URL
108257 nor -- PC rginda@netscape.com VERI FIXE source notes broken for functions compiled via JS_Compile...
108440 cri -- All brendan@mozilla.org VERI FIXE JS array cycle crashes join and toString via infinite rec...
108832 nor P2 PC brendan@mozilla.org VERI FIXE Mozilla crashes at this site [@ js_strncpy]
109183 nor P2 All brendan@mozilla.org VERI FIXE JS_GetClass when called indirectly via the GC should not ...
109218 nor P1 PC brendan@mozilla.org VERI FIXE js_SetupLocks appears excessive.
109635 cri -- PC brendan@mozilla.org VERI FIXE crash in js_GC() when marking fp->argv
110286 nor -- All khanson@netscape.com VERI FIXE Multiline comments containing "/*" should not be syntax e...
110903 maj -- PC rginda@netscape.com VERI FIXE new script hook not called for fastloaded scripts
111365 nor -- PC rginda@netscape.com VERI FIXE JS won't build on Solaris with 'GNU as' installed
111557 cri P1 PC brendan@mozilla.org VERI FIXE Mozilla crashes [JS_ArenaRealloc]
115436 cri -- PC brendan@mozilla.org VERI FIXE Crash from function x(y,y) {return 3};var z = x(4,5)
115545 nor -- Mac beard@netscape.com VERI FIXE JS Date() no longer accurate after system wakes from sleep
116228 maj P1 All brendan@mozilla.org VERI FIXE Problems with toString function performed on Function obj...

87 bugs fixed