Title: [287925] trunk
Revision
287925
Author
grao...@webkit.org
Date
2022-01-12 08:51:10 -0800 (Wed, 12 Jan 2022)

Log Message

Remove WebKitTransitionEvent and WebKitAnimationEvent
https://bugs.webkit.org/show_bug.cgi?id=235113

Reviewed by Dean Jackson.

LayoutTests/imported/w3c:

Mark WPT progressions.

* web-platform-tests/css/css-animations/historical-expected.txt:
* web-platform-tests/css/css-transitions/historical-expected.txt:

Source/WebCore:

Remove all files related to these interfaces and fix some missing header includes
revealed by a change in unified sources.

* CMakeLists.txt:
* DerivedSources-input.xcfilelist:
* DerivedSources-output.xcfilelist:
* DerivedSources.make:
* Sources.txt:
* WebCore.xcodeproj/project.pbxproj:
* dom/EventNames.in:
* dom/EventTarget.cpp:
* dom/WebKitAnimationEvent.cpp: Removed.
* dom/WebKitAnimationEvent.h: Removed.
* dom/WebKitAnimationEvent.idl: Removed.
* dom/WebKitTransitionEvent.cpp: Removed.
* dom/WebKitTransitionEvent.h: Removed.
* dom/WebKitTransitionEvent.idl: Removed.
* dom/mac/ImageControlsMac.cpp:
* dom/mac/ImageControlsMac.h:

LayoutTests:

Remove some tests specific to those two interfaces.

* animations/animation-events-create-expected.txt: Removed.
* animations/animation-events-create.html: Removed.
* fast/events/constructors/webkit-animation-event-constructor-expected.txt: Removed.
* fast/events/constructors/webkit-animation-event-constructor.html: Removed.
* fast/events/constructors/webkit-transition-event-constructor-expected.txt: Removed.
* fast/events/constructors/webkit-transition-event-constructor.html: Removed.
* js/dom/constructor-length.html:
* platform/glib/js/dom/constructor-length-expected.txt:
* platform/ios/js/dom/constructor-length-expected.txt:
* platform/mac/js/dom/constructor-length-expected.txt:
* platform/win/TestExpectations:
* platform/win/js/dom/constructor-length-expected.txt:
* platform/wincairo/js/dom/constructor-length-expected.txt:
* transitions/transition-end-event-create-expected.txt: Removed.
* transitions/transition-end-event-create.html: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (287924 => 287925)


--- trunk/LayoutTests/ChangeLog	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/ChangeLog	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,5 +1,30 @@
 2022-01-12  Antoine Quint  <grao...@webkit.org>
 
+        Remove WebKitTransitionEvent and WebKitAnimationEvent
+        https://bugs.webkit.org/show_bug.cgi?id=235113
+
+        Reviewed by Dean Jackson.
+
+        Remove some tests specific to those two interfaces.
+
+        * animations/animation-events-create-expected.txt: Removed.
+        * animations/animation-events-create.html: Removed.
+        * fast/events/constructors/webkit-animation-event-constructor-expected.txt: Removed.
+        * fast/events/constructors/webkit-animation-event-constructor.html: Removed.
+        * fast/events/constructors/webkit-transition-event-constructor-expected.txt: Removed.
+        * fast/events/constructors/webkit-transition-event-constructor.html: Removed.
+        * js/dom/constructor-length.html:
+        * platform/glib/js/dom/constructor-length-expected.txt:
+        * platform/ios/js/dom/constructor-length-expected.txt:
+        * platform/mac/js/dom/constructor-length-expected.txt:
+        * platform/win/TestExpectations:
+        * platform/win/js/dom/constructor-length-expected.txt:
+        * platform/wincairo/js/dom/constructor-length-expected.txt:
+        * transitions/transition-end-event-create-expected.txt: Removed.
+        * transitions/transition-end-event-create.html: Removed.
+
+2022-01-12  Antoine Quint  <grao...@webkit.org>
+
         Update WPT for css/css-animations, css/css-transitions and web-animations
         https://bugs.webkit.org/show_bug.cgi?id=235111
 

Deleted: trunk/LayoutTests/animations/animation-events-create-expected.txt (287924 => 287925)


--- trunk/LayoutTests/animations/animation-events-create-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/animations/animation-events-create-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,21 +0,0 @@
-Test dynamic creation of WebKitAnimationEvent.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS document.createEvent exists
-
-Test creation of WebKitAnimationEvent
-PASS typeof(ev) is 'object'
-PASS ev.animationName is ''
-PASS ev.elapsedTime is 0.0
-
-Create a MouseEvent and make sure it doesn't have the WebKitAnimationEnd event properties
-PASS typeof(ev) is 'object'
-PASS ev.animationName is undefined
-PASS ev.elapsedTime is undefined
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/animations/animation-events-create.html (287924 => 287925)


--- trunk/LayoutTests/animations/animation-events-create.html	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/animations/animation-events-create.html	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-
-description("Test dynamic creation of WebKitAnimationEvent.");
-
-if (document.createEvent)
-    testPassed("document.createEvent exists");
-else
-    testFailed("document.createEvent missing");
-
-debug("");
-debug("Test creation of WebKitAnimationEvent");
-
-var ev = new WebKitAnimationEvent("");
-
-shouldBe("typeof(ev)", "'object'");
-shouldBe("ev.animationName", "''");
-shouldBe("ev.elapsedTime", "0.0");
-
-debug("");
-debug("Create a MouseEvent and make sure it doesn't have the WebKitAnimationEnd event properties");
-
-ev = document.createEvent("MouseEvent");
-
-shouldBe("typeof(ev)", "'object'");
-shouldBe("ev.animationName", "undefined");
-shouldBe("ev.elapsedTime", "undefined");
-
-debug("");
-
-</script>
-<script src=""
-</body>
-</html>

Deleted: trunk/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt (287924 => 287925)


