[Webkit-unassigned] [Bug 163491] New: Use the reject() helper function for conditionally throwing TypeErrors.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 15 15:13:13 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163491
Bug ID: 163491
Summary: Use the reject() helper function for conditionally
throwing TypeErrors.
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
In some places where we may conditionally throw a TypeError (e.g. when in strict mode), we already use the reject() helper function to conditionally throw the TypeError. Doing so makes the code mode compact. This patch applies this idiom in all places that throws TypeError where appropriate.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161015/41cf4198/attachment.html>
More information about the webkit-unassigned
mailing list