Changes between Version 126 and Version 127 of WebKitIDL


Ignore:
Timestamp:
Jun 12, 2013 7:49:30 AM (8 years ago)
Author:
Christophe Dumez
Comment:

Remove [IndexedGetter] and [NumericIndexedGetter] after r151499

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v126 v127  
    2929 - [#CheckSecurity CheckSecurity(i), DoNotCheckSecurity(m,a), DoNotCheckSecurityOnGetter(a), DoNotCheckSecurityOnSetter(a)][[br]]
    3030 - [#CheckSecurityForNode CheckSecurityForNode(m,a)][[br]]
    31  - [#IndexedGetter IndexedGetter(i)][[br]]
    3231 - [#CustomIndexedSetter CustomIndexedSetter(i)][[br]]
    3332 - [#CustomNamedGetter CustomNamedGetter(i), CustomNamedSetter(i)][[br]]
     
    5049 - [#CustomReturn CustomReturn(p)][[br]]
    5150 - [#ArrayClass ArrayClass(i)][[br]]
    52  - [#Immutable Immutable, MasqueradesAsUndefined, CustomGetOwnPropertySlot, ReplaceableConstructor, ExtendsDOMGlobalObject, IsIndex, NumericIndexedGetter][[br]]
     51 - [#Immutable Immutable, MasqueradesAsUndefined, CustomGetOwnPropertySlot, ReplaceableConstructor, ExtendsDOMGlobalObject, IsIndex][[br]]
    5352 - [#ImplementationNamespace ImplementationNamespace(i)][[br]]
    5453 - [#SkipVTableValidation SkipVTableValidation(i), ImplementationLacksVTable(i),][[br]]
     
    894893This is really important for security.
    895894
    896 == `[IndexedGetter]`(i) == #IndexedGetter
    897 
    898  * [http://dev.w3.org/2006/webapi/WebIDL/#idl-indexed-properties The spec of indexed properties] (Note: The WebKit behavior explained below is different from the spec)
    899 
    900 Summary: `[IndexedGetter]` means that a given interface should have a getter of indexed properties.
    901 
    902 Usage: `[IndexedGetter]` can be specified on interfaces:
    903 {{{
    904     [
    905         IndexedGetter
    906     ] interface XXX {
    907     };
    908 }}}
    909 
    910 Indexed getters define the behavior when `XXX[i]` is evaluated.
    911 For example, if `XXX` is an array-type interface, it should have indexed getters (and setters).
    912 The bindings code for indexed getters is generated automatically so that `XXX[i]` behaves equivalent to `XXX.item(i)`.
    913 
    914895== `[CustomIndexedSetter]`(i) == #CustomIndexedSetter
    915896
     
    13641345    // IDL
    13651346    [
    1366         ArrayClass,
    1367         IndexedGetter
     1347        ArrayClass
    13681348    ] interface NodeList {
    1369         Node item(unsigned long index);
     1349        getter Node item(unsigned long index);
    13701350        readonly attribute unsigned long length;
    13711351    };
     
    13761356}}}
    13771357
    1378 == `[Immutable]`, `[MasqueradesAsUndefined]`, `[CustomGetOwnPropertySlot]`, `[ReplaceableConstructor]`, `[ExtendsDOMGlobalObject]`, `[IsIndex]`, `[NumericIndexedGetter]` == #Immutable
     1358== `[Immutable]`, `[MasqueradesAsUndefined]`, `[CustomGetOwnPropertySlot]`, `[ReplaceableConstructor]`, `[ExtendsDOMGlobalObject]`, `[IsIndex]` == #Immutable
    13791359
    13801360Might be deprecated. Discussion is on-going.