--- trunk/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/fast/events/constructors/webkit-animation-event-constructor-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,52 +0,0 @@
-This tests the constructor for the WebKitAnimationEvent DOM class.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS new WebKitAnimationEvent('eventType').bubbles is false
-PASS new WebKitAnimationEvent('eventType').cancelable is false
-PASS new WebKitAnimationEvent('eventType').animationName is ""
-PASS new WebKitAnimationEvent('eventType').elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { bubbles: false }).bubbles is false
-PASS new WebKitAnimationEvent('eventType', { bubbles: true }).bubbles is true
-PASS new WebKitAnimationEvent('eventType', { cancelable: false }).cancelable is false
-PASS new WebKitAnimationEvent('eventType', { cancelable: true }).cancelable is true
-PASS new WebKitAnimationEvent('eventType', { animationName: 'doremi' }).animationName is "doremi"
-PASS new WebKitAnimationEvent('eventType', { animationName: '' }).animationName is ""
-PASS new WebKitAnimationEvent('eventType', { animationName: undefined }).animationName is ""
-PASS new WebKitAnimationEvent('eventType', { animationName: null }).animationName is "null"
-PASS new WebKitAnimationEvent('eventType', { animationName: false }).animationName is "false"
-PASS new WebKitAnimationEvent('eventType', { animationName: true }).animationName is "true"
-PASS new WebKitAnimationEvent('eventType', { animationName: 12345 }).animationName is "12345"
-PASS new WebKitAnimationEvent('eventType', { animationName: 18446744073709551615 }).animationName is "18446744073709552000"
-PASS new WebKitAnimationEvent('eventType', { animationName: NaN }).animationName is "NaN"
-PASS new WebKitAnimationEvent('eventType', { animationName: [] }).animationName is ""
-PASS new WebKitAnimationEvent('eventType', { animationName: [1, 2, 3] }).animationName is "1,2,3"
-PASS new WebKitAnimationEvent('eventType', { animationName: {doremi: 12345} }).animationName is "[object Object]"
-PASS new WebKitAnimationEvent('eventType', { animationName: {valueOf: function () { return 'doremi'; } } }).animationName is "[object Object]"
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123.45
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -123.45
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: 18446744073709551615 }).elapsedTime is 18446744073709551615
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: undefined }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: null }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: false }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: true }).elapsedTime is 1
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: '' }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: [] }).elapsedTime is 0
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTime is 123.45
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitAnimationEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime is 123.45
-PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).bubbles is true
-PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).cancelable is true
-PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).animationName is 'doremi'
-PASS new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).elapsedTime is 123.45
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/fast/events/constructors/webkit-animation-event-constructor.html (287924 => 287925)


--- trunk/LayoutTests/fast/events/constructors/webkit-animation-event-constructor.html	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/fast/events/constructors/webkit-animation-event-constructor.html	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,74 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<script>
-
-description("This tests the constructor for the WebKitAnimationEvent DOM class.");
-
-// No initializer is passed.
-shouldBe("new WebKitAnimationEvent('eventType').bubbles", "false");
-shouldBe("new WebKitAnimationEvent('eventType').cancelable", "false");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType').animationName", "");
-shouldBe("new WebKitAnimationEvent('eventType').elapsedTime", "0");
-
-// bubbles is passed.
-shouldBe("new WebKitAnimationEvent('eventType', { bubbles: false }).bubbles", "false");
-shouldBe("new WebKitAnimationEvent('eventType', { bubbles: true }).bubbles", "true");
-
-// cancelable is passed.
-shouldBe("new WebKitAnimationEvent('eventType', { cancelable: false }).cancelable", "false");
-shouldBe("new WebKitAnimationEvent('eventType', { cancelable: true }).cancelable", "true");
-
-// animationName is passed.
-// Strings.
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: 'doremi' }).animationName", "doremi");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: '' }).animationName", "");
-
-// Non-strings.
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: undefined }).animationName", "");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: null }).animationName", "null");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: false }).animationName", "false");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: true }).animationName", "true");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: 12345 }).animationName", "12345");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: 18446744073709551615 }).animationName", "18446744073709552000");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: NaN }).animationName", "NaN");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: [] }).animationName", "");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: [1, 2, 3] }).animationName", "1,2,3");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: {doremi: 12345} }).animationName", "[object Object]");
-shouldBeEqualToString("new WebKitAnimationEvent('eventType', { animationName: {valueOf: function () { return 'doremi'; } } }).animationName", "[object Object]");
-
-// elapsedTime is passed.
-// Numeric values.
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: 0 }).elapsedTime", "0");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: 123.45 }).elapsedTime", "123.45");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: -123.45 }).elapsedTime", "-123.45");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: 18446744073709551615 }).elapsedTime", "18446744073709551615");
-shouldThrowErrorName("new WebKitAnimationEvent('eventType', { elapsedTime: NaN }).elapsedTime", "TypeError");
-shouldThrowErrorName("new WebKitAnimationEvent('eventType', { elapsedTime: Infinity }).elapsedTime", "TypeError");
-shouldThrowErrorName("new WebKitAnimationEvent('eventType', { elapsedTime: -Infinity }).elapsedTime", "TypeError");
-
-// Non-numeric values.
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: undefined }).elapsedTime", "0");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: null }).elapsedTime", "0");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: false }).elapsedTime", "0");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: true }).elapsedTime", "1");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: '' }).elapsedTime", "0");
-shouldThrowErrorName("new WebKitAnimationEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime", "TypeError");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: [] }).elapsedTime", "0");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: [123.45] }).elapsedTime", "123.45");
-shouldThrowErrorName("new WebKitAnimationEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime", "TypeError");
-shouldThrowErrorName("new WebKitAnimationEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime", "TypeError");
-shouldBe("new WebKitAnimationEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime", "123.45");
-
-// All initializers are passed.
-shouldBe("new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).bubbles", "true");
-shouldBe("new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).cancelable", "true");
-shouldBe("new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).animationName", "'doremi'");
-shouldBe("new WebKitAnimationEvent('eventType', { bubbles: true, cancelable: true, animationName: 'doremi', elapsedTime: 123.45 }).elapsedTime", "123.45");
-</script>
-<script src=""
-</body>
-</html>

Deleted: trunk/LayoutTests/fast/events/constructors/webkit-transition-event-constructor-expected.txt (287924 => 287925)


