Changeset 89785 in webkit


Ignore:
Timestamp:
Jun 26, 2011 11:31:48 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-06-26 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Remove LegacyDefaultOptionalArguments from XMLHttpRequest.idl and XMLHttpRequestUpload.idl
https://bugs.webkit.org/show_bug.cgi?id=63418

The XMLHttpRequest.idl interface used to implement the new behavior
manually using the RequiresAllArguments attribute. Now that we have
that behavior by default, we can simply remove the
LegacyDefaultOptionalArguments attribute.

  • xml/XMLHttpRequest.idl:
  • xml/XMLHttpRequestUpload.idl:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r89783 r89785  
     12011-06-26  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Remove LegacyDefaultOptionalArguments from XMLHttpRequest.idl and XMLHttpRequestUpload.idl
     6        https://bugs.webkit.org/show_bug.cgi?id=63418
     7
     8        The XMLHttpRequest.idl interface used to implement the new behavior
     9        manually using the RequiresAllArguments attribute.  Now that we have
     10        that behavior by default, we can simply remove the
     11        LegacyDefaultOptionalArguments attribute.
     12
     13        * xml/XMLHttpRequest.idl:
     14        * xml/XMLHttpRequestUpload.idl:
     15
    1162011-06-26  Dirk Schulze  <krit@webkit.org>
    217
  • trunk/Source/WebCore/xml/XMLHttpRequest.idl

    r89781 r89785  
    3030
    3131    interface [
    32         LegacyDefaultOptionalArguments,
    3332        ActiveDOMObject,
    3433        CanBeConstructed,
     
    7372            raises(DOMException);
    7473
    75         [RequiresAllArguments=Raise] void setRequestHeader(in DOMString header, in DOMString value)
     74        void setRequestHeader(in DOMString header, in DOMString value)
    7675            raises(DOMException);
    7776
     
    8887        [ConvertNullStringTo=Undefined] DOMString getAllResponseHeaders()
    8988            raises(DOMException);
    90         [RequiresAllArguments=Raise, ConvertNullStringTo=Null] DOMString getResponseHeader(in DOMString header)
     89        [ConvertNullStringTo=Null] DOMString getResponseHeader(in DOMString header)
    9190            raises(DOMException);
    9291        readonly attribute [CustomGetter] DOMString responseText // The custom getter implements ConvertNullStringTo=Null
     
    110109
    111110        // Extension
    112         [RequiresAllArguments=Raise] void overrideMimeType(in DOMString override);
     111        void overrideMimeType(in DOMString override);
    113112
    114113        // EventTarget interface
  • trunk/Source/WebCore/xml/XMLHttpRequestUpload.idl

    r89781 r89785  
    3030
    3131    interface [
    32         LegacyDefaultOptionalArguments,
    3332        GenerateIsReachable=Impl,
    3433        EventTarget,
Note: See TracChangeset for help on using the changeset viewer.