Bug 122018 - WebIDL attributes should be configurable
Summary: WebIDL attributes should be configurable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Nobody
URL: http://www.w3.org/TR/WebIDL/#es-attri...
Keywords:
Depends on:
Blocks: 122213
  Show dependency treegraph
 
Reported: 2013-09-27 09:53 PDT by Erik Arvidsson
Modified: 2014-10-27 08:44 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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')

returns 

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

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 ?