Title: [94355] trunk
Revision
94355
Author
[email protected]
Date
2011-09-01 15:48:46 -0700 (Thu, 01 Sep 2011)

Log Message

Add missing Event constructors to DOMWindow.idl
https://bugs.webkit.org/show_bug.cgi?id=67449

Reviewed by Anders Carlsson.

Source/WebCore: 

Covered by existing tests.

* page/DOMWindow.idl:

LayoutTests: 

* platform/mac/fast/dom/Window/window-properties-expected.txt:
* platform/mac/fast/dom/Window/window-property-descriptors-expected.txt:
* platform/mac/fast/dom/prototype-inheritance-expected.txt:
* platform/mac/fast/js/global-constructors-expected.txt:
Update results for new constructors.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (94354 => 94355)


--- trunk/LayoutTests/ChangeLog	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/LayoutTests/ChangeLog	2011-09-01 22:48:46 UTC (rev 94355)
@@ -1,3 +1,16 @@
+2011-09-01  Sam Weinig  <[email protected]>
+
+        Add missing Event constructors to DOMWindow.idl
+        https://bugs.webkit.org/show_bug.cgi?id=67449
+
+        Reviewed by Anders Carlsson.
+
+        * platform/mac/fast/dom/Window/window-properties-expected.txt:
+        * platform/mac/fast/dom/Window/window-property-descriptors-expected.txt:
+        * platform/mac/fast/dom/prototype-inheritance-expected.txt:
+        * platform/mac/fast/js/global-constructors-expected.txt:
+        Update results for new constructors.
+
 2011-09-01  Dan Bernstein  <[email protected]>
 
         <rdar://problem/9528843> STIX glyphs not rendered on this stackoverflow answer

Modified: trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt (94354 => 94355)


--- trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt	2011-09-01 22:48:46 UTC (rev 94355)
@@ -151,6 +151,32 @@
 window.BeforeLoadEvent.prototype.preventDefault [function]
 window.BeforeLoadEvent.prototype.stopImmediatePropagation [function]
 window.BeforeLoadEvent.prototype.stopPropagation [function]
+window.BeforeProcessEvent [object BeforeProcessEventConstructor]
+window.BeforeProcessEvent.prototype [object BeforeProcessEventPrototype]
+window.BeforeProcessEvent.prototype.AT_TARGET [number]
+window.BeforeProcessEvent.prototype.BLUR [number]
+window.BeforeProcessEvent.prototype.BUBBLING_PHASE [number]
+window.BeforeProcessEvent.prototype.CAPTURING_PHASE [number]
+window.BeforeProcessEvent.prototype.CHANGE [number]
+window.BeforeProcessEvent.prototype.CLICK [number]
+window.BeforeProcessEvent.prototype.DBLCLICK [number]
+window.BeforeProcessEvent.prototype.DRAGDROP [number]
+window.BeforeProcessEvent.prototype.FOCUS [number]
+window.BeforeProcessEvent.prototype.KEYDOWN [number]
+window.BeforeProcessEvent.prototype.KEYPRESS [number]
+window.BeforeProcessEvent.prototype.KEYUP [number]
+window.BeforeProcessEvent.prototype.MOUSEDOWN [number]
+window.BeforeProcessEvent.prototype.MOUSEDRAG [number]
+window.BeforeProcessEvent.prototype.MOUSEMOVE [number]
+window.BeforeProcessEvent.prototype.MOUSEOUT [number]
+window.BeforeProcessEvent.prototype.MOUSEOVER [number]
+window.BeforeProcessEvent.prototype.MOUSEUP [number]
+window.BeforeProcessEvent.prototype.SELECT [number]
+window.BeforeProcessEvent.prototype.initBeforeProcessEvent [function]
+window.BeforeProcessEvent.prototype.initEvent [function]
+window.BeforeProcessEvent.prototype.preventDefault [function]
+window.BeforeProcessEvent.prototype.stopImmediatePropagation [function]
+window.BeforeProcessEvent.prototype.stopPropagation [function]
 window.Blob [object BlobConstructor]
 window.Blob.prototype [object BlobPrototype]
 window.Boolean [function]
