Title: [196568] trunk/Source/WebCore
Revision
196568
Author
[email protected]
Date
2016-02-14 20:43:54 -0800 (Sun, 14 Feb 2016)

Log Message

Drop the [EventTarget] WebKit-specific IDL extended attribute
https://bugs.webkit.org/show_bug.cgi?id=154171

Reviewed by Sam Weinig.

Drop the [EventTarget] WebKit-specific IDL extended attribute now that
all interfaces inherit EventTarget when they should.

No new tests, no Web-Exposed behavior change.

* Modules/battery/BatteryManager.idl:
* Modules/encryptedmedia/MediaKeySession.idl:
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.idl:
* Modules/mediasession/MediaRemoteControls.idl:
* Modules/mediasource/MediaSource.idl:
* Modules/mediasource/SourceBuffer.idl:
* Modules/mediasource/SourceBufferList.idl:
* Modules/mediastream/MediaStream.idl:
* Modules/mediastream/MediaStreamTrack.idl:
* Modules/mediastream/RTCDTMFSender.idl:
* Modules/mediastream/RTCDataChannel.idl:
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/notifications/Notification.idl:
* Modules/speech/SpeechSynthesisUtterance.idl:
* Modules/webaudio/AudioContext.idl:
* Modules/webaudio/AudioNode.idl:
* Modules/webaudio/OfflineAudioContext.idl:
* Modules/websockets/WebSocket.idl:
* bindings/scripts/CodeGeneratorGObject.pm:
(ImplementsInterface):
(SkipFunction): Deleted.
(GenerateCFile): Deleted.
* bindings/scripts/CodeGeneratorJS.pm:
(InstanceNeedsVisitChildren):
(GenerateImplementation):
* bindings/scripts/IDLAttributes.txt:
* bindings/scripts/test/TestEventTarget.idl:
* bindings/scripts/test/TestNode.idl:
* css/FontLoader.idl:
* dom/EventTarget.idl:
* dom/MessagePort.idl:
* dom/Node.idl:
* dom/WebKitNamedFlow.idl:
* fileapi/FileReader.idl:
* html/MediaController.idl:
* html/track/AudioTrackList.idl:
* html/track/TextTrack.idl:
* html/track/TextTrackCue.idl:
* html/track/TextTrackList.idl:
* html/track/VideoTrackList.idl:
* loader/appcache/DOMApplicationCache.idl:
* page/DOMWindow.idl:
* page/EventSource.idl:
* page/Performance.idl:
* workers/WorkerGlobalScope.idl:
* xml/XMLHttpRequest.idl:
* xml/XMLHttpRequestUpload.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (196567 => 196568)


--- trunk/Source/WebCore/ChangeLog	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/ChangeLog	2016-02-15 04:43:54 UTC (rev 196568)
@@ -1,5 +1,68 @@
 2016-02-14  Chris Dumez  <[email protected]>
 
