Changes between Version 133 and Version 134 of WebKitIDL


Ignore:
Timestamp:
Aug 19, 2015 7:43:29 PM (6 years ago)
Author:
Chris Dumez
Comment:

Document support for [OverrideBuiltins]

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v133 v134  
    5555 - [#EnabledAtRuntime EnabledAtRuntime(i)][[br]]
    5656 - [#RaisesException RaisesException(m) GetterRaisesException(a), SetterRaisesException(a)][[br]]
     57 - [#OverrideBuiltins OverrideBuiltins(i)][[br]]
    5758
    5859= Overview = #Overview
     
    15381539
    15391540See [ConstructorRaisesException] to specify that a constructor throws exceptions.
     1541
     1542== `[OverrideBuiltins]`(i) == #OverrideBuiltins
     1543
     1544Standard: [https://heycam.github.io/webidl/#OverrideBuiltins The spec of OverrideBuiltins]
     1545
     1546Summary: Controls if named properties should override own properties or not.
     1547
     1548Usage: [OverrideBuiltins] can be specified on interfaces that have a named property getter. The IDL looks like:
     1549{{{
     1550    [OverrideBuiltins]
     1551    interface XXX {
     1552        readonly attribute unsigned long length;
     1553        getter DOMString lookup(DOMString key);
     1554    };
     1555}}}