@@ -507,6 +533,33 @@
 window.CloseEvent.prototype.stopPropagation [function]
 window.Comment [object CommentConstructor]
 window.Comment.prototype [printed above as window.CharacterData.prototype]
+window.CompositionEvent [object CompositionEventConstructor]
+window.CompositionEvent.prototype [object CompositionEventPrototype]
+window.CompositionEvent.prototype.AT_TARGET [number]
+window.CompositionEvent.prototype.BLUR [number]
+window.CompositionEvent.prototype.BUBBLING_PHASE [number]
+window.CompositionEvent.prototype.CAPTURING_PHASE [number]
+window.CompositionEvent.prototype.CHANGE [number]
+window.CompositionEvent.prototype.CLICK [number]
+window.CompositionEvent.prototype.DBLCLICK [number]
+window.CompositionEvent.prototype.DRAGDROP [number]
+window.CompositionEvent.prototype.FOCUS [number]
+window.CompositionEvent.prototype.KEYDOWN [number]
+window.CompositionEvent.prototype.KEYPRESS [number]
+window.CompositionEvent.prototype.KEYUP [number]
+window.CompositionEvent.prototype.MOUSEDOWN [number]
+window.CompositionEvent.prototype.MOUSEDRAG [number]
+window.CompositionEvent.prototype.MOUSEMOVE [number]
+window.CompositionEvent.prototype.MOUSEOUT [number]
+window.CompositionEvent.prototype.MOUSEOVER [number]
+window.CompositionEvent.prototype.MOUSEUP [number]
+window.CompositionEvent.prototype.SELECT [number]
+window.CompositionEvent.prototype.initCompositionEvent [function]
+window.CompositionEvent.prototype.initEvent [function]
+window.CompositionEvent.prototype.initUIEvent [function]
+window.CompositionEvent.prototype.preventDefault [function]
+window.CompositionEvent.prototype.stopImmediatePropagation [function]
+window.CompositionEvent.prototype.stopPropagation [function]
 window.Counter [object CounterConstructor]
 window.Counter.prototype [object CounterPrototype]
 window.CustomEvent [object CustomEventConstructor]
@@ -921,6 +974,32 @@
 window.EntityReference.prototype.removeEventListener [function]
 window.EntityReference.prototype.replaceChild [function]
 window.Error [function]
+window.ErrorEvent [object ErrorEventConstructor]
+window.ErrorEvent.prototype [object ErrorEventPrototype]
+window.ErrorEvent.prototype.AT_TARGET [number]
+window.ErrorEvent.prototype.BLUR [number]
+window.ErrorEvent.prototype.BUBBLING_PHASE [number]
+window.ErrorEvent.prototype.CAPTURING_PHASE [number]
+window.ErrorEvent.prototype.CHANGE [number]
+window.ErrorEvent.prototype.CLICK [number]
+window.ErrorEvent.prototype.DBLCLICK [number]
+window.ErrorEvent.prototype.DRAGDROP [number]
+window.ErrorEvent.prototype.FOCUS [number]
+window.ErrorEvent.prototype.KEYDOWN [number]
+window.ErrorEvent.prototype.KEYPRESS [number]
+window.ErrorEvent.prototype.KEYUP [number]
+window.ErrorEvent.prototype.MOUSEDOWN [number]
+window.ErrorEvent.prototype.MOUSEDRAG [number]
+window.ErrorEvent.prototype.MOUSEMOVE [number]
+window.ErrorEvent.prototype.MOUSEOUT [number]
+window.ErrorEvent.prototype.MOUSEOVER [number]
+window.ErrorEvent.prototype.MOUSEUP [number]
+window.ErrorEvent.prototype.SELECT [number]
+window.ErrorEvent.prototype.initErrorEvent [function]
+window.ErrorEvent.prototype.initEvent [function]
+window.ErrorEvent.prototype.preventDefault [function]
+window.ErrorEvent.prototype.stopImmediatePropagation [function]
+window.ErrorEvent.prototype.stopPropagation [function]
 window.EvalError [function]
 window.Event [object EventConstructor]
 window.Event.AT_TARGET [number]
@@ -1353,6 +1432,8 @@
 window.PluginArray.prototype.item [function]
 window.PluginArray.prototype.namedItem [function]
 window.PluginArray.prototype.refresh [function]
