<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] setter / getter is not properly set with numeric properties"
href="https://bugs.webkit.org/show_bug.cgi?id=145358#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] setter / getter is not properly set with numeric properties"
href="https://bugs.webkit.org/show_bug.cgi?id=145358">bug 145358</a>
from <span class="vcard"><a class="email" href="mailto:utatane.tea@gmail.com" title="Yusuke Suzuki <utatane.tea@gmail.com>"> <span class="fn">Yusuke Suzuki</span></a>
</span></b>
<pre>The following should throw an error, but don't.
Object.defineProperty(Object.prototype, 2, {
set: function () {
throw new Error("out");
}
});
var obj = {};
obj[2] = 'hello';</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>