--- trunk/LayoutTests/fast/events/constructors/webkit-transition-event-constructor-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/fast/events/constructors/webkit-transition-event-constructor-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,56 +0,0 @@
-This tests the constructor for the WebKitTransitionEvent DOM class.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS new WebKitTransitionEvent('eventType').bubbles is false
-PASS new WebKitTransitionEvent('eventType').cancelable is false
-PASS new WebKitTransitionEvent('eventType').propertyName is ""
-PASS new WebKitTransitionEvent('eventType').elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType').pseudoElement is ""
-PASS new WebKitTransitionEvent('eventType', { bubbles: false }).bubbles is false
-PASS new WebKitTransitionEvent('eventType', { bubbles: true }).bubbles is true
-PASS new WebKitTransitionEvent('eventType', { cancelable: false }).cancelable is false
-PASS new WebKitTransitionEvent('eventType', { cancelable: true }).cancelable is true
-PASS new WebKitTransitionEvent('eventType', { propertyName: 'doremi' }).propertyName is "doremi"
-PASS new WebKitTransitionEvent('eventType', { propertyName: '' }).propertyName is ""
-PASS new WebKitTransitionEvent('eventType', { propertyName: undefined }).propertyName is ""
-PASS new WebKitTransitionEvent('eventType', { propertyName: null }).propertyName is "null"
-PASS new WebKitTransitionEvent('eventType', { propertyName: false }).propertyName is "false"
-PASS new WebKitTransitionEvent('eventType', { propertyName: true }).propertyName is "true"
-PASS new WebKitTransitionEvent('eventType', { propertyName: 12345 }).propertyName is "12345"
-PASS new WebKitTransitionEvent('eventType', { propertyName: 18446744073709551615 }).propertyName is "18446744073709552000"
-PASS new WebKitTransitionEvent('eventType', { propertyName: NaN }).propertyName is "NaN"
-PASS new WebKitTransitionEvent('eventType', { propertyName: [] }).propertyName is ""
-PASS new WebKitTransitionEvent('eventType', { propertyName: [1, 2, 3] }).propertyName is "1,2,3"
-PASS new WebKitTransitionEvent('eventType', { propertyName: {doremi: 12345} }).propertyName is "[object Object]"
-PASS new WebKitTransitionEvent('eventType', { propertyName: {valueOf: function () { return 'doremi'; } } }).propertyName is "[object Object]"
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: 0 }).elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: 123.45 }).elapsedTime is 123.45
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: -123.45 }).elapsedTime is -123.45
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: 18446744073709551615 }).elapsedTime is 18446744073709551615
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: NaN }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: Infinity }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: -Infinity }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitTransitionEvent('eventType', { pseudoElement: '::before' }).pseudoElement is "::before"
-PASS new WebKitTransitionEvent('eventType', { pseudoElement: '' }).pseudoElement is ""
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: undefined }).elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: null }).elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: false }).elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: true }).elapsedTime is 1
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: '' }).elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: [] }).elapsedTime is 0
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: [123.45] }).elapsedTime is 123.45
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime threw exception TypeError: The provided value is non-finite.
-PASS new WebKitTransitionEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime is 123.45
-PASS new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).bubbles is true
-PASS new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).cancelable is true
-PASS new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).propertyName is 'doremi'
-PASS new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).elapsedTime is 123.45
-PASS new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).pseudoElement is '::after'
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/fast/events/constructors/webkit-transition-event-constructor.html (287924 => 287925)


--- trunk/LayoutTests/fast/events/constructors/webkit-transition-event-constructor.html	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/fast/events/constructors/webkit-transition-event-constructor.html	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,81 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<script>
-
-description("This tests the constructor for the WebKitTransitionEvent DOM class.");
-
-// No initializer is passed.
-shouldBe("new WebKitTransitionEvent('eventType').bubbles", "false");
-shouldBe("new WebKitTransitionEvent('eventType').cancelable", "false");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType').propertyName", "");
-shouldBe("new WebKitTransitionEvent('eventType').elapsedTime", "0");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType').pseudoElement", "");
-
-// bubbles is passed.
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: false }).bubbles", "false");
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: true }).bubbles", "true");
-
-// cancelable is passed.
-shouldBe("new WebKitTransitionEvent('eventType', { cancelable: false }).cancelable", "false");
-shouldBe("new WebKitTransitionEvent('eventType', { cancelable: true }).cancelable", "true");
-
-// propertyName is passed.
-// Strings.
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: 'doremi' }).propertyName", "doremi");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: '' }).propertyName", "");
-
-// Non-strings.
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: undefined }).propertyName", "");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: null }).propertyName", "null");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: false }).propertyName", "false");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: true }).propertyName", "true");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: 12345 }).propertyName", "12345");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: 18446744073709551615 }).propertyName", "18446744073709552000");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: NaN }).propertyName", "NaN");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: [] }).propertyName", "");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: [1, 2, 3] }).propertyName", "1,2,3");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: {doremi: 12345} }).propertyName", "[object Object]");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { propertyName: {valueOf: function () { return 'doremi'; } } }).propertyName", "[object Object]");
-
-// elapsedTime is passed.
-// Numeric values.
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: 0 }).elapsedTime", "0");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: 123.45 }).elapsedTime", "123.45");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: -123.45 }).elapsedTime", "-123.45");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: 18446744073709551615 }).elapsedTime", "18446744073709551615");
-shouldThrowErrorName("new WebKitTransitionEvent('eventType', { elapsedTime: NaN }).elapsedTime", "TypeError");
-shouldThrowErrorName("new WebKitTransitionEvent('eventType', { elapsedTime: Infinity }).elapsedTime", "TypeError");
-shouldThrowErrorName("new WebKitTransitionEvent('eventType', { elapsedTime: -Infinity }).elapsedTime", "TypeError");
-
-// pseudoElement is passed.
-// Strings.
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { pseudoElement: '::before' }).pseudoElement", "::before");
-shouldBeEqualToString("new WebKitTransitionEvent('eventType', { pseudoElement: '' }).pseudoElement", "");
-
-// Non-numeric values.
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: undefined }).elapsedTime", "0");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: null }).elapsedTime", "0");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: false }).elapsedTime", "0");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: true }).elapsedTime", "1");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: '' }).elapsedTime", "0");
-shouldThrowErrorName("new WebKitTransitionEvent('eventType', { elapsedTime: 'doremi' }).elapsedTime", "TypeError");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: [] }).elapsedTime", "0");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: [123.45] }).elapsedTime", "123.45");
-shouldThrowErrorName("new WebKitTransitionEvent('eventType', { elapsedTime: [123.45, 678.90] }).elapsedTime", "TypeError");
-shouldThrowErrorName("new WebKitTransitionEvent('eventType', { elapsedTime: {doremi: 123.45} }).elapsedTime", "TypeError");
-shouldBe("new WebKitTransitionEvent('eventType', { elapsedTime: {valueOf: function () { return 123.45 } } }).elapsedTime", "123.45");
-
-// All initializers are passed.
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).bubbles", "true");
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).cancelable", "true");
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).propertyName", "'doremi'");
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).elapsedTime", "123.45");
-shouldBe("new WebKitTransitionEvent('eventType', { bubbles: true, cancelable: true, propertyName: 'doremi', elapsedTime: 123.45, pseudoElement: '::after' }).pseudoElement", "'::after'");
-</script>
-<script src=""
-</body>
-</html>

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (287924 => 287925)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,5 +1,17 @@
 2022-01-12  Antoine Quint  <grao...@webkit.org>
 
