[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:09:43 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42900


Zoltan Herczeg <zherczeg at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zherczeg at webkit.org




--- Comment #5 from Zoltan Herczeg <zherczeg at webkit.org>  2010-07-23 12:09:43 PST ---
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.

-- 
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