Changes between Version 100 and Version 101 of WebKitIDL


Ignore:
Timestamp:
May 8, 2013 1:33:49 AM (11 years ago)
Author:
Christophe Dumez
Comment:

Remove V8ReadOnly

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v100 v101  
    1919 - [#Reflect Reflect(a)][[br]]
    2020 - [#Replaceable Replaceable(a)][[br]]
    21  - [#Deletable Deletable(a), NotEnumerable(a), V8ReadOnly(a)][[br]]
     21 - [#Deletable Deletable(a), NotEnumerable(a)][[br]]
    2222 - [#CachedAttribute CachedAttribute(a)][[br]]
    2323 - [#V8Unforgeable V8Unforgeable(m,a), V8OnProto(m,a)][[br]]
     
    588588Whether `[Replaceable]` should be specified or not depends on the spec of each attribute.
    589589
    590 == `[Deletable]`(a), `[NotEnumerable]`(a), `[V8ReadOnly]`(a) == #Deletable
     590== `[Deletable]`(a), `[NotEnumerable]`(a)`(a) == #Deletable
    591591
    592592 * [http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf The spec of Writable, Enumerable and Configurable (Section 8.6.1)]
    593593
    594 Summary: They control `Writability`, `Enumerability` and `Configurability` of attributes.
     594Summary: They control `Writability`, `Enumerability` attributes (`readonly` keyword controls the `Configurability` attributes).
    595595
    596596Usage: They can be specified on attributes:
     
    598598    attribute [NotEnumerable, Deletable] DOMString str;
    599599    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
     602By 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`.
    604603
    605604 * `[Deletable]` indicates that the attribute is deletable.
    606605 * `[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.
    608607
    609608== `[CachedAttribute]`(a) == #CachedAttribute