+        Remove WebKitTransitionEvent and WebKitAnimationEvent
+        https://bugs.webkit.org/show_bug.cgi?id=235113
+
+        Reviewed by Dean Jackson.
+
+        Mark WPT progressions.
+
+        * web-platform-tests/css/css-animations/historical-expected.txt:
+        * web-platform-tests/css/css-transitions/historical-expected.txt:
+
+2022-01-12  Antoine Quint  <grao...@webkit.org>
+
         Update WPT for css/css-animations, css/css-transitions and web-animations
         https://bugs.webkit.org/show_bug.cgi?id=235111
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/historical-expected.txt (287924 => 287925)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/historical-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/historical-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,5 +1,3 @@
 
-FAIL Historical CSS features must be removed: WebKitAnimationEvent assert_equals: expected (undefined) undefined but got (function) function "function WebKitAnimationEvent() {
-    [native code]
-}"
+PASS Historical CSS features must be removed: WebKitAnimationEvent
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/historical-expected.txt (287924 => 287925)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/historical-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/historical-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,5 +1,3 @@
 
-FAIL Historical CSS features must be removed: WebKitTransitionEvent assert_equals: expected (undefined) undefined but got (function) function "function WebKitTransitionEvent() {
-    [native code]
-}"
+PASS Historical CSS features must be removed: WebKitTransitionEvent
 

Modified: trunk/LayoutTests/js/dom/constructor-length.html (287924 => 287925)


--- trunk/LayoutTests/js/dom/constructor-length.html	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/js/dom/constructor-length.html	2022-01-12 16:51:10 UTC (rev 287925)
@@ -48,11 +48,9 @@
 shouldBe('Uint8ClampedArray.length', '3');
 shouldBe('VTTCue.length', '3');
 shouldBe('WebGLContextEvent.length', '1');
-shouldBe('WebKitAnimationEvent.length', '1');
 shouldBe('WebKitCSSMatrix.length', '0');
 shouldBe('WebKitMutationObserver.length', '1');
 shouldBe('WebKitPoint.length', '0');
-shouldBe('WebKitTransitionEvent.length', '1');
 shouldBe('WebSocket.length', '1');
 shouldBe('Worker.length', '1');
 shouldBe('URL.length', '1');

Modified: trunk/LayoutTests/platform/glib/js/dom/constructor-length-expected.txt (287924 => 287925)


--- trunk/LayoutTests/platform/glib/js/dom/constructor-length-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/platform/glib/js/dom/constructor-length-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -44,11 +44,9 @@
 PASS Uint8ClampedArray.length is 3
 PASS VTTCue.length is 3
 PASS WebGLContextEvent.length is 1
-PASS WebKitAnimationEvent.length is 1
 PASS WebKitCSSMatrix.length is 0
 PASS WebKitMutationObserver.length is 1
 PASS WebKitPoint.length is 0
-PASS WebKitTransitionEvent.length is 1
 PASS WebSocket.length is 1
 PASS Worker.length is 1
 PASS URL.length is 1

Modified: trunk/LayoutTests/platform/ios/js/dom/constructor-length-expected.txt (287924 => 287925)


--- trunk/LayoutTests/platform/ios/js/dom/constructor-length-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/platform/ios/js/dom/constructor-length-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -44,11 +44,9 @@
 PASS Uint8ClampedArray.length is 3
 PASS VTTCue.length is 3
 PASS WebGLContextEvent.length is 1
-PASS WebKitAnimationEvent.length is 1
 PASS WebKitCSSMatrix.length is 0
 PASS WebKitMutationObserver.length is 1
 PASS WebKitPoint.length is 0
-PASS WebKitTransitionEvent.length is 1
 PASS WebSocket.length is 1
 PASS Worker.length is 1
 PASS URL.length is 1

Modified: trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt (287924 => 287925)


--- trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/platform/mac/js/dom/constructor-length-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -44,11 +44,9 @@
 PASS Uint8ClampedArray.length is 3
 PASS VTTCue.length is 3
 PASS WebGLContextEvent.length is 1
-PASS WebKitAnimationEvent.length is 1
 PASS WebKitCSSMatrix.length is 0
 PASS WebKitMutationObserver.length is 1
 PASS WebKitPoint.length is 0
-PASS WebKitTransitionEvent.length is 1
 PASS WebSocket.length is 1
 PASS Worker.length is 1
 PASS URL.length is 1

Modified: trunk/LayoutTests/platform/win/TestExpectations (287924 => 287925)


--- trunk/LayoutTests/platform/win/TestExpectations	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/platform/win/TestExpectations	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1769,7 +1769,6 @@
 [ Debug ] animations/animation-direction-reverse-fill-mode.html [ Skip ] # Debug assertion
 [ Debug ] animations/animation-matrix-negative-scale-unmatrix.html [ Skip ] # Debug assertion
 [ Debug ] animations/added-while-suspended.html [ Skip ] # Debug assertion
-[ Debug ] animations/animation-events-create.html [ Skip ] # Debug assertion
 [ Debug ] animations/animation-end-event-short-iterations.html [ Skip ] # Debug assertion
 [ Debug ] animations/animation-shorthand-overriding.html [ Skip ] # Debug assertion
 [ Debug ] animations/animation-direction-reverse-hardware-opacity.html [ Skip ] # Debug assertion

Modified: trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt (287924 => 287925)


--- trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/platform/win/js/dom/constructor-length-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -44,11 +44,9 @@
 PASS Uint8ClampedArray.length is 3
 PASS VTTCue.length is 3
 FAIL WebGLContextEvent.length should be 1. Threw exception ReferenceError: Can't find variable: WebGLContextEvent
-PASS WebKitAnimationEvent.length is 1
 PASS WebKitCSSMatrix.length is 0
 PASS WebKitMutationObserver.length is 1
 PASS WebKitPoint.length is 0
-PASS WebKitTransitionEvent.length is 1
 PASS WebSocket.length is 1
 PASS Worker.length is 1
 PASS URL.length is 1

Modified: trunk/LayoutTests/platform/wincairo/js/dom/constructor-length-expected.txt (287924 => 287925)


--- trunk/LayoutTests/platform/wincairo/js/dom/constructor-length-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/platform/wincairo/js/dom/constructor-length-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -44,11 +44,9 @@
 PASS Uint8ClampedArray.length is 3
 PASS VTTCue.length is 3
 PASS WebGLContextEvent.length is 1
-PASS WebKitAnimationEvent.length is 1
 PASS WebKitCSSMatrix.length is 0
 PASS WebKitMutationObserver.length is 1
 PASS WebKitPoint.length is 0
-PASS WebKitTransitionEvent.length is 1
 PASS WebSocket.length is 1
 PASS Worker.length is 1
 PASS URL.length is 1

Deleted: trunk/LayoutTests/transitions/transition-end-event-create-expected.txt (287924 => 287925)


