I am trying it within Chromium. I posted it to v8-users, because it is a JavaScript issue, rather than a rendering issue. The syntax error does not show up on Internet Explorer 8. It does, however, show up on Internet Explorer 9 (one of the platform previews).
☆*PhistucK* On Fri, Jan 28, 2011 at 14:17, Stephan Beal <sgb...@googlemail.com> wrote: > On Fri, Jan 28, 2011 at 1:02 PM, PhistucK <phist...@gmail.com> wrote: > >> <!DOCTYPE HTML> >> ...</html> >> It shows - >> Uncaught SyntaxError: Unexpected token else >> >> > It _should_ be saying that the unknown token is the DOCTYPE tag, because > v8 does not parse HTML. > > >> Also, running it without that semicolon - >> <!DOCTYPE HTML> >> > > Stop trying to feed HTML to v8, and the problem should go away. Feed it > only the content of your script tag. > > - Shows an alert - "a is not o". > > The you're not using v8 direcly - v8 has no built-in alert() method. > > Are you sure you don't mean Chromium instead of v8? > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users