[Webkit-unassigned] [Bug 67381] New: TypeError should be thrown when we call a constructor as a normal function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 1 03:02:52 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=67381
Summary: TypeError should be thrown when we call a constructor
as a normal function
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: haraken at google.com
CC: abarth at webkit.org, dominicc at chromium.org
Some of V8's custom constructors throw SyntaxError when we call them as a normal function. For example, "FormData()" and "ArrayBuffer()" throw SyntaxError. However, the spec says that this should be TypeError (http://www.w3.org/TR/WebIDL/#es-interface-call). JSC's custom constructors are correct.
--
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