Changes between Version 131 and Version 132 of WebKitIDL


Ignore:
Timestamp:
Jul 11, 2013 6:56:15 AM (11 years ago)
Author:
stavila@adobe.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v131 v132  
    1010 - [#TreatNullAs TreatNullAs(a,p), TreatUndefinedAs(a,p)][[br]]
    1111 - [#TreatReturnedNullStringAs TreatReturnedNullStringAs(m,a)][[br]]
    12  - [#TreatReturnedNullObjectAs TreatReturnedNullObjectAs(m)][[br]]
    1312 - [#Default Default(p)][[br]]
    1413 - [#Clamp Clamp(a,p)][[br]]
     
    274273Note that what should be specified on `[TreatReturnedNullStringAs=...]` depends on the spec of each attribute or method.
    275274
    276 == `[TreatReturnedNullObjectAs]`(m) == #TreatReturnedNullObjectAs
    277 
    278 Summary: `[TreatReturnedNullObjectAs]` controls the behavior when a WebKit null object is returned from the WebCore implementation.
    279 
    280 Usage: The possible usage is `[TreatReturnedNullObjectAs=Undefined]`.
    281 It can be specified on methods that return an object:
    282 {{{
    283     [TreatReturnedNullObjectAs=Undefined] Object func();
    284 }}}
    285 
    286  * `[TreatReturnedNullObjectAs=Undefined]` indicates that if the returned object is null, the returned value is treated as a JavaScript undefined.
    287 
    288 Without `[TreatReturnedNullObjectAs=Undefined]`, if the returned object is null, then the returned value is treated as a JavaScript null.
    289 
    290275== `[Default]`(p) == #Default
    291276