W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] Web Workers: "SyntaxError exception"?

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 1 Dec 2009 06:47:00 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0912010611360.4718@hixie.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 30 November 2009 22:47:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC