Changes between Version 76 and Version 77 of WebKitIDL


Ignore:
Timestamp:
Aug 13, 2012 10:39:27 PM (9 years ago)
Author:
Vineet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v76 v77  
    4848 - [#IsWorkerContext IsWorkerContext(i)][[br]]
    4949 - [#TransferList TransferList(p)][[br]]
    50  - [#TypedArray TypedArray(i,m)][[br]]
     50 - [#TypedArray TypedArray(i), [ConstructorTemplate=TypedArray](i)][[br]]
    5151 - [#CustomCall CustomCall(i)][[br]]
    5252 - [#JSCustomToNativeObject JSCustomToNativeObject(i), JSCustomFinalize(i), JSCustomIsReachable(i), JSCustomMarkFunction(i), JSCustomNamedGetterOnPrototype(i), JSCustomPushEventHandlerScope(i), JSCustomDefineOwnProperty(i), JSCustomDefineOwnPropertyOnPrototype(i), JSCustomGetOwnPropertySlotAndDescriptor(i)][[br]]
     
    15091509}}}
    15101510
    1511 == [TypedArray](i,m) == #TypedArray
     1511== [TypedArray](i), [ConstructorTemplate=TypedArray](i) == #TypedArray
    15121512
    15131513* [http://www.khronos.org/registry/typedarray/specs/latest/#7 The spec of TypedArray]
    15141514
    15151515Summary: The typed array view types represent a view of an ArrayBuffer that allows for indexing and manipulation.
    1516 TypedArray implements ArrayBufferView. Each of the typed array types has the following constructors, properties, constants and methods. 
    1517 
    1518 Usage: [TypedArray] can be specified on interfaces, methods:
     1516TypedArray implements ArrayBufferView. Each of the typed array types has the following constructors, properties, constants and methods.
     1517
     1518Usage: [TypedArray] must be specified on interfaces in conjunction with [ConstructorTemplate=TypedArray]:
    15191519Example:
    15201520
    15211521{{{
    15221522interface [
     1523    ConstructorTemplate=TypedArray,
    15231524    TypedArray=int
    15241525] XXX : ArrayBufferView {
    1525     [TypedArray=int] void set(TypedArray array, optional unsigned long offset);
     1526    void set(TypedArray array, optional unsigned long offset);
    15261527}
    15271528}}}
    15281529
    15291530TypedArray=* Allows us to specify any valid typed array view type.
     1531TypedArray interfaces require special bindings code, you need to use [ConstructorTemplate=TypedArray] instead of normal [Constructor].
    15301532
    15311533== [CustomCall](i) == #CustomCall