+window.PopStateEvent [object PopStateEventConstructor]
+window.PopStateEvent.prototype [printed above as window.Event.prototype]
 window.ProcessingInstruction [object ProcessingInstructionConstructor]
 window.ProcessingInstruction.prototype [printed above as window.Node.prototype]
 window.ProgressEvent [object ProgressEventConstructor]
@@ -2039,6 +2120,8 @@
 window.UIEvent [object UIEventConstructor]
 window.UIEvent.prototype [printed above as window.Event.prototype]
 window.URIError [function]
+window.WebGLContextEvent [object WebGLContextEventConstructor]
+window.WebGLContextEvent.prototype [printed above as window.Event.prototype]
 window.WebKitAnimationEvent [object WebKitAnimationEventConstructor]
 window.WebKitAnimationEvent.prototype [printed above as window.Event.prototype]
 window.WebKitCSSKeyframeRule [object WebKitCSSKeyframeRuleConstructor]
@@ -2142,6 +2225,8 @@
 window.XMLHttpRequestException.prototype.ABORT_ERR [number]
 window.XMLHttpRequestException.prototype.NETWORK_ERR [number]
 window.XMLHttpRequestException.prototype.toString [function]
+window.XMLHttpRequestProgressEvent [object XMLHttpRequestProgressEventConstructor]
+window.XMLHttpRequestProgressEvent.prototype [printed above as window.Event.prototype]
 window.XMLHttpRequestUpload [object XMLHttpRequestUploadConstructor]
 window.XMLHttpRequestUpload.prototype [object XMLHttpRequestUploadPrototype]
 window.XMLHttpRequestUpload.prototype.addEventListener [function]

Modified: trunk/LayoutTests/platform/mac/fast/dom/Window/window-property-descriptors-expected.txt (94354 => 94355)


--- trunk/LayoutTests/platform/mac/fast/dom/Window/window-property-descriptors-expected.txt	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/LayoutTests/platform/mac/fast/dom/Window/window-property-descriptors-expected.txt	2011-09-01 22:48:46 UTC (rev 94355)
@@ -7,6 +7,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Attr') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Audio') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'BeforeLoadEvent') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'BeforeProcessEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Blob') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Boolean') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'CDATASection') is 'object'
@@ -32,6 +33,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Clipboard') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'CloseEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Comment') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'CompositionEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Counter') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'CustomEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMException') is 'object'
@@ -49,6 +51,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Entity') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'EntityReference') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Error') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'ErrorEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'EvalError') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Event') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'EventException') is 'object'
@@ -155,6 +158,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'PageTransitionEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'Plugin') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'PluginArray') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'PopStateEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'ProcessingInstruction') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'ProgressEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'RGBColor') is 'object'
@@ -319,6 +323,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'TypeError') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'UIEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'URIError') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'WebGLContextEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'WebKitAnimationEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'WebKitCSSKeyframeRule') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'WebKitCSSKeyframesRule') is 'object'
@@ -332,6 +337,7 @@
 PASS typeof Object.getOwnPropertyDescriptor(window, 'XMLDocument') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'XMLHttpRequest') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'XMLHttpRequestException') is 'object'
+PASS typeof Object.getOwnPropertyDescriptor(window, 'XMLHttpRequestProgressEvent') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'XMLHttpRequestUpload') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'XMLSerializer') is 'object'
 PASS typeof Object.getOwnPropertyDescriptor(window, 'XPathEvaluator') is 'object'

Modified: trunk/LayoutTests/platform/mac/fast/dom/prototype-inheritance-expected.txt (94354 => 94355)


--- trunk/LayoutTests/platform/mac/fast/dom/prototype-inheritance-expected.txt	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/LayoutTests/platform/mac/fast/dom/prototype-inheritance-expected.txt	2011-09-01 22:48:46 UTC (rev 94355)
@@ -11,6 +11,8 @@
 PASS inner.Audio.constructor.isInner is true
 PASS inner.BeforeLoadEvent.isInner is true
 PASS inner.BeforeLoadEvent.constructor.isInner is true
