Hello there,

I have been given a script sample that contains a null character (ASCII 
0x00).

<html>
<body>
<script>
    alert("I am an alert box!");
    ^@
</script>   
</body>
</html>

Obviously, this fails to compile and run, since this is not valid syntax (I 
get "SyntaxError: Invalid or unexpected token").
However, in IE this code just gives out a warning, and runs normally.

Is it possible to simulate the IE behavior under V8 as well?

Thanks in advance,
D.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to