[Webkit-unassigned] [Bug 42900] [JSC] JavaScript parsing error when loading Equifax web page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 23 12:11:52 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42900
--- Comment #6 from Oliver Hunt <oliver at apple.com> 2010-07-23 12:11:52 PST ---
(In reply to comment #5)
> This is working as it should be. Or at least how the lexer works for a long-long time.
>
> In JavaScript, "<!--" means a comment until the next line, (same as //)
>
> <script type="text/javascript">
> <!-- comment until the next line
> /* normal comment */
> --> /* parse error */ </script>
>
> You can even reduce the test case to:
>
> <script type="text/javascript"><!--
> --> or anything </script>
>
> I will check the ECMA standard, a moment.
ECMA262 doesn't specify it but based on testing <!-- and --> should both be treated as though the start single line comments.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list