--- trunk/LayoutTests/transitions/transition-end-event-create-expected.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/transitions/transition-end-event-create-expected.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,21 +0,0 @@
-Test dynamic creation of WebKitTransitionEnd event.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS document.createEvent exists
-
-Test creation of WebKitTransitionEvent
-PASS typeof(ev) is 'object'
-PASS ev.propertyName is ''
-PASS ev.elapsedTime is 0.0
-
-Create a MouseEvent and make sure it doesn't have the WebKitTransitionEnd event properties
-PASS typeof(ev) is 'object'
-PASS ev.propertyName is undefined
-PASS ev.elapsedTime is undefined
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/transitions/transition-end-event-create.html (287924 => 287925)


--- trunk/LayoutTests/transitions/transition-end-event-create.html	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/LayoutTests/transitions/transition-end-event-create.html	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-
-description("Test dynamic creation of WebKitTransitionEnd event.");
-
-if (document.createEvent)
-    testPassed("document.createEvent exists");
-else
-    testFailed("document.createEvent missing");
-
-debug("");
-debug("Test creation of WebKitTransitionEvent");
-
-var ev = new WebKitTransitionEvent("");
-
-shouldBe("typeof(ev)", "'object'");
-shouldBe("ev.propertyName", "''");
-shouldBe("ev.elapsedTime", "0.0");
-
-debug("");
-debug("Create a MouseEvent and make sure it doesn't have the WebKitTransitionEnd event properties");
-
-ev = document.createEvent("MouseEvent");
-
-shouldBe("typeof(ev)", "'object'");
-shouldBe("ev.propertyName", "undefined");
-shouldBe("ev.elapsedTime", "undefined");
-
-debug("");
-
-</script>
-<script src=""
-</body>
-</html>

Modified: trunk/Source/WebCore/CMakeLists.txt (287924 => 287925)


--- trunk/Source/WebCore/CMakeLists.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/CMakeLists.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -968,8 +968,6 @@
     dom/UIEvent.idl
     dom/UIEventInit.idl
     dom/VisibilityState.idl
-    dom/WebKitAnimationEvent.idl
-    dom/WebKitTransitionEvent.idl
     dom/WheelEvent.idl
     dom/XMLDocument.idl
 

Modified: trunk/Source/WebCore/ChangeLog (287924 => 287925)


--- trunk/Source/WebCore/ChangeLog	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/ChangeLog	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,3 +1,30 @@
+2022-01-12  Antoine Quint  <grao...@webkit.org>
+
+        Remove WebKitTransitionEvent and WebKitAnimationEvent
+        https://bugs.webkit.org/show_bug.cgi?id=235113
+
+        Reviewed by Dean Jackson.
+
+        Remove all files related to these interfaces and fix some missing header includes
+        revealed by a change in unified sources.
+
+        * CMakeLists.txt:
+        * DerivedSources-input.xcfilelist:
+        * DerivedSources-output.xcfilelist:
+        * DerivedSources.make:
+        * Sources.txt:
+        * WebCore.xcodeproj/project.pbxproj:
+        * dom/EventNames.in:
+        * dom/EventTarget.cpp:
+        * dom/WebKitAnimationEvent.cpp: Removed.
+        * dom/WebKitAnimationEvent.h: Removed.
+        * dom/WebKitAnimationEvent.idl: Removed.
+        * dom/WebKitTransitionEvent.cpp: Removed.
+        * dom/WebKitTransitionEvent.h: Removed.
+        * dom/WebKitTransitionEvent.idl: Removed.
+        * dom/mac/ImageControlsMac.cpp:
+        * dom/mac/ImageControlsMac.h:
+
 2022-01-12  Chris Lord  <cl...@igalia.com>
 
         [WPE] Fix building WebXR with ANGLE enabled

Modified: trunk/Source/WebCore/DerivedSources-input.xcfilelist (287924 => 287925)


--- trunk/Source/WebCore/DerivedSources-input.xcfilelist	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/DerivedSources-input.xcfilelist	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1121,8 +1121,6 @@
 $(PROJECT_DIR)/dom/UIEvent.idl
 $(PROJECT_DIR)/dom/UIEventInit.idl
 $(PROJECT_DIR)/dom/VisibilityState.idl
-$(PROJECT_DIR)/dom/WebKitAnimationEvent.idl
-$(PROJECT_DIR)/dom/WebKitTransitionEvent.idl
 $(PROJECT_DIR)/dom/WheelEvent.idl
 $(PROJECT_DIR)/dom/XMLDocument.idl
 $(PROJECT_DIR)/dom/make_event_factory.pl

Modified: trunk/Source/WebCore/DerivedSources-output.xcfilelist (287924 => 287925)


--- trunk/Source/WebCore/DerivedSources-output.xcfilelist	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/DerivedSources-output.xcfilelist	2022-01-12 16:51:10 UTC (rev 287925)
@@ -2729,8 +2729,6 @@
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObject.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObjectOES.cpp
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObjectOES.h
-$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAnimationEvent.cpp
-$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAnimationEvent.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyError.cpp
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyError.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyMessageEvent.cpp
@@ -2747,8 +2745,6 @@
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPlaybackTargetAvailabilityEvent.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPoint.cpp
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPoint.h
-$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitTransitionEvent.cpp
-$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitTransitionEvent.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebLock.cpp
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebLock.h
 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebLockGrantedCallback.cpp

Modified: trunk/Source/WebCore/DerivedSources.make (287924 => 287925)


--- trunk/Source/WebCore/DerivedSources.make	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/DerivedSources.make	2022-01-12 16:51:10 UTC (rev 287925)
@@ -970,8 +970,6 @@
     $(WebCore)/dom/UIEvent.idl \
     $(WebCore)/dom/UIEventInit.idl \
     $(WebCore)/dom/VisibilityState.idl \
-    $(WebCore)/dom/WebKitAnimationEvent.idl \
-    $(WebCore)/dom/WebKitTransitionEvent.idl \
     $(WebCore)/dom/WheelEvent.idl \
     $(WebCore)/dom/XMLDocument.idl \
     $(WebCore)/fileapi/Blob.idl \

Modified: trunk/Source/WebCore/Sources.txt (287924 => 287925)


--- trunk/Source/WebCore/Sources.txt	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/Sources.txt	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1066,8 +1066,6 @@
 dom/UserTypingGestureIndicator.cpp
 dom/ViewportArguments.cpp
 dom/VisitedLinkState.cpp
-dom/WebKitAnimationEvent.cpp
-dom/WebKitTransitionEvent.cpp
 dom/WheelEvent.cpp
 dom/WindowEventLoop.cpp
 dom/XMLDocument.cpp
@@ -4015,7 +4013,6 @@
 JSWebGLUniformLocation.cpp
 JSWebGLVertexArrayObject.cpp
 JSWebGLVertexArrayObjectOES.cpp
