Bug 122018

Summary: WebIDL attributes should be configurable
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: barraclough, cdumez, darin, ggaren, oliver, rniwa, sam, zan, zimbabao
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.w3.org/TR/WebIDL/#es-attributes
Bug Depends on:    
Bug Blocks: 122213    

Erik Arvidsson
Reported 2013-09-27 09:53:51 PDT
> Object.getOwnPropertyDescriptor(document, 'documentElement') < Object configurable: false enumerable: true value: html writable: false __proto__: Object This is a spec violation in a few ways but this bug is only about the configurable bit. It should only be false for [Unforgable].
Attachments
Rajaram Gaunker
Comment 1 2014-10-27 03:46:57 PDT
As of today Object.getOwnPropertyDescriptor(document, 'documentElement') returns undefined.
Oliver Hunt
Comment 2 2014-10-27 08:12:30 PDT
documentElement (and the majority of dom attributes) are accessor members on the prototype chain.
Rajaram Gaunker
Comment 3 2014-10-27 08:44:33 PDT
But the values are still not configurable. Object configurable: false enumerable: true get: undefined set: undefined __proto__: Object Is this being tracked at https://bugs.webkit.org/show_bug.cgi?id=49739 ?
Note You need to log in before you can comment on or make changes to this bug.