[Webkit-unassigned] [Bug 106160] "ASSERTION FAILED: exprStatement" in Function constructor call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 7 14:05:23 PST 2013


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





--- Comment #2 from Oliver Hunt <oliver at apple.com>  2013-01-07 14:07:18 PST ---
(In reply to comment #1)
> Three more test cases
> 
> Function("", "});(function(){")
> => ASSERTION FAILED: exprStatement
> 
> Function("//", "//")
> => shouldn't throw SyntaxError, but currently does
> 
> Function("/*", "*/){")
> => should throw SyntaxError, but currently doesn't

O_o

Craziness.

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