Changeset 107382 in webkit
- Timestamp:
- Feb 10, 2012 1:28:05 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107380 r107382 1 2012-02-10 Kentaro Hara <haraken@chromium.org> 2 3 Remove [ConvertingNullStringTo] from CloseEvent.idl 4 https://bugs.webkit.org/show_bug.cgi?id=78328 5 6 Reviewed by Adam Barth. 7 8 In CloseEvent.idl, [ConvertingNullStringTo] is a typo of [ConvertNullStringTo], 9 (although in bug 78108, [ConvertNullStringTo] was renamed to [TreatReturnedNullStringAs]). 10 11 Anyway, the spec says that "The reason attribute must return the value it was 12 initialized to. When the object is created, this attribute must be initialized to empty string." 13 http://dev.w3.org/html5/websockets/#event-definitions 14 Thus, this patch removes [ConvertingNullStringTo] from CloseEvent.idl. 15 16 Test: fast/events/constructors/close-event-constructor.html 17 18 * websockets/CloseEvent.idl: 19 1 20 2012-02-10 Pavel Feldman <pfeldman@google.com> 2 21 -
trunk/Source/WebCore/websockets/CloseEvent.idl
r106737 r107382 37 37 readonly attribute [InitializedByEventConstructor] boolean wasClean; 38 38 readonly attribute [InitializedByEventConstructor] unsigned short code; 39 readonly attribute [InitializedByEventConstructor , ConvertingNullStringTo=Undefined] DOMString reason;39 readonly attribute [InitializedByEventConstructor] DOMString reason; 40 40 }; 41 41
Note: See TracChangeset
for help on using the changeset viewer.