Title: [98385] trunk/Source/WebCore
Revision
98385
Author
podivi...@chromium.org
Date
2011-10-25 13:36:54 -0700 (Tue, 25 Oct 2011)

Log Message

Fix several minor problems in idls.
https://bugs.webkit.org/show_bug.cgi?id=70811

Reviewed by Adam Barth.

This patch does not have any effect on generated bindings.

* dom/DataTransferItems.idl:
* page/History.idl:
* storage/IDBIndex.idl:
* xml/XMLHttpRequest.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98384 => 98385)


--- trunk/Source/WebCore/ChangeLog	2011-10-25 20:30:24 UTC (rev 98384)
+++ trunk/Source/WebCore/ChangeLog	2011-10-25 20:36:54 UTC (rev 98385)
@@ -1,3 +1,17 @@
+2011-10-25  Pavel Podivilov  <podivi...@chromium.org>
+
+        Fix several minor problems in idls.
+        https://bugs.webkit.org/show_bug.cgi?id=70811
+
+        Reviewed by Adam Barth.
+
+        This patch does not have any effect on generated bindings.
+
+        * dom/DataTransferItems.idl:
+        * page/History.idl:
+        * storage/IDBIndex.idl:
+        * xml/XMLHttpRequest.idl:
+
 2011-10-25  Nate Chapin  <jap...@chromium.org>
 
         Make DocumentThreadableLoader a CachedResourceClient.

Modified: trunk/Source/WebCore/dom/DataTransferItems.idl (98384 => 98385)


--- trunk/Source/WebCore/dom/DataTransferItems.idl	2011-10-25 20:30:24 UTC (rev 98384)
+++ trunk/Source/WebCore/dom/DataTransferItems.idl	2011-10-25 20:36:54 UTC (rev 98385)
@@ -38,7 +38,7 @@
 #endif
     ] DataTransferItems {
         readonly attribute long length;
-        DataTransferItem item(in [Optional=CallWithDefaultValue] unsigned long index) getter;
+        DataTransferItem item(in [Optional=CallWithDefaultValue] unsigned long index);
 
         void clear();
         void add(in [Optional=CallWithDefaultValue] DOMString data, 

Modified: trunk/Source/WebCore/page/History.idl (98384 => 98385)


--- trunk/Source/WebCore/page/History.idl	2011-10-25 20:30:24 UTC (rev 98384)
+++ trunk/Source/WebCore/page/History.idl	2011-10-25 20:36:54 UTC (rev 98385)
@@ -42,9 +42,9 @@
         [DoNotCheckDomainSecurity, CallWith=ScriptExecutionContext] void forward();
         [DoNotCheckDomainSecurity, CallWith=ScriptExecutionContext] void go(in [Optional=CallWithDefaultValue] long distance);
         
-        [Custom, EnabledAtRuntime] void pushState(in any data, in DOMString title, in optional DOMString url)
+        [Custom, EnabledAtRuntime] void pushState(in any data, in DOMString title, in [Optional] DOMString url)
             raises(DOMException);
-        [Custom, EnabledAtRuntime] void replaceState(in any data, in DOMString title, in optional DOMString url)
+        [Custom, EnabledAtRuntime] void replaceState(in any data, in DOMString title, in [Optional] DOMString url)
             raises(DOMException);
     };
 

Modified: trunk/Source/WebCore/storage/IDBIndex.idl (98384 => 98385)


--- trunk/Source/WebCore/storage/IDBIndex.idl	2011-10-25 20:30:24 UTC (rev 98384)
+++ trunk/Source/WebCore/storage/IDBIndex.idl	2011-10-25 20:36:54 UTC (rev 98385)
@@ -35,7 +35,7 @@
 
         [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction)
             raises (IDBDatabaseException);
-        [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction))
+        [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional] IDBKeyRange range, in [Optional] unsigned short direction)
             raises (IDBDatabaseException);
         [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key)
             raises (IDBDatabaseException);

Modified: trunk/Source/WebCore/xml/XMLHttpRequest.idl (98384 => 98385)


--- trunk/Source/WebCore/xml/XMLHttpRequest.idl	2011-10-25 20:30:24 UTC (rev 98384)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.idl	2011-10-25 20:36:54 UTC (rev 98385)
@@ -64,10 +64,8 @@
 
         attribute boolean withCredentials
             setter raises(DOMException);
-        // void open(in DOMString method, in DOMString url);
-        // void open(in DOMString method, in DOMString url, in boolean async);
-        // void open(in DOMString method, in DOMString url, in boolean async, in DOMString user);
-        [Custom] void open(in DOMString method, in DOMString url, in boolean async, in DOMString user, in DOMString password)
+
+        [Custom] void open(in DOMString method, in DOMString url, in [Optional] boolean async, in [Optional] DOMString user, in [Optional] DOMString password)
             raises(DOMException);
 
         void setRequestHeader(in DOMString header, in DOMString value)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to