+        Drop the [EventTarget] WebKit-specific IDL extended attribute
+        https://bugs.webkit.org/show_bug.cgi?id=154171
+
+        Reviewed by Sam Weinig.
+
+        Drop the [EventTarget] WebKit-specific IDL extended attribute now that
+        all interfaces inherit EventTarget when they should.
+
+        No new tests, no Web-Exposed behavior change.
+
+        * Modules/battery/BatteryManager.idl:
+        * Modules/encryptedmedia/MediaKeySession.idl:
+        * Modules/indexeddb/IDBDatabase.idl:
+        * Modules/indexeddb/IDBOpenDBRequest.idl:
+        * Modules/indexeddb/IDBRequest.idl:
+        * Modules/indexeddb/IDBTransaction.idl:
+        * Modules/mediasession/MediaRemoteControls.idl:
+        * Modules/mediasource/MediaSource.idl:
+        * Modules/mediasource/SourceBuffer.idl:
+        * Modules/mediasource/SourceBufferList.idl:
+        * Modules/mediastream/MediaStream.idl:
+        * Modules/mediastream/MediaStreamTrack.idl:
+        * Modules/mediastream/RTCDTMFSender.idl:
+        * Modules/mediastream/RTCDataChannel.idl:
+        * Modules/mediastream/RTCPeerConnection.idl:
+        * Modules/notifications/Notification.idl:
+        * Modules/speech/SpeechSynthesisUtterance.idl:
+        * Modules/webaudio/AudioContext.idl:
+        * Modules/webaudio/AudioNode.idl:
+        * Modules/webaudio/OfflineAudioContext.idl:
+        * Modules/websockets/WebSocket.idl:
+        * bindings/scripts/CodeGeneratorGObject.pm:
+        (ImplementsInterface):
+        (SkipFunction): Deleted.
+        (GenerateCFile): Deleted.
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (InstanceNeedsVisitChildren):
+        (GenerateImplementation):
+        * bindings/scripts/IDLAttributes.txt:
+        * bindings/scripts/test/TestEventTarget.idl:
+        * bindings/scripts/test/TestNode.idl:
+        * css/FontLoader.idl:
+        * dom/EventTarget.idl:
+        * dom/MessagePort.idl:
+        * dom/Node.idl:
+        * dom/WebKitNamedFlow.idl:
+        * fileapi/FileReader.idl:
+        * html/MediaController.idl:
+        * html/track/AudioTrackList.idl:
+        * html/track/TextTrack.idl:
+        * html/track/TextTrackCue.idl:
+        * html/track/TextTrackList.idl:
+        * html/track/VideoTrackList.idl:
+        * loader/appcache/DOMApplicationCache.idl:
+        * page/DOMWindow.idl:
+        * page/EventSource.idl:
+        * page/Performance.idl:
+        * workers/WorkerGlobalScope.idl:
+        * xml/XMLHttpRequest.idl:
+        * xml/XMLHttpRequestUpload.idl:
+
+2016-02-14  Chris Dumez  <[email protected]>
+
         Unreviewed attempt to fix the Mac CMake build after r196136
 
         * PlatformMac.cmake:

Modified: trunk/Source/WebCore/Modules/battery/BatteryManager.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/battery/BatteryManager.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/battery/BatteryManager.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -22,7 +22,6 @@
     NoInterfaceObject,
     Conditional=BATTERY_STATUS,
     ActiveDOMObject,
