[Webkit-unassigned] [Bug 64678] Fix bugs in Object.prototype this handling.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 19 02:44:34 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=64678
--- Comment #8 from Mads Ager <ager at chromium.org> 2011-07-19 02:44:34 PST ---
(From update of attachment 101238)
View in context: https://bugs.webkit.org/attachment.cgi?id=101238&action=review
A couple of drive-by comments.
> LayoutTests/fast/js/script-tests/object-prototype-properties.js:6
> +shouldThrow("toString()");
According the the ES5.1 spec this should not throw an exception and return "[object Undefined]":
Section 15.2.4.2:
1. If the this value is undefined, return "[object Undefined]".
> LayoutTests/fast/js/script-tests/object-prototype-properties.js:9
> +shouldThrow("hasProperty('hasProperty')");
I guess this should be hasOwnProperty?
--
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