Reassiging to Nisheeth; this looks like an HTML parser issue.
Mike, I've verified that the language attribute does not make the parser ignore the script. Please take a look at the new problem that is being reported in this bug. This one seems unrelated to layout. Thanks.
Roger, can you look at this?
I'm not seeing a problem with eval on the current tip build (M12 as of 12/13/99). I vaguely recall we had problems earlier with eval getting scrunched by version checking - it changed because of the ECMA 3 spec. - but that seems like 2 to 3 months old now. Are you seeing this with current(ish) builds?
This bug showed up on the seamonkey M11 build; I haven't tried anything more current.
I can't find the original bug number, but what was happening is that the script was compiled under the specified version (non-ECMA) and then executed in a context with a different version (ECMA) so the error popped out. This was fixed a little while ago. I verified the test case is running fine against current builds.