Drop support for legacy EventException
https://bugs.webkit.org/show_bug.cgi?id=149597
<rdar://problem/22879795>
Reviewed by Sam Weinig.
LayoutTests/imported/w3c:
Rebaseline W3C DOM test now that a new check is passing.
* web-platform-tests/dom/historical-expected.txt:
Source/WebCore:
Drop support for legacy EventException. Both Firefox and Chrome do not
support it, and our implementation no longer throws such exceptions.
No new tests, already covered by existing test.
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* Modules/indexeddb/legacy/LegacyRequest.cpp:
* Modules/indexeddb/legacy/LegacyTransaction.cpp:
* Modules/websockets/WebSocket.cpp:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/gobject/WebKitDOMPrivate.cpp:
* bindings/js/JSExceptionBase.cpp:
(WebCore::toExceptionBase): Deleted.
* dom/DOMAllInOne.cpp:
* dom/DOMExceptions.in:
* dom/EventException.cpp: Removed.
* dom/EventException.h:
(WebCore::EventException::EventException): Deleted.
* dom/EventException.idl:
* dom/EventListenerMap.cpp:
* dom/EventTarget.cpp:
* dom/MessagePort.cpp:
* dom/Node.cpp:
* loader/appcache/DOMApplicationCache.cpp:
* page/DOMWindow.cpp:
* page/EventSource.cpp:
* page/PerformanceUserTiming.h:
* workers/AbstractWorker.cpp:
* workers/Worker.cpp:
* workers/WorkerGlobalScope.cpp:
* xml/XMLHttpRequest.cpp:
* xml/XMLHttpRequestUpload.cpp:
LayoutTests:
Update / rebaseline several tests now that we no longer expose
EventException on the global Window object.
* fast/dom/Window/resources/window-properties.js:
* fast/dom/Window/window-lookup-precedence-expected.txt:
* js/dom/global-constructors-attributes-expected.txt:
* platform/efl/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
* platform/gtk/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/win/js/dom/global-constructors-attributes-expected.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@190281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index aeb431d..68defaf 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,5 +1,28 @@
2015-09-28 Chris Dumez <cdumez@apple.com>
+ Drop support for legacy EventException
+ https://bugs.webkit.org/show_bug.cgi?id=149597
+ <rdar://problem/22879795>
+
+ Reviewed by Sam Weinig.
+
+ Update / rebaseline several tests now that we no longer expose
+ EventException on the global Window object.
+
+ * fast/dom/Window/resources/window-properties.js:
+ * fast/dom/Window/window-lookup-precedence-expected.txt:
+ * js/dom/global-constructors-attributes-expected.txt:
+ * platform/efl/js/dom/global-constructors-attributes-expected.txt:
+ * platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
+ * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
+ * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
+ * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
+ * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
+ * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+ * platform/win/js/dom/global-constructors-attributes-expected.txt:
+
+2015-09-28 Chris Dumez <cdumez@apple.com>
+
Object.getOwnPropertyNames() does not return named properties
https://bugs.webkit.org/show_bug.cgi?id=149562
<rdar://problem/22879779>
diff --git a/LayoutTests/fast/dom/Window/resources/window-properties.js b/LayoutTests/fast/dom/Window/resources/window-properties.js
index 9d430ec..85656f0 100644
--- a/LayoutTests/fast/dom/Window/resources/window-properties.js
+++ b/LayoutTests/fast/dom/Window/resources/window-properties.js
@@ -57,7 +57,6 @@
["DocumentType", "object"],
["Element", "object"],
["Event", "object"],
- ["EventException", "object"],
["HTMLAnchorElement", "object"],
["HTMLAppletElement", "object"],
["HTMLAreaElement", "object"],
diff --git a/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt b/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
index 112214a..9bb2f55 100644
--- a/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
+++ b/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
@@ -116,8 +116,6 @@
PASS win['Element'] == '[object ElementConstructor]' is true
PASS win['Event'] == '[object EventConstructor]' is true
PASS win['Event'] == '[object EventConstructor]' is true
-PASS win['EventException'] == '[object EventExceptionConstructor]' is true
-PASS win['EventException'] == '[object EventExceptionConstructor]' is true
PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
PASS win['HTMLAppletElement'] == '[object HTMLAppletElementConstructor]' is true
diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog
index 064b7b8..4a3c3f2 100644
--- a/LayoutTests/imported/w3c/ChangeLog
+++ b/LayoutTests/imported/w3c/ChangeLog
@@ -1,5 +1,17 @@
2015-09-28 Chris Dumez <cdumez@apple.com>
+ Drop support for legacy EventException
+ https://bugs.webkit.org/show_bug.cgi?id=149597
+ <rdar://problem/22879795>
+
+ Reviewed by Sam Weinig.
+
+ Rebaseline W3C DOM test now that a new check is passing.
+
+ * web-platform-tests/dom/historical-expected.txt:
+
+2015-09-28 Chris Dumez <cdumez@apple.com>
+
Object.getOwnPropertyNames() does not return named properties
https://bugs.webkit.org/show_bug.cgi?id=149562
<rdar://problem/22879779>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
index 9bac876..e04ab92 100644
--- a/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
+++ b/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
@@ -10,7 +10,7 @@
PASS Historical DOM features must be removed: DOMUserData
PASS Historical DOM features must be removed: Entity
PASS Historical DOM features must be removed: EntityReference
-FAIL Historical DOM features must be removed: EventException assert_equals: expected (undefined) undefined but got (object) object "[object EventExceptionConstructor]"
+PASS Historical DOM features must be removed: EventException
PASS Historical DOM features must be removed: NameList
PASS Historical DOM features must be removed: Notation
PASS Historical DOM features must be removed: TypeInfo
diff --git a/LayoutTests/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/js/dom/global-constructors-attributes-expected.txt
index f4a2dd8..d94c2c8 100644
--- a/LayoutTests/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/js/dom/global-constructors-attributes-expected.txt
@@ -323,11 +323,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
index 7c63762..8bf6227 100644
--- a/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
@@ -323,11 +323,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt b/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
index 82b024a..585d346 100644
--- a/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
+++ b/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
@@ -116,8 +116,6 @@
PASS win['Element'] == '[object ElementConstructor]' is true
PASS win['Event'] == '[object EventConstructor]' is true
PASS win['Event'] == '[object EventConstructor]' is true
-PASS win['EventException'] == '[object EventExceptionConstructor]' is true
-PASS win['EventException'] == '[object EventExceptionConstructor]' is true
PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
PASS win['HTMLAppletElement'] == '[object HTMLAppletElementConstructor]' is true
diff --git a/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
index 4df4842..f98f3f1 100644
--- a/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
@@ -328,11 +328,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
index 1cab479..0a32175 100644
--- a/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
@@ -318,11 +318,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
index 562e098..ab822de 100644
--- a/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
@@ -318,11 +318,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt b/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
index 162f48f..41e459b 100644
--- a/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
+++ b/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
@@ -116,8 +116,6 @@
PASS win['Element'] == '[object ElementConstructor]' is true
PASS win['Event'] == '[object EventConstructor]' is true
PASS win['Event'] == '[object EventConstructor]' is true
-PASS win['EventException'] == '[object EventExceptionConstructor]' is true
-PASS win['EventException'] == '[object EventExceptionConstructor]' is true
PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
PASS win['HTMLAppletElement'] == '[object HTMLAppletElementConstructor]' is true
diff --git a/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
index 4c9ef26..858c7ac 100644
--- a/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
@@ -318,11 +318,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt b/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
index 4ca9d3f..1fe0bbc 100644
--- a/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
+++ b/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
@@ -248,11 +248,6 @@
PASS Object.getOwnPropertyDescriptor(global, 'Event').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('set') is false
diff --git a/Source/WebCore/CMakeLists.txt b/Source/WebCore/CMakeLists.txt
index 7a821ee..b951060 100644
--- a/Source/WebCore/CMakeLists.txt
+++ b/Source/WebCore/CMakeLists.txt
@@ -393,7 +393,6 @@
dom/Element.idl
dom/ErrorEvent.idl
dom/Event.idl
- dom/EventException.idl
dom/EventTarget.idl
dom/FocusEvent.idl
dom/GlobalEventHandlers.idl
@@ -1431,7 +1430,6 @@
dom/Event.cpp
dom/EventContext.cpp
dom/EventDispatcher.cpp
- dom/EventException.cpp
dom/EventListenerMap.cpp
dom/EventNames.cpp
dom/EventTarget.cpp
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 2e6be5e..cfe41ab 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,5 +1,50 @@
2015-09-28 Chris Dumez <cdumez@apple.com>
+ Drop support for legacy EventException
+ https://bugs.webkit.org/show_bug.cgi?id=149597
+ <rdar://problem/22879795>
+
+ Reviewed by Sam Weinig.
+
+ Drop support for legacy EventException. Both Firefox and Chrome do not
+ support it, and our implementation no longer throws such exceptions.
+
+ No new tests, already covered by existing test.
+
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * Modules/indexeddb/legacy/LegacyRequest.cpp:
+ * Modules/indexeddb/legacy/LegacyTransaction.cpp:
+ * Modules/websockets/WebSocket.cpp:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/gobject/WebKitDOMPrivate.cpp:
+ * bindings/js/JSExceptionBase.cpp:
+ (WebCore::toExceptionBase): Deleted.
+ * dom/DOMAllInOne.cpp:
+ * dom/DOMExceptions.in:
+ * dom/EventException.cpp: Removed.
+ * dom/EventException.h:
+ (WebCore::EventException::EventException): Deleted.
+ * dom/EventException.idl:
+ * dom/EventListenerMap.cpp:
+ * dom/EventTarget.cpp:
+ * dom/MessagePort.cpp:
+ * dom/Node.cpp:
+ * loader/appcache/DOMApplicationCache.cpp:
+ * page/DOMWindow.cpp:
+ * page/EventSource.cpp:
+ * page/PerformanceUserTiming.h:
+ * workers/AbstractWorker.cpp:
+ * workers/Worker.cpp:
+ * workers/WorkerGlobalScope.cpp:
+ * xml/XMLHttpRequest.cpp:
+ * xml/XMLHttpRequestUpload.cpp:
+
+2015-09-28 Chris Dumez <cdumez@apple.com>
+
Object.getOwnPropertyNames() does not return named properties
https://bugs.webkit.org/show_bug.cgi?id=149562
<rdar://problem/22879779>
diff --git a/Source/WebCore/DerivedSources.cpp b/Source/WebCore/DerivedSources.cpp
index 5cab8e2..c222790 100644
--- a/Source/WebCore/DerivedSources.cpp
+++ b/Source/WebCore/DerivedSources.cpp
@@ -152,7 +152,6 @@
#include "JSElement.cpp"
#include "JSErrorEvent.cpp"
#include "JSEvent.cpp"
-#include "JSEventException.cpp"
#include "JSEventSource.cpp"
#include "JSEventTarget.cpp"
#include "JSFile.cpp"
diff --git a/Source/WebCore/DerivedSources.make b/Source/WebCore/DerivedSources.make
index a62227a..5c4d060 100644
--- a/Source/WebCore/DerivedSources.make
+++ b/Source/WebCore/DerivedSources.make
@@ -287,7 +287,6 @@
$(WebCore)/dom/EntityReference.idl \
$(WebCore)/dom/ErrorEvent.idl \
$(WebCore)/dom/Event.idl \
- $(WebCore)/dom/EventException.idl \
$(WebCore)/dom/EventListener.idl \
$(WebCore)/dom/EventTarget.idl \
$(WebCore)/dom/FocusEvent.idl \
diff --git a/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp b/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp
index 9e03e11..c500a6c 100644
--- a/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp
+++ b/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp
@@ -31,7 +31,6 @@
#if ENABLE(INDEXED_DATABASE)
-#include "EventException.h"
#include "EventListener.h"
#include "EventNames.h"
#include "EventQueue.h"
diff --git a/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp b/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp
index b97717e..089ad3d 100644
--- a/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp
+++ b/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp
@@ -28,7 +28,6 @@
#if ENABLE(INDEXED_DATABASE)
-#include "EventException.h"
#include "EventQueue.h"
#include "ExceptionCodePlaceholder.h"
#include "IDBDatabase.h"
diff --git a/Source/WebCore/Modules/websockets/WebSocket.cpp b/Source/WebCore/Modules/websockets/WebSocket.cpp
index 79b0e11..4c79b60 100644
--- a/Source/WebCore/Modules/websockets/WebSocket.cpp
+++ b/Source/WebCore/Modules/websockets/WebSocket.cpp
@@ -40,7 +40,6 @@
#include "DOMWindow.h"
#include "Document.h"
#include "Event.h"
-#include "EventException.h"
#include "EventListener.h"
#include "EventNames.h"
#include "ExceptionCode.h"
diff --git a/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj b/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
index f30552f..6ef355d 100644
--- a/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
+++ b/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
@@ -1860,20 +1860,6 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</ClCompile>
- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
- </ClCompile>
<ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
@@ -14226,20 +14212,6 @@
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</ClCompile>
- <ClCompile Include="..\dom\EventException.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
- </ClCompile>
<ClCompile Include="..\dom\EventListenerMap.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
@@ -19890,7 +19862,6 @@
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSElement.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.h" />
- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventTarget.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSFile.h" />
diff --git a/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters b/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
index df4eb6d..95f0f03 100644
--- a/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
+++ b/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
@@ -3153,9 +3153,6 @@
<ClCompile Include="..\dom\EventDispatcher.cpp">
<Filter>dom</Filter>
</ClCompile>
- <ClCompile Include="..\dom\EventException.cpp">
- <Filter>dom</Filter>
- </ClCompile>
<ClCompile Include="..\dom\EventListenerMap.cpp">
<Filter>dom</Filter>
</ClCompile>
@@ -5263,9 +5260,6 @@
<ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.cpp">
<Filter>DerivedSources</Filter>
</ClCompile>
- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.cpp">
- <Filter>DerivedSources</Filter>
- </ClCompile>
<ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.cpp">
<Filter>DerivedSources</Filter>
</ClCompile>
@@ -12670,9 +12664,6 @@
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.h">
<Filter>DerivedSources</Filter>
</ClInclude>
- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.h">
- <Filter>DerivedSources</Filter>
- </ClInclude>
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.h">
<Filter>DerivedSources</Filter>
</ClInclude>
diff --git a/Source/WebCore/WebCore.xcodeproj/project.pbxproj b/Source/WebCore/WebCore.xcodeproj/project.pbxproj
index 59b13bd..67d1b02 100644
--- a/Source/WebCore/WebCore.xcodeproj/project.pbxproj
+++ b/Source/WebCore/WebCore.xcodeproj/project.pbxproj
@@ -2594,8 +2594,8 @@
7C48A6D1191C9D6500026674 /* WebKitNamespace.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C48A6CF191C9D6500026674 /* WebKitNamespace.h */; };
7C4902A218B825F8007D9298 /* DOMWheelEventInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85989DCA0ACC8BBD00A0BC51 /* DOMWheelEventInternal.h */; };
7C4C96DC1AD4483500365A50 /* JSReadableStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A50 /* JSReadableStream.cpp */; };
- 7C4C96DC1AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */; };
7C4C96DC1AD4483500365A51 /* ReadableStreamBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */; };
+ 7C4C96DC1AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */; };
7C4C96DD1AD4483500365A50 /* JSReadableStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C4C96D91AD4483500365A50 /* JSReadableStream.h */; };
7C4C96DE1AD4483500365A50 /* JSReadableStreamReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96DA1AD4483500365A50 /* JSReadableStreamReader.cpp */; };
7C4C96DF1AD4483500365A50 /* JSReadableStreamReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C4C96DB1AD4483500365A50 /* JSReadableStreamReader.h */; };
@@ -3717,7 +3717,6 @@
978AD67414130A8D00C7CAE3 /* HTMLSpanElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978AD67114130A8D00C7CAE3 /* HTMLSpanElement.cpp */; };
978AD67514130A8D00C7CAE3 /* HTMLSpanElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 978AD67214130A8D00C7CAE3 /* HTMLSpanElement.h */; };
978D07B6145A0F030096908D /* FileException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07B5145A0F030096908D /* FileException.cpp */; };
- 978D07BC145A0F560096908D /* EventException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07BB145A0F560096908D /* EventException.cpp */; };
978D07BE145A0F6C0096908D /* DOMCoreException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07BD145A0F6C0096908D /* DOMCoreException.cpp */; };
978D07CA145A10160096908D /* SVGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07C9145A10160096908D /* SVGException.cpp */; };
978D07CC145A102E0096908D /* XPathException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07CB145A102E0096908D /* XPathException.cpp */; };
@@ -5387,8 +5386,6 @@
BC60D8F20D2A11E000B9918F /* ExceptionBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC60D8F00D2A11E000B9918F /* ExceptionBase.cpp */; };
BC60D8F30D2A11E000B9918F /* ExceptionBase.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D8F10D2A11E000B9918F /* ExceptionBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC60D90C0D2A17CE00B9918F /* EventException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9090D2A17CE00B9918F /* EventException.h */; };
- BC60D9BF0D2A269A00B9918F /* JSEventException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */; };
- BC60D9C00D2A269A00B9918F /* JSEventException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9BE0D2A269A00B9918F /* JSEventException.h */; };
BC60D9C90D2A29E500B9918F /* XMLHttpRequestException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9C70D2A29E500B9918F /* XMLHttpRequestException.h */; };
BC60DA390D2A302800B9918F /* JSXMLHttpRequestException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC60DA370D2A302800B9918F /* JSXMLHttpRequestException.cpp */; };
BC60DA3A0D2A302800B9918F /* JSXMLHttpRequestException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60DA380D2A302800B9918F /* JSXMLHttpRequestException.h */; };
@@ -9988,8 +9985,8 @@
7C48A6CF191C9D6500026674 /* WebKitNamespace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitNamespace.h; sourceTree = "<group>"; };
7C48A6D2191C9D8E00026674 /* WebKitNamespace.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebKitNamespace.idl; sourceTree = "<group>"; };
7C4C96D81AD4483500365A50 /* JSReadableStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStream.cpp; sourceTree = "<group>"; };
- 7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CountQueuingStrategyBuiltins.cpp; sourceTree = "<group>"; };
7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReadableStreamBuiltins.cpp; sourceTree = "<group>"; };
+ 7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CountQueuingStrategyBuiltins.cpp; sourceTree = "<group>"; };
7C4C96D91AD4483500365A50 /* JSReadableStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStream.h; sourceTree = "<group>"; };
7C4C96DA1AD4483500365A50 /* JSReadableStreamReader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStreamReader.cpp; sourceTree = "<group>"; };
7C4C96DB1AD4483500365A50 /* JSReadableStreamReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStreamReader.h; sourceTree = "<group>"; };
@@ -11112,7 +11109,6 @@
978AD67214130A8D00C7CAE3 /* HTMLSpanElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLSpanElement.h; sourceTree = "<group>"; };
978AD67314130A8D00C7CAE3 /* HTMLSpanElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLSpanElement.idl; sourceTree = "<group>"; };
978D07B5145A0F030096908D /* FileException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileException.cpp; sourceTree = "<group>"; };
- 978D07BB145A0F560096908D /* EventException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventException.cpp; sourceTree = "<group>"; };
978D07BD145A0F6C0096908D /* DOMCoreException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMCoreException.cpp; sourceTree = "<group>"; };
978D07C9145A10160096908D /* SVGException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGException.cpp; sourceTree = "<group>"; };
978D07CB145A102E0096908D /* XPathException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XPathException.cpp; sourceTree = "<group>"; };
@@ -13022,8 +13018,6 @@
BC60D8F10D2A11E000B9918F /* ExceptionBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExceptionBase.h; sourceTree = "<group>"; };
BC60D9090D2A17CE00B9918F /* EventException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventException.h; sourceTree = "<group>"; };
BC60D90A0D2A17CE00B9918F /* EventException.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EventException.idl; sourceTree = "<group>"; };
- BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSEventException.cpp; sourceTree = "<group>"; };
- BC60D9BE0D2A269A00B9918F /* JSEventException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSEventException.h; sourceTree = "<group>"; };
BC60D9C70D2A29E500B9918F /* XMLHttpRequestException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLHttpRequestException.h; sourceTree = "<group>"; };
BC60D9C80D2A29E500B9918F /* XMLHttpRequestException.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = XMLHttpRequestException.idl; sourceTree = "<group>"; };
BC60DA370D2A302800B9918F /* JSXMLHttpRequestException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSXMLHttpRequestException.cpp; sourceTree = "<group>"; };
@@ -20135,8 +20129,6 @@
2ECF7ADB10162B3800427DE7 /* JSErrorEvent.h */,
14E8378309F85D1C00B85AE4 /* JSEvent.cpp */,
14E8378D09F85D4F00B85AE4 /* JSEvent.h */,
- BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */,
- BC60D9BE0D2A269A00B9918F /* JSEventException.h */,
C6A703325C9D0B6CDCBC4D78 /* JSEventTarget.cpp */,
5FC7DC26CFE2563200B85AE5 /* JSEventTarget.h */,
B6D9D27A14EAC0860090D75E /* JSFocusEvent.cpp */,
@@ -23450,7 +23442,6 @@
4138D3331244054800323D33 /* EventContext.h */,
418A06CF133C04D500CD379C /* EventDispatcher.cpp */,
418A06CE133C04D500CD379C /* EventDispatcher.h */,
- 978D07BB145A0F560096908D /* EventException.cpp */,
BC60D9090D2A17CE00B9918F /* EventException.h */,
BC60D90A0D2A17CE00B9918F /* EventException.idl */,
97665011144FAA4200F6BB51 /* EventFactory.h */,
@@ -24421,7 +24412,6 @@
BC5EB9790E82069200B25965 /* CounterContent.h in Headers */,
BC5EB9510E82056B00B25965 /* CounterDirectives.h in Headers */,
9392F14C0AD1861B00691BD4 /* CounterNode.h in Headers */,
- 148B4FFE1B6904AA00C954E4 /* CountQueuingStrategy.h in Headers */,
D0B0556809C6700100307E43 /* CreateLinkCommand.h in Headers */,
514C766E0CE923A1007EF3CD /* Credential.h in Headers */,
3792917A1985EF3900F4B661 /* CredentialBase.h in Headers */,
@@ -25618,7 +25608,6 @@
2ECF7ADD10162B3800427DE7 /* JSErrorEvent.h in Headers */,
F3D461491161D53200CA0D09 /* JSErrorHandler.h in Headers */,
14E8378E09F85D4F00B85AE4 /* JSEvent.h in Headers */,
- BC60D9C00D2A269A00B9918F /* JSEventException.h in Headers */,
93B70D6A09EB0C7C009D8468 /* JSEventListener.h in Headers */,
E0FEF372B37C53EAC1C1FBEE /* JSEventSource.h in Headers */,
5FC7DC26CFE2563200B85AE4 /* JSEventTarget.h in Headers */,
@@ -28629,7 +28618,6 @@
85031B410A44EFC700F992E0 /* Event.cpp in Sources */,
4138D3361244054800323D33 /* EventContext.cpp in Sources */,
418A06D1133C04D500CD379C /* EventDispatcher.cpp in Sources */,
- 978D07BC145A0F560096908D /* EventException.cpp in Sources */,
9766504F144FBFFE00F6BB51 /* EventFactory.cpp in Sources */,
93C09A810B064F00005ABD4D /* EventHandler.cpp in Sources */,
FE6938B61045D67E008EABB6 /* EventHandlerIOS.mm in Sources */,
@@ -29197,7 +29185,6 @@
F3D461481161D53200CA0D09 /* JSErrorHandler.cpp in Sources */,
14E8378409F85D1C00B85AE4 /* JSEvent.cpp in Sources */,
BCEFAF4E0C317E6900FA81F6 /* JSEventCustom.cpp in Sources */,
- BC60D9BF0D2A269A00B9918F /* JSEventException.cpp in Sources */,
93B70D6909EB0C7C009D8468 /* JSEventListener.cpp in Sources */,
E0FEF372B47C53EAC1C1FBEE /* JSEventSource.cpp in Sources */,
C6A703325C9D0B6CDCBC4D77 /* JSEventTarget.cpp in Sources */,
diff --git a/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp b/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
index d6016f9..21dfb36 100644
--- a/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
+++ b/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
@@ -28,7 +28,6 @@
#include "DOMObjectCache.h"
#include "Element.h"
#include "Event.h"
-#include "EventException.h"
#include "EventTarget.h"
#include "File.h"
#include "HTMLElement.h"
diff --git a/Source/WebCore/bindings/js/JSExceptionBase.cpp b/Source/WebCore/bindings/js/JSExceptionBase.cpp
index d9a6027..dd629d2 100644
--- a/Source/WebCore/bindings/js/JSExceptionBase.cpp
+++ b/Source/WebCore/bindings/js/JSExceptionBase.cpp
@@ -27,7 +27,6 @@
#include "JSExceptionBase.h"
#include "JSDOMCoreException.h"
-#include "JSEventException.h"
#include "JSSQLException.h"
#include "JSSVGException.h"
#include "JSXMLHttpRequestException.h"
@@ -40,8 +39,6 @@
{
if (DOMCoreException* domException = JSDOMCoreException::toWrapped(value))
return reinterpret_cast<ExceptionBase*>(domException);
- if (EventException* eventException = JSEventException::toWrapped(value))
- return reinterpret_cast<ExceptionBase*>(eventException);
if (XMLHttpRequestException* xmlHttpException = JSXMLHttpRequestException::toWrapped(value))
return reinterpret_cast<ExceptionBase*>(xmlHttpException);
if (SVGException* svgException = JSSVGException::toWrapped(value))
diff --git a/Source/WebCore/dom/DOMAllInOne.cpp b/Source/WebCore/dom/DOMAllInOne.cpp
index d91b63a..c6008cc 100644
--- a/Source/WebCore/dom/DOMAllInOne.cpp
+++ b/Source/WebCore/dom/DOMAllInOne.cpp
@@ -79,7 +79,6 @@
#include "Event.cpp"
#include "EventContext.cpp"
#include "EventDispatcher.cpp"
-#include "EventException.cpp"
#include "EventListenerMap.cpp"
#include "EventNames.cpp"
#include "EventTarget.cpp"
diff --git a/Source/WebCore/dom/DOMExceptions.in b/Source/WebCore/dom/DOMExceptions.in
index 0522d06..6eabe16 100644
--- a/Source/WebCore/dom/DOMExceptions.in
+++ b/Source/WebCore/dom/DOMExceptions.in
@@ -1,7 +1,6 @@
namespace=Exception
DOMCoreException
-EventException
FileException
SQLException
SVGException
diff --git a/Source/WebCore/dom/EventException.cpp b/Source/WebCore/dom/EventException.cpp
deleted file mode 100644
index f6a4dc8..0000000
--- a/Source/WebCore/dom/EventException.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (C) 2011 Google 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.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY GOOGLE AND ITS CONTRIBUTORS "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 OR ITS 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 "EventException.h"
-
-#include "ExceptionCodeDescription.h"
-
-namespace WebCore {
-
-static struct EventExceptionNameDescription {
- const char* const name;
- const char* const description;
-} eventExceptions[] = {
- { "UNSPECIFIED_EVENT_TYPE_ERR", "The Event's type was not specified by initializing the event before the method was called." },
- { "DISPATCH_REQUEST_ERR", "The Event object is already being dispatched." }
-};
-
-bool EventException::initializeDescription(ExceptionCode ec, ExceptionCodeDescription* description)
-{
- if (ec < EventExceptionOffset || ec > EventExceptionMax)
- return false;
-
- description->typeName = "DOM Events";
- description->code = ec - EventExceptionOffset;
- description->type = EventExceptionType;
-
- size_t tableSize = WTF_ARRAY_LENGTH(eventExceptions);
- size_t tableIndex = ec - UNSPECIFIED_EVENT_TYPE_ERR;
-
- description->name = tableIndex < tableSize ? eventExceptions[tableIndex].name : 0;
- description->description = tableIndex < tableSize ? eventExceptions[tableIndex].description : 0;
-
- return true;
-}
-
-} // namespace WebCore
diff --git a/Source/WebCore/dom/EventException.h b/Source/WebCore/dom/EventException.h
index b8c1b2f..baf0964 100644
--- a/Source/WebCore/dom/EventException.h
+++ b/Source/WebCore/dom/EventException.h
@@ -34,22 +34,6 @@
namespace WebCore {
class EventException : public ExceptionBase {
-public:
- static Ref<EventException> create(const ExceptionCodeDescription& description)
- {
- return adoptRef(*new EventException(description));
- }
-
- static const int EventExceptionOffset = 100;
- static const int EventExceptionMax = 199;
-
- enum EventExceptionCode {
- UNSPECIFIED_EVENT_TYPE_ERR = EventExceptionOffset,
- DISPATCH_REQUEST_ERR
- };
-
- static bool initializeDescription(ExceptionCode, ExceptionCodeDescription*);
-
private:
explicit EventException(const ExceptionCodeDescription& description)
: ExceptionBase(description)
diff --git a/Source/WebCore/dom/EventException.idl b/Source/WebCore/dom/EventException.idl
index e79c133..46f2e1e 100644
--- a/Source/WebCore/dom/EventException.idl
+++ b/Source/WebCore/dom/EventException.idl
@@ -26,8 +26,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
+
// Introduced in DOM Level 2:
[
+ NoInterfaceObject,
DoNotCheckConstants,
ImplementationLacksVTable,
] exception EventException {
@@ -36,13 +39,9 @@
readonly attribute DOMString name;
readonly attribute DOMString message;
-#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- // Override in a Mozilla compatible format
- [NotEnumerable] DOMString toString();
-#endif
-
// EventExceptionCode
const unsigned short UNSPECIFIED_EVENT_TYPE_ERR = 0;
const unsigned short DISPATCH_REQUEST_ERR = 1;
};
+#endif
diff --git a/Source/WebCore/dom/EventListenerMap.cpp b/Source/WebCore/dom/EventListenerMap.cpp
index 6af7b50..dbb19e4 100644
--- a/Source/WebCore/dom/EventListenerMap.cpp
+++ b/Source/WebCore/dom/EventListenerMap.cpp
@@ -34,7 +34,6 @@
#include "EventListenerMap.h"
#include "Event.h"
-#include "EventException.h"
#include "EventTarget.h"
#include <wtf/MainThread.h>
#include <wtf/NeverDestroyed.h>
diff --git a/Source/WebCore/dom/EventTarget.cpp b/Source/WebCore/dom/EventTarget.cpp
index 8b9cd41..4ef19f2 100644
--- a/Source/WebCore/dom/EventTarget.cpp
+++ b/Source/WebCore/dom/EventTarget.cpp
@@ -32,7 +32,7 @@
#include "config.h"
#include "EventTarget.h"
-#include "EventException.h"
+#include "ExceptionCode.h"
#include "InspectorInstrumentation.h"
#include "ScriptController.h"
#include "WebKitAnimationEvent.h"
diff --git a/Source/WebCore/dom/MessagePort.cpp b/Source/WebCore/dom/MessagePort.cpp
index 1163a08..2524545 100644
--- a/Source/WebCore/dom/MessagePort.cpp
+++ b/Source/WebCore/dom/MessagePort.cpp
@@ -28,7 +28,7 @@
#include "MessagePort.h"
#include "Document.h"
-#include "EventException.h"
+#include "ExceptionCode.h"
#include "MessageEvent.h"
#include "SecurityOrigin.h"
#include "WorkerGlobalScope.h"
diff --git a/Source/WebCore/dom/Node.cpp b/Source/WebCore/dom/Node.cpp
index 108d555..c3fd496 100644
--- a/Source/WebCore/dom/Node.cpp
+++ b/Source/WebCore/dom/Node.cpp
@@ -39,7 +39,6 @@
#include "ElementRareData.h"
#include "ElementTraversal.h"
#include "EventDispatcher.h"
-#include "EventException.h"
#include "EventHandler.h"
#include "FrameView.h"
#include "HTMLCollection.h"
diff --git a/Source/WebCore/loader/appcache/DOMApplicationCache.cpp b/Source/WebCore/loader/appcache/DOMApplicationCache.cpp
index 56437a8..36a549d 100644
--- a/Source/WebCore/loader/appcache/DOMApplicationCache.cpp
+++ b/Source/WebCore/loader/appcache/DOMApplicationCache.cpp
@@ -30,7 +30,6 @@
#include "Document.h"
#include "DocumentLoader.h"
#include "Event.h"
-#include "EventException.h"
#include "EventListener.h"
#include "EventNames.h"
#include "ExceptionCode.h"
diff --git a/Source/WebCore/page/DOMWindow.cpp b/Source/WebCore/page/DOMWindow.cpp
index 3e38473..43f66f5 100644
--- a/Source/WebCore/page/DOMWindow.cpp
+++ b/Source/WebCore/page/DOMWindow.cpp
@@ -54,7 +54,6 @@
#include "DocumentLoader.h"
#include "Editor.h"
#include "Element.h"
-#include "EventException.h"
#include "EventHandler.h"
#include "EventListener.h"
#include "EventNames.h"
diff --git a/Source/WebCore/page/EventSource.cpp b/Source/WebCore/page/EventSource.cpp
index 282ebab..cbca4fa 100644
--- a/Source/WebCore/page/EventSource.cpp
+++ b/Source/WebCore/page/EventSource.cpp
@@ -38,7 +38,6 @@
#include "Dictionary.h"
#include "Document.h"
#include "Event.h"
-#include "EventException.h"
#include "ExceptionCode.h"
#include "Frame.h"
#include "HTTPHeaderNames.h"
diff --git a/Source/WebCore/page/PerformanceUserTiming.h b/Source/WebCore/page/PerformanceUserTiming.h
index aa23fde..0a48b3f 100644
--- a/Source/WebCore/page/PerformanceUserTiming.h
+++ b/Source/WebCore/page/PerformanceUserTiming.h
@@ -28,7 +28,6 @@
#if ENABLE(USER_TIMING)
-#include "EventException.h"
#include "ExceptionCode.h"
#include "Performance.h"
#include "PerformanceTiming.h"
diff --git a/Source/WebCore/workers/AbstractWorker.cpp b/Source/WebCore/workers/AbstractWorker.cpp
index 5eee7eb..b9d67d6 100644
--- a/Source/WebCore/workers/AbstractWorker.cpp
+++ b/Source/WebCore/workers/AbstractWorker.cpp
@@ -35,7 +35,6 @@
#include "ContentSecurityPolicy.h"
#include "ErrorEvent.h"
#include "Event.h"
-#include "EventException.h"
#include "EventNames.h"
#include "ExceptionCode.h"
#include "InspectorInstrumentation.h"
diff --git a/Source/WebCore/workers/Worker.cpp b/Source/WebCore/workers/Worker.cpp
index d0c1d26..e868906 100644
--- a/Source/WebCore/workers/Worker.cpp
+++ b/Source/WebCore/workers/Worker.cpp
@@ -32,7 +32,6 @@
#include "DOMWindow.h"
#include "CachedResourceLoader.h"
#include "Document.h"
-#include "EventException.h"
#include "EventListener.h"
#include "EventNames.h"
#include "ExceptionCode.h"
diff --git a/Source/WebCore/workers/WorkerGlobalScope.cpp b/Source/WebCore/workers/WorkerGlobalScope.cpp
index ecd6744..908d1e3 100644
--- a/Source/WebCore/workers/WorkerGlobalScope.cpp
+++ b/Source/WebCore/workers/WorkerGlobalScope.cpp
@@ -35,7 +35,6 @@
#include "DOMWindow.h"
#include "ErrorEvent.h"
#include "Event.h"
-#include "EventException.h"
#include "ExceptionCode.h"
#include "InspectorConsoleInstrumentation.h"
#include "MessagePort.h"
diff --git a/Source/WebCore/xml/XMLHttpRequest.cpp b/Source/WebCore/xml/XMLHttpRequest.cpp
index 86a982a..37e3d0d 100644
--- a/Source/WebCore/xml/XMLHttpRequest.cpp
+++ b/Source/WebCore/xml/XMLHttpRequest.cpp
@@ -30,7 +30,6 @@
#include "DOMFormData.h"
#include "DOMImplementation.h"
#include "Event.h"
-#include "EventException.h"
#include "ExceptionCode.h"
#include "File.h"
#include "HTMLDocument.h"
diff --git a/Source/WebCore/xml/XMLHttpRequestUpload.cpp b/Source/WebCore/xml/XMLHttpRequestUpload.cpp
index e1f6beb..3ec5418 100644
--- a/Source/WebCore/xml/XMLHttpRequestUpload.cpp
+++ b/Source/WebCore/xml/XMLHttpRequestUpload.cpp
@@ -27,7 +27,6 @@
#include "XMLHttpRequestUpload.h"
#include "Event.h"
-#include "EventException.h"
#include "XMLHttpRequestProgressEvent.h"
#include <wtf/Assertions.h>
#include <wtf/text/AtomicString.h>