Changeset 89781 in webkit
- Timestamp:
- Jun 26, 2011 9:45:43 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89780 r89781 1 2011-06-26 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Add [Optional] attributes where appropriate for addEventListener and removeEventListener 6 https://bugs.webkit.org/show_bug.cgi?id=63417 7 8 This patch doesn't actually change behavior because these interfaces 9 have the LegacyDefaultOptionalArguments attribute. This patch paves 10 the way to removing LegacyDefaultOptionalArguments from some of these 11 interfaces as well as making the project safer for copy-and-pasting 12 these methods into new IDL files that don't have the 13 LegacyDefaultOptionalArguments attribute. 14 15 * bindings/scripts/test/TestObj.idl: 16 * dom/EventTarget.idl: 17 * dom/MediaStream.idl: 18 * dom/MessagePort.idl: 19 * dom/Node.idl: 20 * loader/appcache/DOMApplicationCache.idl: 21 * notifications/Notification.idl: 22 * page/DOMWindow.idl: 23 * page/EventSource.idl: 24 * storage/IDBRequest.idl: 25 * storage/IDBTransaction.idl: 26 * svg/SVGElementInstance.idl: 27 * websockets/WebSocket.idl: 28 * workers/AbstractWorker.idl: 29 * workers/WorkerContext.idl: 30 * xml/XMLHttpRequest.idl: 31 * xml/XMLHttpRequestUpload.idl: 32 1 33 2011-06-26 Adam Barth <abarth@webkit.org> 2 34 -
trunk/Source/WebCore/bindings/scripts/test/TestObj.idl
r89148 r89781 97 97 void addEventListener(in DOMString type, 98 98 in EventListener listener, 99 in boolean useCapture);99 in [Optional] boolean useCapture); 100 100 void removeEventListener(in DOMString type, 101 101 in EventListener listener, 102 in boolean useCapture);102 in [Optional] boolean useCapture); 103 103 104 104 // 'CallWith' extended attribute -
trunk/Source/WebCore/dom/EventTarget.idl
r89148 r89781 30 30 [OldStyleObjC] void addEventListener(in DOMString type, 31 31 in EventListener listener, 32 in boolean useCapture);32 in [Optional] boolean useCapture); 33 33 [OldStyleObjC] void removeEventListener(in DOMString type, 34 34 in EventListener listener, 35 in boolean useCapture);35 in [Optional] boolean useCapture); 36 36 boolean dispatchEvent(in Event event) 37 37 raises(EventException); -
trunk/Source/WebCore/dom/MediaStream.idl
r89567 r89781 40 40 void addEventListener(in DOMString type, 41 41 in EventListener listener, 42 in boolean useCapture);42 in [Optional] boolean useCapture); 43 43 void removeEventListener(in DOMString type, 44 44 in EventListener listener, 45 in boolean useCapture);45 in [Optional] boolean useCapture); 46 46 boolean dispatchEvent(in Event event) 47 47 raises(EventException); -
trunk/Source/WebCore/dom/MessagePort.idl
r89148 r89781 49 49 void addEventListener(in DOMString type, 50 50 in EventListener listener, 51 in boolean useCapture);51 in [Optional] boolean useCapture); 52 52 void removeEventListener(in DOMString type, 53 53 in EventListener listener, 54 in boolean useCapture);54 in [Optional] boolean useCapture); 55 55 boolean dispatchEvent(in Event evt) 56 56 raises(EventException); -
trunk/Source/WebCore/dom/Node.idl
r89148 r89781 141 141 void addEventListener(in DOMString type, 142 142 in EventListener listener, 143 in boolean useCapture);143 in [Optional] boolean useCapture); 144 144 void removeEventListener(in DOMString type, 145 145 in EventListener listener, 146 in boolean useCapture);146 in [Optional] boolean useCapture); 147 147 boolean dispatchEvent(in Event event) 148 148 raises(EventException); -
trunk/Source/WebCore/loader/appcache/DOMApplicationCache.idl
r89148 r89781 61 61 void addEventListener(in DOMString type, 62 62 in EventListener listener, 63 in boolean useCapture);63 in [Optional] boolean useCapture); 64 64 void removeEventListener(in DOMString type, 65 65 in EventListener listener, 66 in boolean useCapture);66 in [Optional] boolean useCapture); 67 67 boolean dispatchEvent(in Event evt) 68 68 raises(EventException); -
trunk/Source/WebCore/notifications/Notification.idl
r89148 r89781 53 53 void addEventListener(in DOMString type, 54 54 in EventListener listener, 55 in boolean useCapture);55 in [Optional] boolean useCapture); 56 56 void removeEventListener(in DOMString type, 57 57 in EventListener listener, 58 in boolean useCapture);58 in [Optional] boolean useCapture); 59 59 boolean dispatchEvent(in Event evt) 60 60 raises(EventException); -
trunk/Source/WebCore/page/DOMWindow.idl
r89732 r89781 341 341 [Custom] void addEventListener(in DOMString type, 342 342 in EventListener listener, 343 in boolean useCapture);343 in [Optional] boolean useCapture); 344 344 [Custom] void removeEventListener(in DOMString type, 345 345 in EventListener listener, 346 in boolean useCapture);346 in [Optional] boolean useCapture); 347 347 boolean dispatchEvent(in Event evt) 348 348 raises(EventException); -
trunk/Source/WebCore/page/EventSource.idl
r89148 r89781 61 61 void addEventListener(in DOMString type, 62 62 in EventListener listener, 63 in boolean useCapture);63 in [Optional] boolean useCapture); 64 64 void removeEventListener(in DOMString type, 65 65 in EventListener listener, 66 in boolean useCapture);66 in [Optional] boolean useCapture); 67 67 boolean dispatchEvent(in Event evt) 68 68 raises(EventException); -
trunk/Source/WebCore/storage/IDBRequest.idl
r89148 r89781 57 57 void addEventListener(in DOMString type, 58 58 in EventListener listener, 59 in boolean useCapture);59 in [Optional] boolean useCapture); 60 60 void removeEventListener(in DOMString type, 61 61 in EventListener listener, 62 in boolean useCapture);62 in [Optional] boolean useCapture); 63 63 boolean dispatchEvent(in Event evt) 64 64 raises(EventException); -
trunk/Source/WebCore/storage/IDBTransaction.idl
r89148 r89781 52 52 void addEventListener(in DOMString type, 53 53 in EventListener listener, 54 in boolean useCapture);54 in [Optional] boolean useCapture); 55 55 void removeEventListener(in DOMString type, 56 56 in EventListener listener, 57 in boolean useCapture);57 in [Optional] boolean useCapture); 58 58 boolean dispatchEvent(in Event evt) 59 59 raises(EventException); -
trunk/Source/WebCore/svg/SVGElementInstance.idl
r89148 r89781 91 91 void addEventListener(in DOMString type, 92 92 in EventListener listener, 93 in boolean useCapture);93 in [Optional] boolean useCapture); 94 94 void removeEventListener(in DOMString type, 95 95 in EventListener listener, 96 in boolean useCapture);96 in [Optional] boolean useCapture); 97 97 boolean dispatchEvent(in Event event) 98 98 raises(EventException); -
trunk/Source/WebCore/websockets/WebSocket.idl
r89148 r89781 66 66 void addEventListener(in DOMString type, 67 67 in EventListener listener, 68 in boolean useCapture);68 in [Optional] boolean useCapture); 69 69 void removeEventListener(in DOMString type, 70 70 in EventListener listener, 71 in boolean useCapture);71 in [Optional] boolean useCapture); 72 72 boolean dispatchEvent(in Event evt) 73 73 raises(EventException); -
trunk/Source/WebCore/workers/AbstractWorker.idl
r89148 r89781 44 44 void addEventListener(in DOMString type, 45 45 in EventListener listener, 46 in boolean useCapture);46 in [Optional] boolean useCapture); 47 47 void removeEventListener(in DOMString type, 48 48 in EventListener listener, 49 in boolean useCapture);49 in [Optional] boolean useCapture); 50 50 boolean dispatchEvent(in Event evt) 51 51 raises(EventException); -
trunk/Source/WebCore/workers/WorkerContext.idl
r89148 r89781 70 70 void addEventListener(in DOMString type, 71 71 in EventListener listener, 72 in boolean useCapture);72 in [Optional] boolean useCapture); 73 73 void removeEventListener(in DOMString type, 74 74 in EventListener listener, 75 in boolean useCapture);75 in [Optional] boolean useCapture); 76 76 boolean dispatchEvent(in Event evt) 77 77 raises(EventException); -
trunk/Source/WebCore/xml/XMLHttpRequest.idl
r89148 r89781 115 115 void addEventListener(in DOMString type, 116 116 in EventListener listener, 117 in boolean useCapture);117 in [Optional] boolean useCapture); 118 118 void removeEventListener(in DOMString type, 119 119 in EventListener listener, 120 in boolean useCapture);120 in [Optional] boolean useCapture); 121 121 boolean dispatchEvent(in Event evt) 122 122 raises(EventException); -
trunk/Source/WebCore/xml/XMLHttpRequestUpload.idl
r89148 r89781 46 46 void addEventListener(in DOMString type, 47 47 in EventListener listener, 48 in boolean useCapture);48 in [Optional] boolean useCapture); 49 49 void removeEventListener(in DOMString type, 50 50 in EventListener listener, 51 in boolean useCapture);51 in [Optional] boolean useCapture); 52 52 boolean dispatchEvent(in Event evt) 53 53 raises(EventException);
Note: See TracChangeset
for help on using the changeset viewer.