-JSWebKitAnimationEvent.cpp
 JSWebKitMediaKeyError.cpp
 JSWebKitMediaKeyMessageEvent.cpp
 JSWebKitMediaKeyNeededEvent.cpp
@@ -4024,7 +4021,6 @@
 JSWebKitNamespace.cpp
 JSWebKitPlaybackTargetAvailabilityEvent.cpp
 JSWebKitPoint.cpp
-JSWebKitTransitionEvent.cpp
 JSWebLock.cpp
 JSWebLockGrantedCallback.cpp
 JSWebLockManager.cpp

Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (287924 => 287925)


--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2022-01-12 16:51:10 UTC (rev 287925)
@@ -993,10 +993,6 @@
 		31A089891E738D5A003B6609 /* JSWebGPUTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 31A089501E738D59003B6609 /* JSWebGPUTexture.h */; };
 		31A0898C1E738D5A003B6609 /* JSWebGPUTextureDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 31A089531E738D59003B6609 /* JSWebGPUTextureDescriptor.h */; };
 		31A795C71888BCB200382F90 /* ANGLEInstancedArrays.h in Headers */ = {isa = PBXBuildFile; fileRef = 31A795C21888B72400382F90 /* ANGLEInstancedArrays.h */; };
-		31C0FF220E4CEB6E007D6FE5 /* WebKitAnimationEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 31C0FF1C0E4CEB6E007D6FE5 /* WebKitAnimationEvent.h */; };
-		31C0FF250E4CEB6E007D6FE5 /* WebKitTransitionEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 31C0FF1F0E4CEB6E007D6FE5 /* WebKitTransitionEvent.h */; };
-		31C0FF3E0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 31C0FF3A0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h */; };
-		31C0FF400E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 31C0FF3C0E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.h */; };
 		31D92A9F2707D5DE00AD01D0 /* XRHandJoint.h in Headers */ = {isa = PBXBuildFile; fileRef = 31D92A9C2707D5D000AD01D0 /* XRHandJoint.h */; };
 		31D92AA32707D69600AD01D0 /* WebXRHand.h in Headers */ = {isa = PBXBuildFile; fileRef = 31D92AA12707D68D00AD01D0 /* WebXRHand.h */; };
 		31D92AA72707E95900AD01D0 /* WebXRJointSpace.h in Headers */ = {isa = PBXBuildFile; fileRef = 31D92AA52707E8B300AD01D0 /* WebXRJointSpace.h */; };
@@ -8355,16 +8351,6 @@
 		31A795C31888B72400382F90 /* ANGLEInstancedArrays.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ANGLEInstancedArrays.idl; sourceTree = "<group>"; };
 		31A795C41888BAD100382F90 /* JSANGLEInstancedArrays.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSANGLEInstancedArrays.cpp; sourceTree = "<group>"; };
 		31A795C51888BAD100382F90 /* JSANGLEInstancedArrays.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSANGLEInstancedArrays.h; sourceTree = "<group>"; };
-		31C0FF1B0E4CEB6E007D6FE5 /* WebKitAnimationEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebKitAnimationEvent.cpp; sourceTree = "<group>"; };
-		31C0FF1C0E4CEB6E007D6FE5 /* WebKitAnimationEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitAnimationEvent.h; sourceTree = "<group>"; };
-		31C0FF1D0E4CEB6E007D6FE5 /* WebKitAnimationEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebKitAnimationEvent.idl; sourceTree = "<group>"; };
-		31C0FF1E0E4CEB6E007D6FE5 /* WebKitTransitionEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebKitTransitionEvent.cpp; sourceTree = "<group>"; };
-		31C0FF1F0E4CEB6E007D6FE5 /* WebKitTransitionEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitTransitionEvent.h; sourceTree = "<group>"; };
-		31C0FF200E4CEB6E007D6FE5 /* WebKitTransitionEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebKitTransitionEvent.idl; sourceTree = "<group>"; };
-		31C0FF390E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebKitAnimationEvent.cpp; sourceTree = "<group>"; };
-		31C0FF3A0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebKitAnimationEvent.h; sourceTree = "<group>"; };
-		31C0FF3B0E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebKitTransitionEvent.cpp; sourceTree = "<group>"; };
-		31C0FF3C0E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebKitTransitionEvent.h; sourceTree = "<group>"; };
 		31D26BBD1F86D187008FF255 /* ImageBitmapOptions.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ImageBitmapOptions.idl; sourceTree = "<group>"; };
 		31D26BBF1F86D189008FF255 /* ImageBitmap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageBitmap.h; sourceTree = "<group>"; };
 		31D26BC01F86D18A008FF255 /* ImageBitmapOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageBitmapOptions.h; sourceTree = "<group>"; };
@@ -27766,10 +27752,6 @@
 				A86629C909DA2B47009633A5 /* JSUIEvent.h */,
 				83E045EE1DAA104F00B0D8B9 /* JSUIEventInit.cpp */,
 				83E045EF1DAA104F00B0D8B9 /* JSUIEventInit.h */,
-				31C0FF390E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.cpp */,
-				31C0FF3A0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h */,
-				31C0FF3B0E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.cpp */,
-				31C0FF3C0E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.h */,
 				65DF31F109D1CC60000BE325 /* JSWheelEvent.cpp */,
 				65DF31F209D1CC60000BE325 /* JSWheelEvent.h */,
 			);
@@ -32648,12 +32630,6 @@
 				46CA9C421F97BBE7004CFC3A /* VisibilityState.idl */,
 				419BC2DC1685329900D64D6D /* VisitedLinkState.cpp */,
 				419BC2DD1685329900D64D6D /* VisitedLinkState.h */,
-				31C0FF1B0E4CEB6E007D6FE5 /* WebKitAnimationEvent.cpp */,
-				31C0FF1C0E4CEB6E007D6FE5 /* WebKitAnimationEvent.h */,
-				31C0FF1D0E4CEB6E007D6FE5 /* WebKitAnimationEvent.idl */,
-				31C0FF1E0E4CEB6E007D6FE5 /* WebKitTransitionEvent.cpp */,
-				31C0FF1F0E4CEB6E007D6FE5 /* WebKitTransitionEvent.h */,
-				31C0FF200E4CEB6E007D6FE5 /* WebKitTransitionEvent.idl */,
 				85031B3A0A44EFC700F992E0 /* WheelEvent.cpp */,
 				85031B3B0A44EFC700F992E0 /* WheelEvent.h */,
 				93EEC1F709C2877700C515D1 /* WheelEvent.idl */,
