[Webkit-unassigned] [Bug 48911] Object.defineProperty doesn't create property on Global Object in the presence of a setter in the prototype chain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 12 18:00:36 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=48911





--- Comment #2 from Gavin Barraclough <barraclough at apple.com>  2012-03-12 18:00:31 PST ---
Gah, the test case still fails.  It works since in JSC, but fails in WebCore.  Object.defineProperty works fine, it's actually hasOwnProperty that fails, because JSDOMWindow::getOwnPropertySlot erroneously searches the prototype chain, which it shouldn't be doing for an 'own' access.  This is likely related to the sadness that is bug#49739.

-- 
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