$ dbg.obj/js -e "Script('')"
-e:1: TypeError: self-modifying script detected
Created attachment 241673 [details] [diff] [review]
fix to handle null case
Sorry about that -- this will be fixed when the bug it blocks is fixed on the 1.8 branch.
Fixed on trunk:
Checking in jsscript.c;
/cvsroot/mozilla/js/src/jsscript.c,v <-- jsscript.c
new revision: 3.120; previous revision: 3.119
Checking in regress-355982.js;
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-355982.js,v <-- regress-355982.js
initial revision: 1.1
verified fixed 20061009 1.8 windows/linux/mac*, 1.9 windows/linux
marking "fixed126.96.36.199" because this was a regression from bug 355655. Checked in with 355655 on the 1.8.0 branch, but should be verified.
verified fixed in ff188.8.131.52 release in the browser and 184.108.40.206 20061108 windows/mac*/linux.