-    EventTarget,
 ] interface BatteryManager : EventTarget {
     readonly attribute boolean charging;
     readonly attribute unrestricted double chargingTime;

Modified: trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -25,7 +25,6 @@
 
 [
     Conditional=ENCRYPTED_MEDIA_V2,
-    EventTarget,
     InterfaceName=WebKitMediaKeySession,
     ActiveDOMObject,
 ] interface MediaKeySession : EventTarget {

Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget,
     EnabledAtRuntime=IndexedDB,
     SkipVTableValidation,
 ] interface IDBDatabase : EventTarget {

Modified: trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -25,7 +25,6 @@
 
 [
     Conditional=INDEXED_DATABASE,
-    EventTarget,
     JSGenerateToJSObject,
     JSGenerateToNativeObject,
     EnabledAtRuntime=IndexedDB,

Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -31,7 +31,6 @@
     Conditional=INDEXED_DATABASE,
     EnabledAtRuntime=IndexedDB,
     ActiveDOMObject,
-    EventTarget,
     SkipVTableValidation,
     GenerateIsReachable=Impl,
 ] interface IDBRequest : EventTarget {

Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
 [
     Conditional=INDEXED_DATABASE,
     ActiveDOMObject,
-    EventTarget,
     EnabledAtRuntime=IndexedDB,
     SkipVTableValidation,
 ] interface IDBTransaction : EventTarget {

Modified: trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
     Conditional=MEDIA_SESSION,
     Constructor,
     ConstructorCallWith=ScriptExecutionContext,
-    EventTarget,
 ] interface MediaRemoteControls : EventTarget {
     attribute boolean previousTrackEnabled;
     attribute boolean nextTrackEnabled;

Modified: trunk/Source/WebCore/Modules/mediasource/MediaSource.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediasource/MediaSource.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediasource/MediaSource.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -36,7 +36,6 @@
 [
     Conditional=MEDIA_SOURCE,
     ActiveDOMObject,
-    EventTarget,
     EnabledBySetting=MediaSource,
     Constructor,
     ConstructorCallWith=ScriptExecutionContext,

Modified: trunk/Source/WebCore/Modules/mediasource/SourceBuffer.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediasource/SourceBuffer.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediasource/SourceBuffer.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -37,7 +37,6 @@
     Conditional=MEDIA_SOURCE,
     NoInterfaceObject,
     ActiveDOMObject,
-    EventTarget,
 ] interface SourceBuffer : EventTarget {
 
     [SetterRaisesException] attribute AppendMode mode;

Modified: trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediasource/SourceBufferList.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -31,7 +31,6 @@
 [
     Conditional=MEDIA_SOURCE,
     NoInterfaceObject,
-    EventTarget,
     GenerateIsReachable=Impl,
     CallWith=ScriptExecutionContext,
 ] interface SourceBufferList : EventTarget {

Modified: trunk/Source/WebCore/Modules/mediastream/MediaStream.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediastream/MediaStream.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStream.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -24,7 +24,6 @@
 
 [
     Conditional=MEDIA_STREAM,
-    EventTarget,
     Constructor,
     Constructor(MediaStream stream),
     Constructor(MediaStreamTrack[] tracks),

Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
 
 [
     Conditional=MEDIA_STREAM,
-    EventTarget,
     ActiveDOMObject,
     SkipVTableValidation,
 ] interface MediaStreamTrack : EventTarget {

Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
     NoInterfaceObject,
     Conditional=MEDIA_STREAM,
     ActiveDOMObject,
-    EventTarget,
 ] interface RTCDTMFSender : EventTarget {
     readonly attribute boolean canInsertDTMF;
     readonly attribute MediaStreamTrack track;

Modified: trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -25,7 +25,6 @@
 [
     NoInterfaceObject,
     Conditional=MEDIA_STREAM,
-    EventTarget,
 ] interface RTCDataChannel : EventTarget {
     readonly attribute DOMString label;
     readonly attribute boolean ordered;

Modified: trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -36,7 +36,6 @@
     CustomConstructor(Dictionary rtcConfiguration),
     ConstructorCallWith=ScriptExecutionContext,
     ConstructorRaisesException,
-    EventTarget,
     InterfaceName=webkitRTCPeerConnection,
 ] interface RTCPeerConnection : EventTarget {
 

Modified: trunk/Source/WebCore/Modules/notifications/Notification.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/notifications/Notification.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/notifications/Notification.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -32,7 +32,6 @@
 [
     Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS,
     ActiveDOMObject,
-    EventTarget,
 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
     Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
     ConstructorCallWith=Document,

Modified: trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -25,7 +25,6 @@
  
 [
     Conditional=SPEECH_SYNTHESIS,
-    EventTarget,
     ConstructorCallWith=ScriptExecutionContext,
     Constructor([Default=NullString] optional DOMString text)
 ] interface SpeechSynthesisUtterance : EventTarget {

Modified: trunk/Source/WebCore/Modules/webaudio/AudioContext.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/webaudio/AudioContext.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/webaudio/AudioContext.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -35,7 +35,6 @@
     Conditional=WEB_AUDIO,
     ActiveDOMObject,
     CustomConstructor,
-    EventTarget,
     InterfaceName=webkitAudioContext,
 ] interface AudioContext : EventTarget {
     // All rendered audio ultimately connects to destination, which represents the audio hardware.

Modified: trunk/Source/WebCore/Modules/webaudio/AudioNode.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/webaudio/AudioNode.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/webaudio/AudioNode.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -25,7 +25,6 @@
 [
     Conditional=WEB_AUDIO,
     GenerateIsReachable=Impl,
-    EventTarget,
 ] interface AudioNode : EventTarget {
     readonly attribute AudioContext context;
     readonly attribute unsigned long numberOfInputs;

Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioContext.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioContext.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioContext.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -24,7 +24,6 @@
 
 [
     Conditional=WEB_AUDIO,
-    EventTarget,
     JSGenerateToJSObject,
     Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, unrestricted float sampleRate),
     ConstructorRaisesException,

Modified: trunk/Source/WebCore/Modules/websockets/WebSocket.idl (196567 => 196568)


--- trunk/Source/WebCore/Modules/websockets/WebSocket.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/Modules/websockets/WebSocket.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -38,7 +38,6 @@
     Constructor(DOMString url, DOMString protocol),
     ConstructorRaisesException,
     ConstructorCallWith=ScriptExecutionContext,
-    EventTarget,
 ] interface WebSocket : EventTarget {
     readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
     readonly attribute DOMString url;

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (196567 => 196568)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm	2016-02-15 04:43:54 UTC (rev 196568)
@@ -335,12 +335,6 @@
         return 1;
     }
 
-    # Skip dispatch_event methods.
-    # FIXME: This can be removed once all classes implementing EventTarget inherit from it instead.
-    if ($parentNode->extendedAttributes->{"EventTarget"} && $function->signature->name eq "dispatchEvent") {
-        return 1;
-    }
-
     # Skip Console::profile() and Console::profileEnd() as they're not correctly generated for the moment.
     if ($functionName eq "webkit_dom_console_profile" || $functionName eq "webkit_dom_console_profile_end") {
         return 1;
@@ -1505,10 +1499,7 @@
     my $interface = shift;
     my $implementInterface = shift;
 
-    # FIXME: Check only the parent class once all classes implementing EventTarget inherit from it instead.
-    return 1 if $interface->parent and $interface->parent eq implementInterface and ShouldBeExposedAsInterface($interface->parent);
-    return 1 if $interface->extendedAttributes->{$implementInterface};
-    return 0;
+    return $codeGenerator->InheritsInterface($interface, $implementInterface);
 }
 
 sub GenerateCFile {

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (196567 => 196568)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm	2016-02-15 04:43:54 UTC (rev 196568)
@@ -811,7 +811,7 @@
 {
     my $interface = shift;
     return $interface->extendedAttributes->{"JSCustomMarkFunction"}
-        || $interface->extendedAttributes->{"EventTarget"}
+        || $codeGenerator->InheritsInterface($interface, "EventTarget")
         || $interface->name eq "EventTarget"
         || $interface->extendedAttributes->{"ReportExtraMemoryCost"}
         || IsJSBuiltinConstructor($interface)
@@ -1761,7 +1761,7 @@
     my $hasParent = $hasLegacyParent || $hasRealParent;
     my $parentClassName = GetParentClassName($interface);
     my $visibleInterfaceName = $codeGenerator->GetVisibleInterfaceName($interface);
-    my $eventTarget = $interface->extendedAttributes->{"EventTarget"} || ($codeGenerator->InheritsInterface($interface, "EventTarget") && $interface->name ne "EventTarget");
+    my $eventTarget = $codeGenerator->InheritsInterface($interface, "EventTarget") && $interface->name ne "EventTarget";
     my $needsVisitChildren = InstanceNeedsVisitChildren($interface);
 
     my $namedGetterFunction = GetNamedGetterFunction($interface);
@@ -2996,7 +2996,7 @@
         push(@implContent, "    auto* thisObject = jsCast<${className}*>(cell);\n");
         push(@implContent, "    ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
         push(@implContent, "    Base::visitChildren(thisObject, visitor);\n");
-        if ($interface->extendedAttributes->{"EventTarget"} || $interface->name eq "EventTarget") {
+        if ($codeGenerator->InheritsInterface($interface, "EventTarget")) {
             push(@implContent, "    thisObject->wrapped().visitJSEventListeners(visitor);\n");
         }
         push(@implContent, "    thisObject->visitAdditionalChildren(visitor);\n") if $interface->extendedAttributes->{"JSCustomMarkFunction"};
@@ -3046,7 +3046,7 @@
             push(@implContent, "    if (js${interfaceName}->wrapped().hasPendingActivity())\n");
             push(@implContent, "        return true;\n");
         }
-        if ($codeGenerator->InheritsExtendedAttribute($interface, "EventTarget")) {
+        if ($codeGenerator->InheritsInterface($interface, "EventTarget")) {
             if (!$emittedJSCast) {
                 push(@implContent, "    auto* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
                 $emittedJSCast = 1;

Modified: trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt (196567 => 196568)


--- trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt	2016-02-15 04:43:54 UTC (rev 196568)
@@ -61,7 +61,6 @@
 EnabledAtRuntime=*
 EnabledBySetting=*
 EnforceRange
-EventTarget
 ForwardDeclareInHeader
 GenerateIsReachable=|Impl|ImplWebGLRenderingContext|ImplDocument|ImplElementRoot|ImplFrame|ImplOwnerNodeRoot
 GetterRaisesException

Modified: trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl (196567 => 196568)


--- trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/bindings/scripts/test/TestEventTarget.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
  */
 
 [
-    EventTarget,
     MasqueradesAsUndefined
 ] interface TestEventTarget : EventTarget {
 

Modified: trunk/Source/WebCore/bindings/scripts/test/TestNode.idl (196567 => 196568)


--- trunk/Source/WebCore/bindings/scripts/test/TestNode.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/bindings/scripts/test/TestNode.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -19,7 +19,6 @@
  */
 
 [
-    EventTarget,
     Constructor,
 ] interface TestNode : Node {
     attribute DOMString name;

Modified: trunk/Source/WebCore/css/FontLoader.idl (196567 => 196568)


--- trunk/Source/WebCore/css/FontLoader.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/css/FontLoader.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -32,7 +32,6 @@
     NoInterfaceObject,
     Conditional=FONT_LOAD_EVENTS,
     ActiveDOMObject,
-    EventTarget,
     GenerateIsReachable=ImplDocument,
 ] interface FontLoader : EventTarget {
 

Modified: trunk/Source/WebCore/dom/EventTarget.idl (196567 => 196568)


--- trunk/Source/WebCore/dom/EventTarget.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/dom/EventTarget.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -24,7 +24,6 @@
     CPPPureInterface,
     CustomToJSObject,
     JSCustomToNativeObject,
-    EventTarget,
     JSCustomHeader,
 ] interface EventTarget {
     [ObjCLegacyUnnamedParameters] void addEventListener(DOMString type, EventListener listener, optional boolean useCapture);

Modified: trunk/Source/WebCore/dom/MessagePort.idl (196567 => 196568)


--- trunk/Source/WebCore/dom/MessagePort.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/dom/MessagePort.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -29,7 +29,6 @@
     JSCustomMarkFunction,
     GenerateIsReachable=Impl,
     ActiveDOMObject,
-    EventTarget,
 ] interface MessagePort : EventTarget {
 // We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
 // but we don't want to actually expose the API while it is in flux.

Modified: trunk/Source/WebCore/dom/Node.idl (196567 => 196568)


--- trunk/Source/WebCore/dom/Node.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/dom/Node.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -24,7 +24,6 @@
     JSCustomPushEventHandlerScope,
     CustomIsReachable,
     CustomToJSObject,
-    EventTarget,
     ObjCPolymorphic,
 ] interface Node
 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C

Modified: trunk/Source/WebCore/dom/WebKitNamedFlow.idl (196567 => 196568)


--- trunk/Source/WebCore/dom/WebKitNamedFlow.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/dom/WebKitNamedFlow.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -29,7 +29,6 @@
 
 [
     NoInterfaceObject,
-    EventTarget,
     GenerateIsReachable=ImplOwnerNodeRoot,
 ] interface WebKitNamedFlow : EventTarget
 {

Modified: trunk/Source/WebCore/fileapi/FileReader.idl (196567 => 196568)


--- trunk/Source/WebCore/fileapi/FileReader.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/fileapi/FileReader.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -34,7 +34,6 @@
     ActiveDOMObject,
     Constructor,
     ConstructorCallWith=ScriptExecutionContext,
-    EventTarget,
 ] interface FileReader : EventTarget {
     // ready states
     const unsigned short EMPTY = 0;

Modified: trunk/Source/WebCore/html/MediaController.idl (196567 => 196568)


--- trunk/Source/WebCore/html/MediaController.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/html/MediaController.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
     Conditional=VIDEO,
     Constructor,
     ConstructorCallWith=ScriptExecutionContext,
-    EventTarget,
 ] interface MediaController : EventTarget {
     readonly attribute TimeRanges buffered;
     readonly attribute TimeRanges seekable;

Modified: trunk/Source/WebCore/html/track/AudioTrackList.idl (196567 => 196568)


--- trunk/Source/WebCore/html/track/AudioTrackList.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/html/track/AudioTrackList.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
     NoInterfaceObject,
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
-    EventTarget,
     JSCustomMarkFunction,
 ] interface AudioTrackList : EventTarget {
     readonly attribute unsigned long length;

Modified: trunk/Source/WebCore/html/track/TextTrack.idl (196567 => 196568)


--- trunk/Source/WebCore/html/track/TextTrack.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/html/track/TextTrack.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -28,7 +28,6 @@
 
 [
     Conditional=VIDEO_TRACK,
-    EventTarget,
     GenerateIsReachable=ImplElementRoot,
     JSCustomMarkFunction,
     SkipVTableValidation,

Modified: trunk/Source/WebCore/html/track/TextTrackCue.idl (196567 => 196568)


--- trunk/Source/WebCore/html/track/TextTrackCue.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/html/track/TextTrackCue.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
     Conditional=VIDEO_TRACK,
     Constructor(unrestricted double startTime, unrestricted double endTime, DOMString text),
     ConstructorCallWith=ScriptExecutionContext,
-    EventTarget,
     JSCustomMarkFunction,
     CustomIsReachable,
     CustomToJSObject,

Modified: trunk/Source/WebCore/html/track/TextTrackList.idl (196567 => 196568)


--- trunk/Source/WebCore/html/track/TextTrackList.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/html/track/TextTrackList.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -26,7 +26,6 @@
 [
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
-    EventTarget,
     JSCustomMarkFunction,
 ] interface TextTrackList : EventTarget {
     readonly attribute unsigned long length;

Modified: trunk/Source/WebCore/html/track/VideoTrackList.idl (196567 => 196568)


--- trunk/Source/WebCore/html/track/VideoTrackList.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/html/track/VideoTrackList.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -27,7 +27,6 @@
     NoInterfaceObject,
     Conditional=VIDEO_TRACK,
     GenerateIsReachable=ImplElementRoot,
-    EventTarget,
     JSCustomMarkFunction,
 ] interface VideoTrackList : EventTarget {
     readonly attribute unsigned long length;

Modified: trunk/Source/WebCore/loader/appcache/DOMApplicationCache.idl (196567 => 196568)


--- trunk/Source/WebCore/loader/appcache/DOMApplicationCache.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/loader/appcache/DOMApplicationCache.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -24,7 +24,6 @@
  */
  
 [
-    EventTarget,
     DoNotCheckConstants,
     GenerateIsReachable=ImplFrame,
     InterfaceName=ApplicationCache,

Modified: trunk/Source/WebCore/page/DOMWindow.idl (196567 => 196568)


--- trunk/Source/WebCore/page/DOMWindow.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/page/DOMWindow.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -35,7 +35,6 @@
     JSCustomMarkFunction,
     JSCustomToNativeObject,
     CustomPutFunction,
-    EventTarget,
     JSLegacyParent=JSDOMWindowBase,
     InterfaceName=Window,
 ] interface DOMWindow : EventTarget {

Modified: trunk/Source/WebCore/page/EventSource.idl (196567 => 196568)


--- trunk/Source/WebCore/page/EventSource.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/page/EventSource.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -35,7 +35,6 @@
     Constructor(DOMString url, optional Dictionary eventSourceInit),
     ConstructorCallWith=ScriptExecutionContext,
     ConstructorRaisesException,
-    EventTarget,
 ] interface EventSource : EventTarget {
 
     readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.

Modified: trunk/Source/WebCore/page/Performance.idl (196567 => 196568)


--- trunk/Source/WebCore/page/Performance.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/page/Performance.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -32,7 +32,6 @@
 // See: https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html
 [
     Conditional=WEB_TIMING,
-    EventTarget,
 ] interface Performance : EventTarget {
     readonly attribute PerformanceNavigation navigation;
     readonly attribute PerformanceTiming timing;

Modified: trunk/Source/WebCore/workers/WorkerGlobalScope.idl (196567 => 196568)


--- trunk/Source/WebCore/workers/WorkerGlobalScope.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/workers/WorkerGlobalScope.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -29,7 +29,6 @@
     CustomProxyToJSObject,
     JSCustomMarkFunction,
     JSCustomGetOwnPropertySlotAndDescriptor,
-    EventTarget,
     JSLegacyParent=JSWorkerGlobalScopeBase,
 ] interface WorkerGlobalScope : EventTarget {
 

Modified: trunk/Source/WebCore/xml/XMLHttpRequest.idl (196567 => 196568)


--- trunk/Source/WebCore/xml/XMLHttpRequest.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -41,7 +41,6 @@
     Constructor,
     ConstructorCallWith=ScriptExecutionContext,
     JSCustomMarkFunction,
-    EventTarget,
 ] interface XMLHttpRequest : EventTarget {
     // From XMLHttpRequestEventTarget
     attribute EventHandler onabort;

Modified: trunk/Source/WebCore/xml/XMLHttpRequestUpload.idl (196567 => 196568)


--- trunk/Source/WebCore/xml/XMLHttpRequestUpload.idl	2016-02-15 03:53:09 UTC (rev 196567)
+++ trunk/Source/WebCore/xml/XMLHttpRequestUpload.idl	2016-02-15 04:43:54 UTC (rev 196568)
@@ -28,7 +28,6 @@
 
 [
     GenerateIsReachable=Impl,
-    EventTarget,
 ] interface XMLHttpRequestUpload : EventTarget {
     // From XMLHttpRequestEventTarget
     attribute EventHandler onabort;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to