@@ -35842,12 +35818,10 @@
 				387AE95B1E8E92EF0000DE96 /* JSWebGPUSize.h in Headers */,
 				31A089891E738D5A003B6609 /* JSWebGPUTexture.h in Headers */,
 				31A0898C1E738D5A003B6609 /* JSWebGPUTextureDescriptor.h in Headers */,
-				31C0FF3E0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h in Headers */,
 				3F2B33EF165AF15600E3987C /* JSWebKitCSSViewportRule.h in Headers */,
 				7CC69941191EC5F500AF2270 /* JSWebKitNamespace.h in Headers */,
 				0FDA7C271883333200C954B5 /* JSWebKitPlaybackTargetAvailabilityEvent.h in Headers */,
 				494BD79E0F55C94C00747828 /* JSWebKitPoint.h in Headers */,
-				31C0FF400E4CEFAC007D6FE5 /* JSWebKitTransitionEvent.h in Headers */,
 				5DA5E0FD102B953800088CF9 /* JSWebSocket.h in Headers */,
 				65DF320609D1CC60000BE325 /* JSWheelEvent.h in Headers */,
 				BCBFB53D0DCD29CF0019B3E5 /* JSWindowProxy.h in Headers */,
@@ -37846,7 +37820,6 @@
 				A5840E25187B8AC200843B10 /* WebInjectedScriptHost.h in Headers */,
 				A584FE301864CB8400843B10 /* WebInjectedScriptManager.h in Headers */,
 				F48223111E3869B80066FC79 /* WebItemProviderPasteboard.h in Headers */,
-				31C0FF220E4CEB6E007D6FE5 /* WebKitAnimationEvent.h in Headers */,
 				5DFEBAB718592B6D00C75BEB /* WebKitAvailability.h in Headers */,
 				2D0621451DA639BA00A7FB26 /* WebKitMediaKeyMessageEvent.h in Headers */,
 				2D0621511DA63A9F00A7FB26 /* WebKitMediaKeyNeededEvent.h in Headers */,
@@ -37856,7 +37829,6 @@
 				7A22732120C9FAFE00DB1DEF /* WebKitNSImageExtras.h in Headers */,
 				A5DEBDA416FB908700836FE0 /* WebKitPlaybackTargetAvailabilityEvent.h in Headers */,
 				494BD7950F55C8EE00747828 /* WebKitPoint.h in Headers */,
-				31C0FF250E4CEB6E007D6FE5 /* WebKitTransitionEvent.h in Headers */,
 				0FCF332F0F2B9A25004B6795 /* WebLayer.h in Headers */,
 				4644F7FA272A1C250055599E /* WebLock.h in Headers */,
 				4644F7F8272A1C1F0055599E /* WebLockGrantedCallback.h in Headers */,

Modified: trunk/Source/WebCore/dom/EventNames.in (287924 => 287925)


--- trunk/Source/WebCore/dom/EventNames.in	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/EventNames.in	2022-01-12 16:51:10 UTC (rev 287925)
@@ -43,8 +43,6 @@
 TransitionEvent
 UIEvent
 UIEvents interfaceName=UIEvent
-WebKitAnimationEvent
-WebKitTransitionEvent
 WheelEvent
 XMLHttpRequestProgressEvent
 ApplePayCancelEvent conditional=APPLE_PAY

Modified: trunk/Source/WebCore/dom/EventTarget.cpp (287924 => 287925)


--- trunk/Source/WebCore/dom/EventTarget.cpp	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/EventTarget.cpp	2022-01-12 16:51:10 UTC (rev 287925)
@@ -46,8 +46,6 @@
 #include "ScriptController.h"
 #include "ScriptDisallowedScope.h"
 #include "Settings.h"
-#include "WebKitAnimationEvent.h"
-#include "WebKitTransitionEvent.h"
 #include <wtf/IsoMallocInlines.h>
 #include <wtf/MainThread.h>
 #include <wtf/NeverDestroyed.h>

Deleted: trunk/Source/WebCore/dom/WebKitAnimationEvent.cpp (287924 => 287925)


--- trunk/Source/WebCore/dom/WebKitAnimationEvent.cpp	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/WebKitAnimationEvent.cpp	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,73 +0,0 @@
-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#include "config.h"
-#include "WebKitAnimationEvent.h"
-
-#include <wtf/IsoMallocInlines.h>
-
-namespace WebCore {
-
-WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitAnimationEvent);
-
-WebKitAnimationEvent::WebKitAnimationEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
-    : Event(type, initializer, isTrusted)
-    , m_animationName(initializer.animationName)
-    , m_elapsedTime(initializer.elapsedTime)
-    , m_pseudoElement(initializer.pseudoElement)
-{
-}
-
-WebKitAnimationEvent::WebKitAnimationEvent(const AtomString& type, const String& animationName, double elapsedTime, const String& pseudoElement)
-    : Event(type, CanBubble::Yes, IsCancelable::Yes)
-    , m_animationName(animationName)
-    , m_elapsedTime(elapsedTime)
-    , m_pseudoElement(pseudoElement)
-{
-}
-
-WebKitAnimationEvent::~WebKitAnimationEvent() = default;
-
-const String& WebKitAnimationEvent::animationName() const
-{
-    return m_animationName;
-}
-
-double WebKitAnimationEvent::elapsedTime() const
-{
-    return m_elapsedTime;
-}
-
-const String& WebKitAnimationEvent::pseudoElement() const
-{
-    return m_pseudoElement;
-}
-
-EventInterface WebKitAnimationEvent::eventInterface() const
-{
-    return WebKitAnimationEventInterfaceType;
-}
-
-} // namespace WebCore

Deleted: trunk/Source/WebCore/dom/WebKitAnimationEvent.h (287924 => 287925)


--- trunk/Source/WebCore/dom/WebKitAnimationEvent.h	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/WebKitAnimationEvent.h	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,68 +0,0 @@
-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#pragma once
-
-#include "Event.h"
-
-namespace WebCore {
-
-class WebKitAnimationEvent final : public Event {
-    WTF_MAKE_ISO_ALLOCATED(WebKitAnimationEvent);
-public:
-    static Ref<WebKitAnimationEvent> create(const AtomString& type, const String& animationName, double elapsedTime, const String& pseudoElement)
-    {
-        return adoptRef(*new WebKitAnimationEvent(type, animationName, elapsedTime, pseudoElement));
-    }
-
-    struct Init : EventInit {
-        String animationName;
-        double elapsedTime { 0.0 };
-        String pseudoElement;
-    };
-
-    static Ref<WebKitAnimationEvent> create(const AtomString& type, const Init& initializer, IsTrusted isTrusted = IsTrusted::No)
-    {
-        return adoptRef(*new WebKitAnimationEvent(type, initializer, isTrusted));
-    }
-
-    virtual ~WebKitAnimationEvent();
-
-    const String& animationName() const;
-    double elapsedTime() const;
-    const String& pseudoElement() const;
-
-    EventInterface eventInterface() const override;
-
-private:
-    WebKitAnimationEvent(const AtomString& type, const String& animationName, double elapsedTime, const String& pseudoElement);
-    WebKitAnimationEvent(const AtomString&, const Init&, IsTrusted);
-
-    String m_animationName;
-    double m_elapsedTime;
-    String m_pseudoElement;
-};
-
-} // namespace WebCore

