Changeset 190281 in webkit


Ignore:
Timestamp:
Sep 28, 2015 11:26:31 AM (9 years ago)
Author:
Chris Dumez
Message:

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:
Location:
trunk
Files:
1 deleted
43 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r190280 r190281  
     12015-09-28  Chris Dumez  <cdumez@apple.com>
     2
     3        Drop support for legacy EventException
     4        https://bugs.webkit.org/show_bug.cgi?id=149597
     5        <rdar://problem/22879795>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Update / rebaseline several tests now that we no longer expose
     10        EventException on the global Window object.
     11
     12        * fast/dom/Window/resources/window-properties.js:
     13        * fast/dom/Window/window-lookup-precedence-expected.txt:
     14        * js/dom/global-constructors-attributes-expected.txt:
     15        * platform/efl/js/dom/global-constructors-attributes-expected.txt:
     16        * platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
     17        * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
     18        * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
     19        * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
     20        * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
     21        * platform/mac/js/dom/global-constructors-attributes-expected.txt:
     22        * platform/win/js/dom/global-constructors-attributes-expected.txt:
     23
    1242015-09-28  Chris Dumez  <cdumez@apple.com>
    225
  • trunk/LayoutTests/fast/dom/Window/resources/window-properties.js

    r190120 r190281  
    5858    ["Element", "object"],
    5959    ["Event", "object"],
    60     ["EventException", "object"],
    6160    ["HTMLAnchorElement", "object"],
    6261    ["HTMLAppletElement", "object"],
  • trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt

    r190120 r190281  
    117117PASS win['Event'] == '[object EventConstructor]' is true
    118118PASS win['Event'] == '[object EventConstructor]' is true
    119 PASS win['EventException'] == '[object EventExceptionConstructor]' is true
    120 PASS win['EventException'] == '[object EventExceptionConstructor]' is true
    121119PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
    122120PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r190280 r190281  
     12015-09-28  Chris Dumez  <cdumez@apple.com>
     2
     3        Drop support for legacy EventException
     4        https://bugs.webkit.org/show_bug.cgi?id=149597
     5        <rdar://problem/22879795>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Rebaseline W3C DOM test now that a new check is passing.
     10
     11        * web-platform-tests/dom/historical-expected.txt:
     12
    1132015-09-28  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt

    r190120 r190281  
    1111PASS Historical DOM features must be removed: Entity
    1212PASS Historical DOM features must be removed: EntityReference
    13 FAIL Historical DOM features must be removed: EventException assert_equals: expected (undefined) undefined but got (object) object "[object EventExceptionConstructor]"
     13PASS Historical DOM features must be removed: EventException
    1414PASS Historical DOM features must be removed: NameList
    1515PASS Historical DOM features must be removed: Notation
  • trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    324324PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    325325PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    326 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    327 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    328 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    329 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    330 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    331326PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    332327PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    324324PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    325325PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    326 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    327 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    328 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    329 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    330 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    331326PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    332327PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt

    r190120 r190281  
    117117PASS win['Event'] == '[object EventConstructor]' is true
    118118PASS win['Event'] == '[object EventConstructor]' is true
    119 PASS win['EventException'] == '[object EventExceptionConstructor]' is true
    120 PASS win['EventException'] == '[object EventExceptionConstructor]' is true
    121119PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
    122120PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
  • trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    329329PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    330330PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    331 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    332 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    333 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    334 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    335 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    336331PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    337332PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    319319PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    320320PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    321 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    322 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    323 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    324 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    325 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    326321PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    327322PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    319319PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    320320PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    321 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    322 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    323 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    324 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    325 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    326321PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    327322PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt

    r190120 r190281  
    117117PASS win['Event'] == '[object EventConstructor]' is true
    118118PASS win['Event'] == '[object EventConstructor]' is true
    119 PASS win['EventException'] == '[object EventExceptionConstructor]' is true
    120 PASS win['EventException'] == '[object EventExceptionConstructor]' is true
    121119PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
    122120PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true
  • trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    319319PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    320320PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    321 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    322 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    323 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    324 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    325 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    326321PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    327322PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt

    r190120 r190281  
    249249PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false
    250250PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true
    251 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException
    252 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false
    253 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false
    254 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false
    255 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true
    256251PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource
    257252PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false
  • trunk/Source/WebCore/CMakeLists.txt

    r190272 r190281  
    394394    dom/ErrorEvent.idl
    395395    dom/Event.idl
    396     dom/EventException.idl
    397396    dom/EventTarget.idl
    398397    dom/FocusEvent.idl
     
    14321431    dom/EventContext.cpp
    14331432    dom/EventDispatcher.cpp
    1434     dom/EventException.cpp
    14351433    dom/EventListenerMap.cpp
    14361434    dom/EventNames.cpp
  • trunk/Source/WebCore/ChangeLog

    r190280 r190281  
     12015-09-28  Chris Dumez  <cdumez@apple.com>
     2
     3        Drop support for legacy EventException
     4        https://bugs.webkit.org/show_bug.cgi?id=149597
     5        <rdar://problem/22879795>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Drop support for legacy EventException. Both Firefox and Chrome do not
     10        support it, and our implementation no longer throws such exceptions.
     11
     12        No new tests, already covered by existing test.
     13
     14        * CMakeLists.txt:
     15        * DerivedSources.cpp:
     16        * DerivedSources.make:
     17        * Modules/indexeddb/legacy/LegacyRequest.cpp:
     18        * Modules/indexeddb/legacy/LegacyTransaction.cpp:
     19        * Modules/websockets/WebSocket.cpp:
     20        * WebCore.vcxproj/WebCore.vcxproj:
     21        * WebCore.vcxproj/WebCore.vcxproj.filters:
     22        * WebCore.xcodeproj/project.pbxproj:
     23        * bindings/gobject/WebKitDOMPrivate.cpp:
     24        * bindings/js/JSExceptionBase.cpp:
     25        (WebCore::toExceptionBase): Deleted.
     26        * dom/DOMAllInOne.cpp:
     27        * dom/DOMExceptions.in:
     28        * dom/EventException.cpp: Removed.
     29        * dom/EventException.h:
     30        (WebCore::EventException::EventException): Deleted.
     31        * dom/EventException.idl:
     32        * dom/EventListenerMap.cpp:
     33        * dom/EventTarget.cpp:
     34        * dom/MessagePort.cpp:
     35        * dom/Node.cpp:
     36        * loader/appcache/DOMApplicationCache.cpp:
     37        * page/DOMWindow.cpp:
     38        * page/EventSource.cpp:
     39        * page/PerformanceUserTiming.h:
     40        * workers/AbstractWorker.cpp:
     41        * workers/Worker.cpp:
     42        * workers/WorkerGlobalScope.cpp:
     43        * xml/XMLHttpRequest.cpp:
     44        * xml/XMLHttpRequestUpload.cpp:
     45
    1462015-09-28  Chris Dumez  <cdumez@apple.com>
    247
  • trunk/Source/WebCore/DerivedSources.cpp

    r190198 r190281  
    153153#include "JSErrorEvent.cpp"
    154154#include "JSEvent.cpp"
    155 #include "JSEventException.cpp"
    156155#include "JSEventSource.cpp"
    157156#include "JSEventTarget.cpp"
  • trunk/Source/WebCore/DerivedSources.make

    r190198 r190281  
    288288    $(WebCore)/dom/ErrorEvent.idl \
    289289    $(WebCore)/dom/Event.idl \
    290     $(WebCore)/dom/EventException.idl \
    291290    $(WebCore)/dom/EventListener.idl \
    292291    $(WebCore)/dom/EventTarget.idl \
  • trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp

    r190250 r190281  
    3232#if ENABLE(INDEXED_DATABASE)
    3333
    34 #include "EventException.h"
    3534#include "EventListener.h"
    3635#include "EventNames.h"
  • trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp

    r190250 r190281  
    2929#if ENABLE(INDEXED_DATABASE)
    3030
    31 #include "EventException.h"
    3231#include "EventQueue.h"
    3332#include "ExceptionCodePlaceholder.h"
  • trunk/Source/WebCore/Modules/websockets/WebSocket.cpp

    r187556 r190281  
    4141#include "Document.h"
    4242#include "Event.h"
    43 #include "EventException.h"
    4443#include "EventListener.h"
    4544#include "EventNames.h"
  • trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj

    r190272 r190281  
    18611861      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
    18621862    </ClCompile>
    1863     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.cpp">
    1864       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    1865       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
    1866       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
    1867       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
    1868       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
    1869       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
    1870       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
    1871       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
    1872       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
    1873       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
    1874       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
    1875       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
    1876     </ClCompile>
    18771863    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.cpp">
    18781864      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
     
    1421414200    </ClCompile>
    1421514201    <ClCompile Include="..\dom\EventDispatcher.cpp">
    14216       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    14217       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
    14218       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
    14219       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
    14220       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
    14221       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
    14222       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
    14223       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
    14224       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
    14225       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
    14226       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
    14227       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
    14228     </ClCompile>
    14229     <ClCompile Include="..\dom\EventException.cpp">
    1423014202      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    1423114203      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     
    1989119863    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.h" />
    1989219864    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.h" />
    19893     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.h" />
    1989419865    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.h" />
    1989519866    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventTarget.h" />
  • trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters

    r190272 r190281  
    31543154      <Filter>dom</Filter>
    31553155    </ClCompile>
    3156     <ClCompile Include="..\dom\EventException.cpp">
    3157       <Filter>dom</Filter>
    3158     </ClCompile>
    31593156    <ClCompile Include="..\dom\EventListenerMap.cpp">
    31603157      <Filter>dom</Filter>
     
    52625259    </ClCompile>
    52635260    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.cpp">
    5264       <Filter>DerivedSources</Filter>
    5265     </ClCompile>
    5266     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.cpp">
    52675261      <Filter>DerivedSources</Filter>
    52685262    </ClCompile>
     
    1266912663    </ClInclude>
    1267012664    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.h">
    12671       <Filter>DerivedSources</Filter>
    12672     </ClInclude>
    12673     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.h">
    1267412665      <Filter>DerivedSources</Filter>
    1267512666    </ClInclude>
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r190272 r190281  
    25952595                7C4902A218B825F8007D9298 /* DOMWheelEventInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85989DCA0ACC8BBD00A0BC51 /* DOMWheelEventInternal.h */; };
    25962596                7C4C96DC1AD4483500365A50 /* JSReadableStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A50 /* JSReadableStream.cpp */; };
     2597                7C4C96DC1AD4483500365A51 /* ReadableStreamBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */; };
    25972598                7C4C96DC1AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */; };
    2598                 7C4C96DC1AD4483500365A51 /* ReadableStreamBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */; };
    25992599                7C4C96DD1AD4483500365A50 /* JSReadableStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C4C96D91AD4483500365A50 /* JSReadableStream.h */; };
    26002600                7C4C96DE1AD4483500365A50 /* JSReadableStreamReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96DA1AD4483500365A50 /* JSReadableStreamReader.cpp */; };
     
    37183718                978AD67514130A8D00C7CAE3 /* HTMLSpanElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 978AD67214130A8D00C7CAE3 /* HTMLSpanElement.h */; };
    37193719                978D07B6145A0F030096908D /* FileException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07B5145A0F030096908D /* FileException.cpp */; };
    3720                 978D07BC145A0F560096908D /* EventException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07BB145A0F560096908D /* EventException.cpp */; };
    37213720                978D07BE145A0F6C0096908D /* DOMCoreException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07BD145A0F6C0096908D /* DOMCoreException.cpp */; };
    37223721                978D07CA145A10160096908D /* SVGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07C9145A10160096908D /* SVGException.cpp */; };
     
    53885387                BC60D8F30D2A11E000B9918F /* ExceptionBase.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D8F10D2A11E000B9918F /* ExceptionBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
    53895388                BC60D90C0D2A17CE00B9918F /* EventException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9090D2A17CE00B9918F /* EventException.h */; };
    5390                 BC60D9BF0D2A269A00B9918F /* JSEventException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */; };
    5391                 BC60D9C00D2A269A00B9918F /* JSEventException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9BE0D2A269A00B9918F /* JSEventException.h */; };
    53925389                BC60D9C90D2A29E500B9918F /* XMLHttpRequestException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9C70D2A29E500B9918F /* XMLHttpRequestException.h */; };
    53935390                BC60DA390D2A302800B9918F /* JSXMLHttpRequestException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC60DA370D2A302800B9918F /* JSXMLHttpRequestException.cpp */; };
     
    99899986                7C48A6D2191C9D8E00026674 /* WebKitNamespace.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebKitNamespace.idl; sourceTree = "<group>"; };
    99909987                7C4C96D81AD4483500365A50 /* JSReadableStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStream.cpp; sourceTree = "<group>"; };
     9988                7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReadableStreamBuiltins.cpp; sourceTree = "<group>"; };
    99919989                7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CountQueuingStrategyBuiltins.cpp; sourceTree = "<group>"; };
    9992                 7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ReadableStreamBuiltins.cpp; sourceTree = "<group>"; };
    99939990                7C4C96D91AD4483500365A50 /* JSReadableStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStream.h; sourceTree = "<group>"; };
    99949991                7C4C96DA1AD4483500365A50 /* JSReadableStreamReader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStreamReader.cpp; sourceTree = "<group>"; };
     
    1111311110                978AD67314130A8D00C7CAE3 /* HTMLSpanElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLSpanElement.idl; sourceTree = "<group>"; };
    1111411111                978D07B5145A0F030096908D /* FileException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileException.cpp; sourceTree = "<group>"; };
    11115                 978D07BB145A0F560096908D /* EventException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventException.cpp; sourceTree = "<group>"; };
    1111611112                978D07BD145A0F6C0096908D /* DOMCoreException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMCoreException.cpp; sourceTree = "<group>"; };
    1111711113                978D07C9145A10160096908D /* SVGException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGException.cpp; sourceTree = "<group>"; };
     
    1302313019                BC60D9090D2A17CE00B9918F /* EventException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventException.h; sourceTree = "<group>"; };
    1302413020                BC60D90A0D2A17CE00B9918F /* EventException.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EventException.idl; sourceTree = "<group>"; };
    13025                 BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSEventException.cpp; sourceTree = "<group>"; };
    13026                 BC60D9BE0D2A269A00B9918F /* JSEventException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSEventException.h; sourceTree = "<group>"; };
    1302713021                BC60D9C70D2A29E500B9918F /* XMLHttpRequestException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLHttpRequestException.h; sourceTree = "<group>"; };
    1302813022                BC60D9C80D2A29E500B9918F /* XMLHttpRequestException.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = XMLHttpRequestException.idl; sourceTree = "<group>"; };
     
    2013620130                                14E8378309F85D1C00B85AE4 /* JSEvent.cpp */,
    2013720131                                14E8378D09F85D4F00B85AE4 /* JSEvent.h */,
    20138                                 BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */,
    20139                                 BC60D9BE0D2A269A00B9918F /* JSEventException.h */,
    2014020132                                C6A703325C9D0B6CDCBC4D78 /* JSEventTarget.cpp */,
    2014120133                                5FC7DC26CFE2563200B85AE5 /* JSEventTarget.h */,
     
    2345123443                                418A06CF133C04D500CD379C /* EventDispatcher.cpp */,
    2345223444                                418A06CE133C04D500CD379C /* EventDispatcher.h */,
    23453                                 978D07BB145A0F560096908D /* EventException.cpp */,
    2345423445                                BC60D9090D2A17CE00B9918F /* EventException.h */,
    2345523446                                BC60D90A0D2A17CE00B9918F /* EventException.idl */,
     
    2442224413                                BC5EB9510E82056B00B25965 /* CounterDirectives.h in Headers */,
    2442324414                                9392F14C0AD1861B00691BD4 /* CounterNode.h in Headers */,
    24424                                 148B4FFE1B6904AA00C954E4 /* CountQueuingStrategy.h in Headers */,
    2442524415                                D0B0556809C6700100307E43 /* CreateLinkCommand.h in Headers */,
    2442624416                                514C766E0CE923A1007EF3CD /* Credential.h in Headers */,
     
    2561925609                                F3D461491161D53200CA0D09 /* JSErrorHandler.h in Headers */,
    2562025610                                14E8378E09F85D4F00B85AE4 /* JSEvent.h in Headers */,
    25621                                 BC60D9C00D2A269A00B9918F /* JSEventException.h in Headers */,
    2562225611                                93B70D6A09EB0C7C009D8468 /* JSEventListener.h in Headers */,
    2562325612                                E0FEF372B37C53EAC1C1FBEE /* JSEventSource.h in Headers */,
     
    2863028619                                4138D3361244054800323D33 /* EventContext.cpp in Sources */,
    2863128620                                418A06D1133C04D500CD379C /* EventDispatcher.cpp in Sources */,
    28632                                 978D07BC145A0F560096908D /* EventException.cpp in Sources */,
    2863328621                                9766504F144FBFFE00F6BB51 /* EventFactory.cpp in Sources */,
    2863428622                                93C09A810B064F00005ABD4D /* EventHandler.cpp in Sources */,
     
    2919829186                                14E8378409F85D1C00B85AE4 /* JSEvent.cpp in Sources */,
    2919929187                                BCEFAF4E0C317E6900FA81F6 /* JSEventCustom.cpp in Sources */,
    29200                                 BC60D9BF0D2A269A00B9918F /* JSEventException.cpp in Sources */,
    2920129188                                93B70D6909EB0C7C009D8468 /* JSEventListener.cpp in Sources */,
    2920229189                                E0FEF372B47C53EAC1C1FBEE /* JSEventSource.cpp in Sources */,
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp

    r190210 r190281  
    2929#include "Element.h"
    3030#include "Event.h"
    31 #include "EventException.h"
    3231#include "EventTarget.h"
    3332#include "File.h"
  • trunk/Source/WebCore/bindings/js/JSExceptionBase.cpp

    r189202 r190281  
    2828
    2929#include "JSDOMCoreException.h"
    30 #include "JSEventException.h"
    3130#include "JSSQLException.h"
    3231#include "JSSVGException.h"
     
    4140    if (DOMCoreException* domException = JSDOMCoreException::toWrapped(value))
    4241        return reinterpret_cast<ExceptionBase*>(domException);
    43     if (EventException* eventException = JSEventException::toWrapped(value))
    44         return reinterpret_cast<ExceptionBase*>(eventException);
    4542    if (XMLHttpRequestException* xmlHttpException = JSXMLHttpRequestException::toWrapped(value))
    4643        return reinterpret_cast<ExceptionBase*>(xmlHttpException);
  • trunk/Source/WebCore/dom/DOMAllInOne.cpp

    r190170 r190281  
    8080#include "EventContext.cpp"
    8181#include "EventDispatcher.cpp"
    82 #include "EventException.cpp"
    8382#include "EventListenerMap.cpp"
    8483#include "EventNames.cpp"
  • trunk/Source/WebCore/dom/DOMExceptions.in

    r189202 r190281  
    22
    33DOMCoreException
    4 EventException
    54FileException
    65SQLException
  • trunk/Source/WebCore/dom/EventException.h

    r177744 r190281  
    3535
    3636class EventException : public ExceptionBase {
    37 public:
    38     static Ref<EventException> create(const ExceptionCodeDescription& description)
    39     {
    40         return adoptRef(*new EventException(description));
    41     }
    42 
    43     static const int EventExceptionOffset = 100;
    44     static const int EventExceptionMax = 199;
    45 
    46     enum EventExceptionCode {
    47         UNSPECIFIED_EVENT_TYPE_ERR = EventExceptionOffset,
    48         DISPATCH_REQUEST_ERR
    49     };
    50 
    51     static bool initializeDescription(ExceptionCode, ExceptionCodeDescription*);
    52 
    5337private:
    5438    explicit EventException(const ExceptionCodeDescription& description)
  • trunk/Source/WebCore/dom/EventException.idl

    r171824 r190281  
    2727 */
    2828
     29#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
     30
    2931// Introduced in DOM Level 2:
    3032[
     33    NoInterfaceObject,
    3134    DoNotCheckConstants,
    3235    ImplementationLacksVTable,
     
    3740    readonly attribute DOMString        message;
    3841
    39 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
    40     // Override in a Mozilla compatible format
    41     [NotEnumerable] DOMString toString();
    42 #endif
    43 
    4442    // EventExceptionCode
    4543    const unsigned short UNSPECIFIED_EVENT_TYPE_ERR = 0;
     
    4745};
    4846
     47#endif
  • trunk/Source/WebCore/dom/EventListenerMap.cpp

    r189565 r190281  
    3535
    3636#include "Event.h"
    37 #include "EventException.h"
    3837#include "EventTarget.h"
    3938#include <wtf/MainThread.h>
  • trunk/Source/WebCore/dom/EventTarget.cpp

    r189565 r190281  
    3333#include "EventTarget.h"
    3434
    35 #include "EventException.h"
     35#include "ExceptionCode.h"
    3636#include "InspectorInstrumentation.h"
    3737#include "ScriptController.h"
  • trunk/Source/WebCore/dom/MessagePort.cpp

    r189565 r190281  
    2929
    3030#include "Document.h"
    31 #include "EventException.h"
     31#include "ExceptionCode.h"
    3232#include "MessageEvent.h"
    3333#include "SecurityOrigin.h"
  • trunk/Source/WebCore/dom/Node.cpp

    r190210 r190281  
    4040#include "ElementTraversal.h"
    4141#include "EventDispatcher.h"
    42 #include "EventException.h"
    4342#include "EventHandler.h"
    4443#include "FrameView.h"
  • trunk/Source/WebCore/loader/appcache/DOMApplicationCache.cpp

    r156413 r190281  
    3131#include "DocumentLoader.h"
    3232#include "Event.h"
    33 #include "EventException.h"
    3433#include "EventListener.h"
    3534#include "EventNames.h"
  • trunk/Source/WebCore/page/DOMWindow.cpp

    r190017 r190281  
    5555#include "Editor.h"
    5656#include "Element.h"
    57 #include "EventException.h"
    5857#include "EventHandler.h"
    5958#include "EventListener.h"
  • trunk/Source/WebCore/page/EventSource.cpp

    r187706 r190281  
    3939#include "Document.h"
    4040#include "Event.h"
    41 #include "EventException.h"
    4241#include "ExceptionCode.h"
    4342#include "Frame.h"
  • trunk/Source/WebCore/page/PerformanceUserTiming.h

    r184066 r190281  
    2929#if ENABLE(USER_TIMING)
    3030
    31 #include "EventException.h"
    3231#include "ExceptionCode.h"
    3332#include "Performance.h"
  • trunk/Source/WebCore/workers/AbstractWorker.cpp

    r180801 r190281  
    3636#include "ErrorEvent.h"
    3737#include "Event.h"
    38 #include "EventException.h"
    3938#include "EventNames.h"
    4039#include "ExceptionCode.h"
  • trunk/Source/WebCore/workers/Worker.cpp

    r184990 r190281  
    3333#include "CachedResourceLoader.h"
    3434#include "Document.h"
    35 #include "EventException.h"
    3635#include "EventListener.h"
    3736#include "EventNames.h"
  • trunk/Source/WebCore/workers/WorkerGlobalScope.cpp

    r185608 r190281  
    3636#include "ErrorEvent.h"
    3737#include "Event.h"
    38 #include "EventException.h"
    3938#include "ExceptionCode.h"
    4039#include "InspectorConsoleInstrumentation.h"
  • trunk/Source/WebCore/xml/XMLHttpRequest.cpp

    r190025 r190281  
    3131#include "DOMImplementation.h"
    3232#include "Event.h"
    33 #include "EventException.h"
    3433#include "ExceptionCode.h"
    3534#include "File.h"
  • trunk/Source/WebCore/xml/XMLHttpRequestUpload.cpp

    r161891 r190281  
    2828
    2929#include "Event.h"
    30 #include "EventException.h"
    3130#include "XMLHttpRequestProgressEvent.h"
    3231#include <wtf/Assertions.h>
Note: See TracChangeset for help on using the changeset viewer.