Skip to content
  • zandobersek@gmail.com's avatar
    Remove the OperationsNotDeletable attribute from most of the WebIDL interfaces · d5961560
    zandobersek@gmail.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124151
    
    Reviewed by Geoffrey Garen.
    
    The OperationsNotDeletable attribute currently doesn't have any effect, but will soon enforce
    non-configurability of operations on the interface that uses the attribute. Non-configurability
    of operations is the default behavior at the moment, but will be changed to follow the WebIDL
    specification which requires that the operations are configurable (i.e. -- in JSC terms -- deletable).
    IE and Firefox already exhibit this behavior in the majority of cases, while Chrome and Opera don't.
    
    The attribute remains in use on the Location interface to mimic the Unforgeable attribute which
    also makes operations of an interface non-configurable. Unforgeable attribute will be used instead
    when support for it will be added to the JSC bindings generator.
    
    * Modules/battery/BatteryManager.idl:
    * Modules/encryptedmedia/MediaKeySession.idl:
    * Modules/encryptedmedia/MediaK...
    d5961560