Changes between Version 12 and Version 13 of WebKitIDL


Ignore:
Timestamp:
Feb 12, 2012 10:20:51 PM (10 years ago)
Author:
haraken@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v12 v13  
    99= How the IDL binding works =
    1010
    11 == ''JavaScriptCore'' ==
     11== JavaScriptCore ==
    1212
    13 == ''V8'' ==
     13== V8 ==
    1414
    15 == ''ObjC'' ==
     15== ObjC ==
    1616
    17 == ''GObject'' ==
     17== GObject ==
    1818
    19 == ''CPP'' ==
     19== CPP ==
    2020
    2121= IDL attributes =
    2222
    23 == ''[Supplemental]'' ==
     23== Basic naming rules ==
     24
     25== Terminologies ==
     26
     27== IDL attributes around operations, attributes and parameters ==
     28
     29== [TreatNullAs](a,p), [TreatUndefinedAs](a,p) ==
     30
     31== [TreatReturnedNullStringAs](o,a,p) ==
     32
     33== [Optional](p) ==
     34
     35== [Callback](i,p) ==
     36
     37== [Custom](o,a), [JSCustom](o,a), [V8Custom](o,a), [CustomGetter](a), [JSCustomGetter](a), [V8CustomGetter](a), [CustomSetter](a), [JSCustomSetter](a), [V8CustomSetter](a) ==
     38
     39== [CallWith](o,a) ==
     40
     41== [CheckAccessToNode](o,a) ==
     42
     43== [StrictTypeChecking](o,a) ==
     44
     45== [ReturnNewObject](o,a) ==
     46
     47== [ImplementedAs](o) ==
     48
     49== [Reflect](a) ==
     50
     51== [Replaceable](a) ==
     52
     53== [Deletable](a), [NotEnumerable](a), [V8ReadOnly](a) ==
     54
     55== [CachedAttribute](a) ==
     56
     57== [V8Unforgeable](a), [V8OnInstance](a), [V8OnProto](a) ==
     58
     59== [URL](a) ==
     60
     61== [JSWindowEventListener](a) ==
     62
     63== IDL attributes around interfaces ==
     64
     65== [Supplemental](i) ==
    2466
    2567 * [http://dev.w3.org/2006/webapi/WebIDL/#dfn-supplemental-interface The spec]
     
    59101If you want to add APIs whose implementations are likely to be independent from WebCore, it is strongly recommended to put the APIs and .h/.cpp files into WebCore/Modules/XXX/ using the [Supplemental] IDL.
    60102
    61 == ''[...]'' ==
     103== [Constructor](i), [ConstructorCallWith](i), [ConstructorRaisesException](i) ==
    62104
    63 == ''[...]'' ==
     105== [ConstructorTemplate](i), [InitializedByEventConstructor](a) ==
    64106
    65 == ''[...]'' ==
     107== [NamedConstructor](i) ==
     108
     109== [CustomConstructor](i), [JSCustomConstructor](i), [V8CustomConstructor](i) ==
     110
     111== [Conditional](i,o,a) ==
     112
     113== [V8EnabledAtRuntime](i,o,a) ==
     114
     115== [CustomToJSObject](i), [JSCustomToJSObject](i), [V8CustomToJSObject](i) ==
     116
     117== [CheckDomainSecurity](i), [DoNotCheckDomainSecurity](o,a), [DoNotCheckDomainSecurityOnGetter](a), [DoNotCheckDomainSecurityOnSetter](a) ==
     118
     119== [IndexedGetter](i), [CustomIndexedGetter](i) ==
     120
     121== [NamedGetter](i), [NamedCustomGetter](i), [NamedCustomSetter](i) ==
     122
     123== [EventTarget](i) ==
     124
     125== [DoNotCheckConstants](i) ==
     126
     127== [ActiveDOMObject](i), [V8DependentLifeTime](i) ==
     128
     129== [CustomEnumerateProperty](i), [CustomDeleteProperty](i) ==
     130
     131== [IsWorkerContext](i) ==
     132
     133== [CustomCall](i) ==
     134
     135== [JSCustomToNativeObject](i), [JSCustomFinalize](i), [JSCustomIsReachable](i), [JSCustomMarkFunction](i), [JSCustomNamedGetterOnPrototype](i), [JSCustomPushEventHandlerScope](i), [JSCustomDefineOwnProperty](i), [JSCustomGetOwnPropertySlotAndDescriptor](i), [JSCustomDefineOwnPropertyOnPrototype](i) ==
     136
     137== [JSCustomHeader](i) ==
     138
     139== [JSGenerateToJSObject](i), [JSGenerateIsReachable](i), [JSGenerateToNativeObject](i) ==
     140
     141== [JSLegacyParent](i) ==
     142
     143== [JSInlineGetOwnPropertySlot](i) ==
     144
     145== [JSNoStaticTables](i) ==
     146
     147== IDL attributes used by ObjC, GObject and CPP bindings only ==
     148
     149== [ObjCProtocol](i), [ObjCPolymorphic](i), [ObjCLegacyUnnamedParameters](o), [ObjCUseDefaultView](o), [ObjCImplementedAsUnsignedLongLong](a) ==
     150
     151Used by ObjC bindings only.
     152
     153== [CPPPureInterface](i) ==
     154
     155Used by CPP bindings only.
     156
     157== [CustomReturn](p) ==
     158
     159Used by ObjC, GObject and CPP bindings only.
     160
     161== IDL attributes which might be deprecated ==
     162
     163== [OmitConstructor], [Immutable], [MasqueradesAsUndefined] ==
     164
     165Might be deprecated. Discussion is on-going.
     166
     167== [CustomGetOwnPropertySlot], [ConstructorParameters], [ReplaceableConstructor], [ExtendsDOMGlobalObject], [IsIndex], [V8DoNotCheckSignature], [NumericIndexedGetter] ==
     168
     169Will be deprecated. Discussion is on-going.
     170