Deleted: trunk/Source/WebCore/dom/WebKitAnimationEvent.idl (287924 => 287925)


--- trunk/Source/WebCore/dom/WebKitAnimationEvent.idl	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/WebKitAnimationEvent.idl	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-[
-    Exposed=Window
-] interface WebKitAnimationEvent : Event {
-    constructor(DOMString type, optional WebKitAnimationEventInit eventInitDict);
-
-    readonly attribute DOMString animationName;
-    readonly attribute double elapsedTime;
-    readonly attribute DOMString pseudoElement;
-};
-
-dictionary WebKitAnimationEventInit : EventInit {
-    DOMString animationName = "";
-    double elapsedTime = 0;
-    DOMString pseudoElement = "";
-};

Deleted: trunk/Source/WebCore/dom/WebKitTransitionEvent.cpp (287924 => 287925)


--- trunk/Source/WebCore/dom/WebKitTransitionEvent.cpp	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/WebKitTransitionEvent.cpp	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,73 +0,0 @@
-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#include "config.h"
-#include "WebKitTransitionEvent.h"
-
-#include <wtf/IsoMallocInlines.h>
-
-namespace WebCore {
-
-WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitTransitionEvent);
-
-WebKitTransitionEvent::WebKitTransitionEvent(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
-    : Event(type, CanBubble::Yes, IsCancelable::Yes)
-    , m_propertyName(propertyName)
-    , m_elapsedTime(elapsedTime)
-    , m_pseudoElement(pseudoElement)
-{
-}
-
-WebKitTransitionEvent::WebKitTransitionEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
-    : Event(type, initializer, isTrusted)
-    , m_propertyName(initializer.propertyName)
-    , m_elapsedTime(initializer.elapsedTime)
-    , m_pseudoElement(initializer.pseudoElement)
-{
-}
-
-WebKitTransitionEvent::~WebKitTransitionEvent() = default;
-
-const String& WebKitTransitionEvent::propertyName() const
-{
-    return m_propertyName;
-}
-
-double WebKitTransitionEvent::elapsedTime() const
-{
-    return m_elapsedTime;
-}
-
-const String& WebKitTransitionEvent::pseudoElement() const
-{
-    return m_pseudoElement;
-}
-
-EventInterface WebKitTransitionEvent::eventInterface() const
-{
-    return WebKitTransitionEventInterfaceType;
-}
-
-} // namespace WebCore

Deleted: trunk/Source/WebCore/dom/WebKitTransitionEvent.h (287924 => 287925)


--- trunk/Source/WebCore/dom/WebKitTransitionEvent.h	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/WebKitTransitionEvent.h	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,68 +0,0 @@
-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#pragma once
-
-#include "Event.h"
-
-namespace WebCore {
-
-class WebKitTransitionEvent final : public Event {
-    WTF_MAKE_ISO_ALLOCATED(WebKitTransitionEvent);
-public:
-    static Ref<WebKitTransitionEvent> create(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
-    {
-        return adoptRef(*new WebKitTransitionEvent(type, propertyName, elapsedTime, pseudoElement));
-    }
-
-    struct Init : EventInit {
-        String propertyName;
-        double elapsedTime { 0 };
-        String pseudoElement;
-    };
-
-    static Ref<WebKitTransitionEvent> create(const AtomString& type, const Init& initializer, IsTrusted isTrusted = IsTrusted::No)
-    {
-        return adoptRef(*new WebKitTransitionEvent(type, initializer, isTrusted));
-    }
-
-    virtual ~WebKitTransitionEvent();
-
-    const String& propertyName() const;
-    double elapsedTime() const;
-    const String& pseudoElement() const;
-
-    EventInterface eventInterface() const override;
-
-private:
-    WebKitTransitionEvent(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement);
-    WebKitTransitionEvent(const AtomString& type, const Init& initializer, IsTrusted);
-
-    String m_propertyName;
-    double m_elapsedTime;
-    String m_pseudoElement;
-};
-
-} // namespace WebCore

Deleted: trunk/Source/WebCore/dom/WebKitTransitionEvent.idl (287924 => 287925)


--- trunk/Source/WebCore/dom/WebKitTransitionEvent.idl	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/WebKitTransitionEvent.idl	2022-01-12 16:51:10 UTC (rev 287925)
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-[
-    Exposed=Window
-] interface WebKitTransitionEvent : Event {
-    constructor(DOMString type, optional WebKitTransitionEventInit eventInitDict);
-
-    readonly attribute DOMString propertyName;
-    readonly attribute double elapsedTime;
-    readonly attribute DOMString pseudoElement;
-};
-
-dictionary WebKitTransitionEventInit : EventInit {
-    DOMString propertyName = "";
-    double elapsedTime = 0;
-    DOMString pseudoElement = "";
-};

Modified: trunk/Source/WebCore/dom/mac/ImageControlsMac.cpp (287924 => 287925)


--- trunk/Source/WebCore/dom/mac/ImageControlsMac.cpp	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/mac/ImageControlsMac.cpp	2022-01-12 16:51:10 UTC (rev 287925)
@@ -30,7 +30,9 @@
 #include "ChromeClient.h"
 #include "ContextMenuController.h"
 #include "ElementInlines.h"
+#include "Event.h"
 #include "EventHandler.h"
+#include "EventNames.h"
 #include "HTMLAttachmentElement.h"
 #include "HTMLButtonElement.h"
 #include "HTMLDivElement.h"
@@ -37,6 +39,7 @@
 #include "HTMLImageElement.h"
 #include "HTMLNames.h"
 #include "HTMLStyleElement.h"
+#include "MouseEvent.h"
 #include "RenderImage.h"
 #include "ShadowRoot.h"
 #include "UserAgentStyleSheets.h"

Modified: trunk/Source/WebCore/dom/mac/ImageControlsMac.h (287924 => 287925)


--- trunk/Source/WebCore/dom/mac/ImageControlsMac.h	2022-01-12 16:47:14 UTC (rev 287924)
+++ trunk/Source/WebCore/dom/mac/ImageControlsMac.h	2022-01-12 16:51:10 UTC (rev 287925)
@@ -29,6 +29,7 @@
 
 namespace WebCore {
 
+class Event;
 class HTMLElement;
 class Node;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to