Changeset 102558 in webkit
- Timestamp:
- Dec 11, 2011 11:01:29 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r102557 r102558 1 2011-12-11 Kentaro Hara <haraken@chromium.org> 2 3 Use [Supplemental] IDL in WebSocket 4 https://bugs.webkit.org/show_bug.cgi?id=74160 5 6 Reviewed by Adam Barth. 7 8 By using the [Supplemental] IDL, this patch moves declarations of WebSocket 9 attributes from DOMWindow.idl to websocket/DOMWindowWebSocket.idl, 10 which helps make WebSocket a self-contained module. 11 12 No new tests, no change in behavior. 13 Confirm that http/tests/websocket/* pass. 14 15 * WebCore.gypi: Added DOMWindowWebSocket.idl. 16 * page/DOMWindow.idl: Added the [Supplemented] IDL to WebSocket-related attributes. This [Supplemented] IDL will be removed after all platforms support the [Supplemental] IDL (See bug 73394 for more details). 17 * websockets/DOMWindowWebSocket.idl: Added. Used the [Supplemental=DOMWindow] IDL. The attributes in this IDL file are treated as if they are described in DOMWindow.idl. 18 1 19 2011-12-11 Luke Macpherson <macpherson@chromium.org> 2 20 -
trunk/Source/WebCore/WebCore.gypi
r102556 r102558 1507 1507 'webaudio/WaveShaperNode.idl', 1508 1508 'websockets/CloseEvent.idl', 1509 'websockets/DOMWindowWebSocket.idl', 1509 1510 'websockets/WebSocket.idl', 1510 1511 'workers/AbstractWorker.idl', -
trunk/Source/WebCore/page/DOMWindow.idl
r102556 r102558 551 551 attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent; 552 552 attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent; 553 attribute [ Conditional=WEB_SOCKETS] CloseEventConstructor CloseEvent;553 attribute [Supplemented, Conditional=WEB_SOCKETS] CloseEventConstructor CloseEvent; 554 554 attribute StorageEventConstructor StorageEvent; 555 555 attribute [Supplemented, Conditional=WEB_AUDIO] AudioProcessingEventConstructor AudioProcessingEvent; … … 607 607 608 608 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS 609 attribute [ JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator609 attribute [Supplemented, JSCCustomGetter, EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator 610 610 #endif 611 611
Note: See TracChangeset
for help on using the changeset viewer.