Summary: | Multiline Javascript comments cause incorrect parsing of following script. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mike Samuel <msamuel> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Minor | CC: | barraclough, kangax, oliver |
Priority: | P2 | Keywords: | HasReduction, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | All | ||
URL: | http://bugs.ecmascript.org/ticket/414 |
Description
Mike Samuel
2009-01-28 21:44:38 PST
This is still an issue (as of r55043) A simple example demonstrating WebKit non-conformance in regards to replacing LineTerminator-containing multiline comment with LineTerminator: (function(){ return/* */1 })(); Expected: `undefined` Actual: `1` Still happens in rev 55516. |