[Webkit-unassigned] [Bug 145358] [JSC] setter / getter is not properly set with numeric properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 24 11:38:42 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=145358
--- Comment #2 from Yusuke Suzuki <utatane.tea at gmail.com> ---
The following code will fail with assertions.
(function () {
Object.defineProperty(Object.prototype, 0, {
get() {
print("Get");
},
set() {
print("Set");
}
});
var object = {
length: 5,
0: 0,
get 1() {
return 1;
},
set 1(value) {
throw new Error(2);
},
2: 2,
3: 3,
};
}());
--
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/20150524/af181997/attachment.html>
More information about the webkit-unassigned
mailing list