[Webkit-unassigned] [Bug 157041] New: The error message for for-of loops without Symbol.iterator is awful.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 26 13:44:03 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157041
Bug ID: 157041
Summary: The error message for for-of loops without
Symbol.iterator is awful.
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: keith_miller at apple.com
The error message is possibly one of the worst I have ever seen...
>>> for (a of {}) {}
Exception: TypeError: a of {} is not a function. (In 'a of {}', 'a of {}' is undefined)
I'm not even remotely sure how anyone would be able to debug this without tears.
--
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/20160426/5b7fa325/attachment.html>
More information about the webkit-unassigned
mailing list