+PASS inner.BeforeProcessEvent.isInner is true
+PASS inner.BeforeProcessEvent.constructor.isInner is true
 PASS inner.Blob.isInner is true
 PASS inner.Blob.constructor.isInner is true
 PASS inner.Boolean.isInner is true
@@ -61,6 +63,8 @@
 PASS inner.CloseEvent.constructor.isInner is true
 PASS inner.Comment.isInner is true
 PASS inner.Comment.constructor.isInner is true
+PASS inner.CompositionEvent.isInner is true
+PASS inner.CompositionEvent.constructor.isInner is true
 PASS inner.Counter.isInner is true
 PASS inner.Counter.constructor.isInner is true
 PASS inner.CustomEvent.isInner is true
@@ -95,6 +99,8 @@
 PASS inner.EntityReference.constructor.isInner is true
 PASS inner.Error.isInner is true
 PASS inner.Error.constructor.isInner is true
+PASS inner.ErrorEvent.isInner is true
+PASS inner.ErrorEvent.constructor.isInner is true
 PASS inner.EvalError.isInner is true
 PASS inner.EvalError.constructor.isInner is true
 PASS inner.Event.isInner is true
@@ -303,6 +309,8 @@
 PASS inner.Plugin.constructor.isInner is true
 PASS inner.PluginArray.isInner is true
 PASS inner.PluginArray.constructor.isInner is true
+PASS inner.PopStateEvent.isInner is true
+PASS inner.PopStateEvent.constructor.isInner is true
 PASS inner.ProcessingInstruction.isInner is true
 PASS inner.ProcessingInstruction.constructor.isInner is true
 PASS inner.ProgressEvent.isInner is true
@@ -631,6 +639,8 @@
 PASS inner.UIEvent.constructor.isInner is true
 PASS inner.URIError.isInner is true
 PASS inner.URIError.constructor.isInner is true
+PASS inner.WebGLContextEvent.isInner is true
+PASS inner.WebGLContextEvent.constructor.isInner is true
 PASS inner.WebKitAnimationEvent.isInner is true
 PASS inner.WebKitAnimationEvent.constructor.isInner is true
 PASS inner.WebKitCSSKeyframeRule.isInner is true
@@ -657,6 +667,8 @@
 PASS inner.XMLHttpRequest.constructor.isInner is true
 PASS inner.XMLHttpRequestException.isInner is true
 PASS inner.XMLHttpRequestException.constructor.isInner is true
+PASS inner.XMLHttpRequestProgressEvent.isInner is true
+PASS inner.XMLHttpRequestProgressEvent.constructor.isInner is true
 PASS inner.XMLHttpRequestUpload.isInner is true
 PASS inner.XMLHttpRequestUpload.constructor.isInner is true
 PASS inner.XMLSerializer.isInner is true

Modified: trunk/LayoutTests/platform/mac/fast/js/global-constructors-expected.txt (94354 => 94355)


--- trunk/LayoutTests/platform/mac/fast/js/global-constructors-expected.txt	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/LayoutTests/platform/mac/fast/js/global-constructors-expected.txt	2011-09-01 22:48:46 UTC (rev 94355)
@@ -6,6 +6,7 @@
 PASS Attr.toString() is '[object AttrConstructor]'
 PASS Audio.toString() is '[object AudioConstructor]'
 PASS BeforeLoadEvent.toString() is '[object BeforeLoadEventConstructor]'
+PASS BeforeProcessEvent.toString() is '[object BeforeProcessEventConstructor]'
 PASS Blob.toString() is '[object BlobConstructor]'
 PASS CDATASection.toString() is '[object CDATASectionConstructor]'
 PASS CSSCharsetRule.toString() is '[object CSSCharsetRuleConstructor]'
@@ -30,6 +31,7 @@
 PASS Clipboard.toString() is '[object ClipboardConstructor]'
 PASS CloseEvent.toString() is '[object CloseEventConstructor]'
 PASS Comment.toString() is '[object CommentConstructor]'
+PASS CompositionEvent.toString() is '[object CompositionEventConstructor]'
 PASS Counter.toString() is '[object CounterConstructor]'
 PASS CustomEvent.toString() is '[object CustomEventConstructor]'
 PASS DOMException.toString() is '[object DOMExceptionConstructor]'
