[Webkit-unassigned] [Bug 187645] Release test-262 tests failed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 13 12:58:29 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187645
--- Comment #5 from Leo Balter <leonardo.balter at gmail.com> ---
heh, that's probably a bug in JSC. As far as I checked here, JSC should definitely pass for this test case, but:
```
>>> a = Function("<!--", "");
Exception: SyntaxError: Unexpected token '}'. Expected a parameter pattern or a ')' in parameter list.
```
If it passes, the following is expected:
```
a.toString();
/*--
"function anonymous(<!--
) {
}"
--*/
```
The same bug happens when we try it with a regular inline comment:
```
Function('//', '')
```
The inline comment should not affect the function body, but only consequent parameters.
I checked that other major engines are working as expected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180713/5f95e2e5/attachment-0001.html>
More information about the webkit-unassigned
mailing list