Changes between Version 121 and Version 122 of WebKitIDL


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

Add documentation for [GetterRaisesException] / [SetterRaisesException] after r151321

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v121 v122  
    5656 - [#NoInterfaceObject NoInterfaceObject(i), GlobalContext(i)][[br]]
    5757 - [#EnabledAtRuntime EnabledAtRuntime(i)][[br]]
     58 - [#RaisesException GetterRaisesException(a), SetterRaisesException(a)][[br]]
    5859
    5960= Overview = #Overview
     
    14941495    };
    14951496}}}
     1497
     1498== `[GetterRaisesException]`(a), `[SetterRaisesException]`(a) == #RaisesException
     1499
     1500Standard: This is a non-standard attribute.
     1501
     1502Summary: Indicates that the attribute getter / setter may raise exceptions.
     1503
     1504The generator will pass by reference an additional "ExceptionCode" parameter to the corresponding implementation method so that an exception code can be returned.
     1505
     1506Usage: `[GetterRaisesException]` / `[SetterRaisesException]` can be specified on attributes.
     1507
     1508{{{
     1509    interface XXX {
     1510        [GetterRaisesException] attribute DOMString a;
     1511        [SetterRaisesException] attribute DOMString b;
     1512        [GetterRaisesException, SetterRaisesException] attribute DOMString c;
     1513    };
     1514}}}