Bug 122018

Summary: WebIDL attributes should be configurable
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: DOMAssignee: Nobody <webkit-unassigned>
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    

Description Erik Arvidsson 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].
Comment 1 Rajaram Gaunker 2014-10-27 03:46:57 PDT
As of today 
Object.getOwnPropertyDescriptor(document, 'documentElement')


Comment 2 Oliver Hunt 2014-10-27 08:12:30 PDT
documentElement (and the majority of dom attributes) are accessor members on the prototype chain.
Comment 3 Rajaram Gaunker 2014-10-27 08:44:33 PDT
But the values are still not configurable.

configurable: false
enumerable: true
get: undefined
set: undefined
__proto__: Object

Is this being tracked at https://bugs.webkit.org/show_bug.cgi?id=49739 ?