@@ -45,6 +47,7 @@
 PASS Element.toString() is '[object ElementConstructor]'
 PASS Entity.toString() is '[object EntityConstructor]'
 PASS EntityReference.toString() is '[object EntityReferenceConstructor]'
+PASS ErrorEvent.toString() is '[object ErrorEventConstructor]'
 PASS Event.toString() is '[object EventConstructor]'
 PASS EventException.toString() is '[object EventExceptionConstructor]'
 PASS EventSource.toString() is '[object EventSourceConstructor]'
@@ -143,6 +146,7 @@
 PASS PageTransitionEvent.toString() is '[object PageTransitionEventConstructor]'
 PASS Plugin.toString() is '[object PluginConstructor]'
 PASS PluginArray.toString() is '[object PluginArrayConstructor]'
+PASS PopStateEvent.toString() is '[object PopStateEventConstructor]'
 PASS ProcessingInstruction.toString() is '[object ProcessingInstructionConstructor]'
 PASS ProgressEvent.toString() is '[object ProgressEventConstructor]'
 PASS RGBColor.toString() is '[object RGBColorConstructor]'
@@ -300,6 +304,7 @@
 PASS TextMetrics.toString() is '[object TextMetricsConstructor]'
 PASS TimeRanges.toString() is '[object TimeRangesConstructor]'
 PASS UIEvent.toString() is '[object UIEventConstructor]'
+PASS WebGLContextEvent.toString() is '[object WebGLContextEventConstructor]'
 PASS WebKitAnimationEvent.toString() is '[object WebKitAnimationEventConstructor]'
 PASS WebKitCSSKeyframeRule.toString() is '[object WebKitCSSKeyframeRuleConstructor]'
 PASS WebKitCSSKeyframesRule.toString() is '[object WebKitCSSKeyframesRuleConstructor]'
@@ -313,6 +318,7 @@
 PASS XMLDocument.toString() is '[object DocumentConstructor]'
 PASS XMLHttpRequest.toString() is '[object XMLHttpRequestConstructor]'
 PASS XMLHttpRequestException.toString() is '[object XMLHttpRequestExceptionConstructor]'
+PASS XMLHttpRequestProgressEvent.toString() is '[object XMLHttpRequestProgressEventConstructor]'
 PASS XMLHttpRequestUpload.toString() is '[object XMLHttpRequestUploadConstructor]'
 PASS XMLSerializer.toString() is '[object XMLSerializerConstructor]'
 PASS XPathEvaluator.toString() is '[object XPathEvaluatorConstructor]'

Modified: trunk/Source/WebCore/ChangeLog (94354 => 94355)


--- trunk/Source/WebCore/ChangeLog	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/Source/WebCore/ChangeLog	2011-09-01 22:48:46 UTC (rev 94355)
@@ -1,3 +1,14 @@
+2011-09-01  Sam Weinig  <[email protected]>
+
+        Add missing Event constructors to DOMWindow.idl
+        https://bugs.webkit.org/show_bug.cgi?id=67449
+
+        Reviewed by Anders Carlsson.
+
+        Covered by existing tests.
+
+        * page/DOMWindow.idl:
+
 2011-09-01  Patrick Gansterer  <[email protected]>
 
         Consider Conditional attribute in CodeGenerator for methods

Modified: trunk/Source/WebCore/page/DOMWindow.idl (94354 => 94355)


