Changes between Version 126 and Version 127 of WebKitIDL
- Timestamp:
- Jun 12, 2013, 7:49:30 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified WebKitIDL
v126 v127 29 29 - [#CheckSecurity CheckSecurity(i), DoNotCheckSecurity(m,a), DoNotCheckSecurityOnGetter(a), DoNotCheckSecurityOnSetter(a)][[br]] 30 30 - [#CheckSecurityForNode CheckSecurityForNode(m,a)][[br]] 31 - [#IndexedGetter IndexedGetter(i)][[br]]32 31 - [#CustomIndexedSetter CustomIndexedSetter(i)][[br]] 33 32 - [#CustomNamedGetter CustomNamedGetter(i), CustomNamedSetter(i)][[br]] … … 50 49 - [#CustomReturn CustomReturn(p)][[br]] 51 50 - [#ArrayClass ArrayClass(i)][[br]] 52 - [#Immutable Immutable, MasqueradesAsUndefined, CustomGetOwnPropertySlot, ReplaceableConstructor, ExtendsDOMGlobalObject, IsIndex , NumericIndexedGetter][[br]]51 - [#Immutable Immutable, MasqueradesAsUndefined, CustomGetOwnPropertySlot, ReplaceableConstructor, ExtendsDOMGlobalObject, IsIndex][[br]] 53 52 - [#ImplementationNamespace ImplementationNamespace(i)][[br]] 54 53 - [#SkipVTableValidation SkipVTableValidation(i), ImplementationLacksVTable(i),][[br]] … … 894 893 This is really important for security. 895 894 896 == `[IndexedGetter]`(i) == #IndexedGetter897 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 IndexedGetter906 ] 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 914 895 == `[CustomIndexedSetter]`(i) == #CustomIndexedSetter 915 896 … … 1364 1345 // IDL 1365 1346 [ 1366 ArrayClass, 1367 IndexedGetter 1347 ArrayClass 1368 1348 ] interface NodeList { 1369 Node item(unsigned long index);1349 getter Node item(unsigned long index); 1370 1350 readonly attribute unsigned long length; 1371 1351 }; … … 1376 1356 }}} 1377 1357 1378 == `[Immutable]`, `[MasqueradesAsUndefined]`, `[CustomGetOwnPropertySlot]`, `[ReplaceableConstructor]`, `[ExtendsDOMGlobalObject]`, `[IsIndex]` , `[NumericIndexedGetter]`== #Immutable1358 == `[Immutable]`, `[MasqueradesAsUndefined]`, `[CustomGetOwnPropertySlot]`, `[ReplaceableConstructor]`, `[ExtendsDOMGlobalObject]`, `[IsIndex]` == #Immutable 1379 1359 1380 1360 Might be deprecated. Discussion is on-going.