Changes between Version 100 and Version 101 of WebKitIDL
- Timestamp:
- May 8, 2013, 1:33:49 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitIDL
v100 v101 19 19 - [#Reflect Reflect(a)][[br]] 20 20 - [#Replaceable Replaceable(a)][[br]] 21 - [#Deletable Deletable(a), NotEnumerable(a) , V8ReadOnly(a)][[br]]21 - [#Deletable Deletable(a), NotEnumerable(a)][[br]] 22 22 - [#CachedAttribute CachedAttribute(a)][[br]] 23 23 - [#V8Unforgeable V8Unforgeable(m,a), V8OnProto(m,a)][[br]] … … 588 588 Whether `[Replaceable]` should be specified or not depends on the spec of each attribute. 589 589 590 == `[Deletable]`(a), `[NotEnumerable]`(a) , `[V8ReadOnly]`(a) == #Deletable590 == `[Deletable]`(a), `[NotEnumerable]`(a)`(a) == #Deletable 591 591 592 592 * [http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf The spec of Writable, Enumerable and Configurable (Section 8.6.1)] 593 593 594 Summary: They control `Writability`, `Enumerability` a nd `Configurability` of attributes.594 Summary: They control `Writability`, `Enumerability` attributes (`readonly` keyword controls the `Configurability` attributes). 595 595 596 596 Usage: They can be specified on attributes: … … 598 598 attribute [NotEnumerable, Deletable] DOMString str; 599 599 readonly attribute DOMString readonlyStr; 600 attribute [V8ReadOnly] DOMString readonlyStrOnV8; 601 }}} 602 603 By default, non-"readonly" attributes are enumerable, writable and not deletable. "readonly" attributes are enumerable, not writable and not deletable. You can change the default behavior using `[Deletable]`, `[NotEnumerable]` or `[V8ReadOnly]`. 600 }}} 601 602 By default, non-"readonly" attributes are enumerable, writable and not deletable. "readonly" attributes are enumerable, not writable and not deletable. You can change the default behavior using `[Deletable]`, `[NotEnumerable]` or `readonly`. 604 603 605 604 * `[Deletable]` indicates that the attribute is deletable. 606 605 * `[NotEnumerable]` indicates that the attribute is not enumerable. 607 * ` [V8ReadOnly]` indicates that the attribute is readonly in V8 even if the attribute is not prefixed by "readonly".606 * `readonly` indicates that the attribute is read only. 608 607 609 608 == `[CachedAttribute]`(a) == #CachedAttribute