--- trunk/Source/WebCore/page/DOMWindow.idl	2011-09-01 22:42:20 UTC (rev 94354)
+++ trunk/Source/WebCore/page/DOMWindow.idl	2011-09-01 22:48:46 UTC (rev 94355)
@@ -334,9 +334,7 @@
         attribute [Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchend;
         attribute [Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchcancel;
 
-        attribute [Conditional=DEVICE_ORIENTATION,EnabledAtRuntime] DeviceMotionEventConstructor DeviceMotionEvent;
         attribute [Conditional=DEVICE_ORIENTATION,EnabledAtRuntime] EventListener ondevicemotion;
-        attribute [Conditional=DEVICE_ORIENTATION,EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent;
         attribute [Conditional=DEVICE_ORIENTATION,EnabledAtRuntime] EventListener ondeviceorientation;
 
         attribute [Conditional=MEDIA_STREAM,EnabledAtRuntime] PeerConnectionConstructor PeerConnection;
@@ -518,23 +516,40 @@
         attribute [JSCCustomGetter,Conditional=WEB_AUDIO,EnabledAtRuntime] AudioContextConstructor webkitAudioContext; // Usable with new operator
         attribute [Conditional=WEB_AUDIO] AudioPannerNodeConstructor webkitAudioPannerNode; // Needed for panning model constants
 
-        attribute EventConstructor Event;
-        attribute CustomEventConstructor CustomEvent;
-
+        // Event Constructors
+        attribute EventConstructor Event; // Usable with new operator 
         attribute BeforeLoadEventConstructor BeforeLoadEvent;
+        attribute BeforeProcessEventConstructor BeforeProcessEvent;
+        attribute CompositionEventConstructor CompositionEvent;
+        attribute CustomEventConstructor CustomEvent; // Usable with new operator
+        attribute ErrorEventConstructor ErrorEvent;
         attribute HashChangeEventConstructor HashChangeEvent;
         attribute KeyboardEventConstructor KeyboardEvent;
+        attribute MessageEventConstructor MessageEvent;
         attribute MouseEventConstructor MouseEvent;
         attribute MutationEventConstructor MutationEvent;
         attribute OverflowEventConstructor OverflowEvent;
         attribute PageTransitionEventConstructor PageTransitionEvent;
+        attribute PopStateEventConstructor PopStateEvent;
         attribute ProgressEventConstructor ProgressEvent;
         attribute TextEventConstructor TextEvent;
         attribute UIEventConstructor UIEvent;
         attribute WebKitAnimationEventConstructor WebKitAnimationEvent;
         attribute WebKitTransitionEventConstructor WebKitTransitionEvent;
         attribute WheelEventConstructor WheelEvent;
-        attribute MessageEventConstructor MessageEvent;
+        attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressEvent;
+        attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] DeviceMotionEventConstructor DeviceMotionEvent;
+        attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent;
+        attribute [Conditional=DOM_STORAGE] StorageEventConstructor StorageEvent;
+        attribute [Conditional=INPUT_SPEECH] SpeechInputEventConstructor SpeechInputEvent;
+        attribute [Conditional=MEDIA_STREAM] MediaStreamEventConstructor MediaStreamEvent;
+        attribute [Conditional=SVG] SVGZoomEventConstructor SVGZoomEvent;
+        attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent;
+        attribute [Conditional=WEBGL] WebGLContextEventConstructor WebGLContextEvent;
+        attribute [Conditional=WEB_AUDIO] AudioProcessingEventConstructor AudioProcessingEvent;
+        attribute [Conditional=WEB_AUDIO] OfflineAudioCompletionEventConstructor OfflineAudioCompletionEvent;
+        attribute [Conditional=WEB_SOCKETS] CloseEventConstructor CloseEvent;
+
         attribute EventExceptionConstructor EventException;
 
         attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule;
@@ -586,7 +601,6 @@
 
 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS
         attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the new operator
-        attribute CloseEventConstructor CloseEvent;
 #endif
 
         attribute DOMPluginConstructor Plugin;
@@ -600,7 +614,6 @@
 
 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
         attribute StorageConstructor Storage;
-        attribute StorageEventConstructor StorageEvent;
 #endif
 
         attribute [CustomGetter, Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructor Audio; // Usable with the new operator
@@ -720,7 +733,6 @@
         attribute SVGUseElementConstructor SVGUseElement;
         attribute SVGViewElementConstructor SVGViewElement;
 //      attribute SVGViewSpecConstructor SVGViewSpec;
-        attribute SVGZoomEventConstructor SVGZoomEvent;
 
 #if defined(ENABLE_SVG_ANIMATION) && ENABLE_SVG_ANIMATION
         attribute SVGAnimateColorElementConstructor SVGAnimateColorElement;
@@ -786,8 +798,6 @@
 
         attribute [Conditional=DATABASE] SQLExceptionConstructor SQLException;
 
-        attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent;
-
         attribute DOMFormDataConstructor FormData;
 
         attribute [Conditional=BLOB|FILE_SYSTEM] FileErrorConstructor FileError;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to