[whatwg] Web Workers: "SyntaxError exception"?

Ian Hickson ian at hixie.ch
Mon Nov 30 22:47:00 PST 2009


On Tue, 3 Nov 2009, Simon Pieters wrote:
>
> Web Workers says
> 
> "If it failed to parse, then throw a SyntaxError exception and abort all 
> these steps."
> 
> Shouldn't that be SYNTAX_ERR exception?

No, it's trying to emulate eval().

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list