Summary: | WebIDL attributes should be configurable | ||
---|---|---|---|
Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
Component: | DOM | Assignee: | 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 |
As of today Object.getOwnPropertyDescriptor(document, 'documentElement') returns undefined. documentElement (and the majority of dom attributes) are accessor members on the prototype chain. 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 ? |
> 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].