[Webkit-unassigned] [Bug 151596] [JSC] add missing RequireObjectCoercible() step in destructuring
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 1 05:17:16 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151596
Caitlin Potter (:caitp) <caitp at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #266145|1 |0
is obsolete| |
--- Comment #8 from Caitlin Potter (:caitp) <caitp at igalia.com> ---
Comment on attachment 266145
--> https://bugs.webkit.org/attachment.cgi?id=266145
[JSC] add missing RequireObjectCoercible() step in destructuring
View in context: https://bugs.webkit.org/attachment.cgi?id=266145&action=review
>> Source/JavaScriptCore/tests/stress/destructuring-assignment-require-object-coercible.js:15
>> +testTypeError(`({ } = null)`, "TypeError: null is not an object");
>
> Would be much better to check all the other types here too, an object, number, boolean, string, and especially a âmasquerades as nullâ value, making sure that they do not throw a type error.
Are there any "masquerades as null" values available in standalone jsc stress tests? I suppose this needs a layout test
--
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/20151201/75d18d49/attachment.html>
More information about the webkit-unassigned
mailing list