Changeset 190281 in webkit
- Timestamp:
- Sep 28, 2015 11:26:31 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r190280 r190281 1 2015-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 1 24 2015-09-28 Chris Dumez <cdumez@apple.com> 2 25 -
trunk/LayoutTests/fast/dom/Window/resources/window-properties.js
r190120 r190281 58 58 ["Element", "object"], 59 59 ["Event", "object"], 60 ["EventException", "object"],61 60 ["HTMLAnchorElement", "object"], 62 61 ["HTMLAppletElement", "object"], -
trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
r190120 r190281 117 117 PASS win['Event'] == '[object EventConstructor]' is true 118 118 PASS win['Event'] == '[object EventConstructor]' is true 119 PASS win['EventException'] == '[object EventExceptionConstructor]' is true120 PASS win['EventException'] == '[object EventExceptionConstructor]' is true121 119 PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true 122 120 PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true -
trunk/LayoutTests/imported/w3c/ChangeLog
r190280 r190281 1 2015-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 1 13 2015-09-28 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
r190120 r190281 11 11 PASS Historical DOM features must be removed: Entity 12 12 PASS 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]" 13 PASS Historical DOM features must be removed: EventException 14 14 PASS Historical DOM features must be removed: NameList 15 15 PASS Historical DOM features must be removed: Notation -
trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 324 324 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 325 325 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 326 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException327 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false328 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false329 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false330 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true331 326 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 332 327 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 324 324 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 325 325 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 326 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException327 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false328 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false329 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false330 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true331 326 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 332 327 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
r190120 r190281 117 117 PASS win['Event'] == '[object EventConstructor]' is true 118 118 PASS win['Event'] == '[object EventConstructor]' is true 119 PASS win['EventException'] == '[object EventExceptionConstructor]' is true120 PASS win['EventException'] == '[object EventExceptionConstructor]' is true121 119 PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true 122 120 PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true -
trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 329 329 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 330 330 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 331 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException332 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false333 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false334 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false335 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true336 331 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 337 332 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 319 319 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 320 320 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 321 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException322 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false323 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false324 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false325 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true326 321 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 327 322 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 319 319 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 320 320 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 321 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException322 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false323 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false324 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false325 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true326 321 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 327 322 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
r190120 r190281 117 117 PASS win['Event'] == '[object EventConstructor]' is true 118 118 PASS win['Event'] == '[object EventConstructor]' is true 119 PASS win['EventException'] == '[object EventExceptionConstructor]' is true120 PASS win['EventException'] == '[object EventExceptionConstructor]' is true121 119 PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true 122 120 PASS win['HTMLAnchorElement'] == '[object HTMLAnchorElementConstructor]' is true -
trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 319 319 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 320 320 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 321 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException322 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false323 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false324 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false325 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true326 321 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 327 322 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
r190120 r190281 249 249 PASS Object.getOwnPropertyDescriptor(global, 'Event').enumerable is false 250 250 PASS Object.getOwnPropertyDescriptor(global, 'Event').configurable is true 251 PASS Object.getOwnPropertyDescriptor(global, 'EventException').value is EventException252 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('get') is false253 PASS Object.getOwnPropertyDescriptor(global, 'EventException').hasOwnProperty('set') is false254 PASS Object.getOwnPropertyDescriptor(global, 'EventException').enumerable is false255 PASS Object.getOwnPropertyDescriptor(global, 'EventException').configurable is true256 251 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').value is EventSource 257 252 PASS Object.getOwnPropertyDescriptor(global, 'EventSource').hasOwnProperty('get') is false -
trunk/Source/WebCore/CMakeLists.txt
r190272 r190281 394 394 dom/ErrorEvent.idl 395 395 dom/Event.idl 396 dom/EventException.idl397 396 dom/EventTarget.idl 398 397 dom/FocusEvent.idl … … 1432 1431 dom/EventContext.cpp 1433 1432 dom/EventDispatcher.cpp 1434 dom/EventException.cpp1435 1433 dom/EventListenerMap.cpp 1436 1434 dom/EventNames.cpp -
trunk/Source/WebCore/ChangeLog
r190280 r190281 1 2015-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 1 46 2015-09-28 Chris Dumez <cdumez@apple.com> 2 47 -
trunk/Source/WebCore/DerivedSources.cpp
r190198 r190281 153 153 #include "JSErrorEvent.cpp" 154 154 #include "JSEvent.cpp" 155 #include "JSEventException.cpp"156 155 #include "JSEventSource.cpp" 157 156 #include "JSEventTarget.cpp" -
trunk/Source/WebCore/DerivedSources.make
r190198 r190281 288 288 $(WebCore)/dom/ErrorEvent.idl \ 289 289 $(WebCore)/dom/Event.idl \ 290 $(WebCore)/dom/EventException.idl \291 290 $(WebCore)/dom/EventListener.idl \ 292 291 $(WebCore)/dom/EventTarget.idl \ -
trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp
r190250 r190281 32 32 #if ENABLE(INDEXED_DATABASE) 33 33 34 #include "EventException.h"35 34 #include "EventListener.h" 36 35 #include "EventNames.h" -
trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp
r190250 r190281 29 29 #if ENABLE(INDEXED_DATABASE) 30 30 31 #include "EventException.h"32 31 #include "EventQueue.h" 33 32 #include "ExceptionCodePlaceholder.h" -
trunk/Source/WebCore/Modules/websockets/WebSocket.cpp
r187556 r190281 41 41 #include "Document.h" 42 42 #include "Event.h" 43 #include "EventException.h"44 43 #include "EventListener.h" 45 44 #include "EventNames.h" -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
r190272 r190281 1861 1861 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild> 1862 1862 </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>1877 1863 <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.cpp"> 1878 1864 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> … … 14214 14200 </ClCompile> 14215 14201 <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">14230 14202 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> 14231 14203 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> … … 19891 19863 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.h" /> 19892 19864 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.h" /> 19893 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.h" />19894 19865 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventSource.h" /> 19895 19866 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventTarget.h" /> -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
r190272 r190281 3154 3154 <Filter>dom</Filter> 3155 3155 </ClCompile> 3156 <ClCompile Include="..\dom\EventException.cpp">3157 <Filter>dom</Filter>3158 </ClCompile>3159 3156 <ClCompile Include="..\dom\EventListenerMap.cpp"> 3160 3157 <Filter>dom</Filter> … … 5262 5259 </ClCompile> 5263 5260 <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">5267 5261 <Filter>DerivedSources</Filter> 5268 5262 </ClCompile> … … 12669 12663 </ClInclude> 12670 12664 <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">12674 12665 <Filter>DerivedSources</Filter> 12675 12666 </ClInclude> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r190272 r190281 2595 2595 7C4902A218B825F8007D9298 /* DOMWheelEventInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85989DCA0ACC8BBD00A0BC51 /* DOMWheelEventInternal.h */; }; 2596 2596 7C4C96DC1AD4483500365A50 /* JSReadableStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A50 /* JSReadableStream.cpp */; }; 2597 7C4C96DC1AD4483500365A51 /* ReadableStreamBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */; }; 2597 2598 7C4C96DC1AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A52 /* CountQueuingStrategyBuiltins.cpp */; }; 2598 7C4C96DC1AD4483500365A51 /* ReadableStreamBuiltins.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96D81AD4483500365A51 /* ReadableStreamBuiltins.cpp */; };2599 2599 7C4C96DD1AD4483500365A50 /* JSReadableStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C4C96D91AD4483500365A50 /* JSReadableStream.h */; }; 2600 2600 7C4C96DE1AD4483500365A50 /* JSReadableStreamReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C4C96DA1AD4483500365A50 /* JSReadableStreamReader.cpp */; }; … … 3718 3718 978AD67514130A8D00C7CAE3 /* HTMLSpanElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 978AD67214130A8D00C7CAE3 /* HTMLSpanElement.h */; }; 3719 3719 978D07B6145A0F030096908D /* FileException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07B5145A0F030096908D /* FileException.cpp */; }; 3720 978D07BC145A0F560096908D /* EventException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07BB145A0F560096908D /* EventException.cpp */; };3721 3720 978D07BE145A0F6C0096908D /* DOMCoreException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07BD145A0F6C0096908D /* DOMCoreException.cpp */; }; 3722 3721 978D07CA145A10160096908D /* SVGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 978D07C9145A10160096908D /* SVGException.cpp */; }; … … 5388 5387 BC60D8F30D2A11E000B9918F /* ExceptionBase.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D8F10D2A11E000B9918F /* ExceptionBase.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5389 5388 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 */; };5392 5389 BC60D9C90D2A29E500B9918F /* XMLHttpRequestException.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60D9C70D2A29E500B9918F /* XMLHttpRequestException.h */; }; 5393 5390 BC60DA390D2A302800B9918F /* JSXMLHttpRequestException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC60DA370D2A302800B9918F /* JSXMLHttpRequestException.cpp */; }; … … 9989 9986 7C48A6D2191C9D8E00026674 /* WebKitNamespace.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebKitNamespace.idl; sourceTree = "<group>"; }; 9990 9987 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>"; }; 9991 9989 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>"; };9993 9990 7C4C96D91AD4483500365A50 /* JSReadableStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStream.h; sourceTree = "<group>"; }; 9994 9991 7C4C96DA1AD4483500365A50 /* JSReadableStreamReader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStreamReader.cpp; sourceTree = "<group>"; }; … … 11113 11110 978AD67314130A8D00C7CAE3 /* HTMLSpanElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLSpanElement.idl; sourceTree = "<group>"; }; 11114 11111 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>"; };11116 11112 978D07BD145A0F6C0096908D /* DOMCoreException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMCoreException.cpp; sourceTree = "<group>"; }; 11117 11113 978D07C9145A10160096908D /* SVGException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGException.cpp; sourceTree = "<group>"; }; … … 13023 13019 BC60D9090D2A17CE00B9918F /* EventException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventException.h; sourceTree = "<group>"; }; 13024 13020 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>"; };13027 13021 BC60D9C70D2A29E500B9918F /* XMLHttpRequestException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLHttpRequestException.h; sourceTree = "<group>"; }; 13028 13022 BC60D9C80D2A29E500B9918F /* XMLHttpRequestException.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = XMLHttpRequestException.idl; sourceTree = "<group>"; }; … … 20136 20130 14E8378309F85D1C00B85AE4 /* JSEvent.cpp */, 20137 20131 14E8378D09F85D4F00B85AE4 /* JSEvent.h */, 20138 BC60D9BD0D2A269A00B9918F /* JSEventException.cpp */,20139 BC60D9BE0D2A269A00B9918F /* JSEventException.h */,20140 20132 C6A703325C9D0B6CDCBC4D78 /* JSEventTarget.cpp */, 20141 20133 5FC7DC26CFE2563200B85AE5 /* JSEventTarget.h */, … … 23451 23443 418A06CF133C04D500CD379C /* EventDispatcher.cpp */, 23452 23444 418A06CE133C04D500CD379C /* EventDispatcher.h */, 23453 978D07BB145A0F560096908D /* EventException.cpp */,23454 23445 BC60D9090D2A17CE00B9918F /* EventException.h */, 23455 23446 BC60D90A0D2A17CE00B9918F /* EventException.idl */, … … 24422 24413 BC5EB9510E82056B00B25965 /* CounterDirectives.h in Headers */, 24423 24414 9392F14C0AD1861B00691BD4 /* CounterNode.h in Headers */, 24424 148B4FFE1B6904AA00C954E4 /* CountQueuingStrategy.h in Headers */,24425 24415 D0B0556809C6700100307E43 /* CreateLinkCommand.h in Headers */, 24426 24416 514C766E0CE923A1007EF3CD /* Credential.h in Headers */, … … 25619 25609 F3D461491161D53200CA0D09 /* JSErrorHandler.h in Headers */, 25620 25610 14E8378E09F85D4F00B85AE4 /* JSEvent.h in Headers */, 25621 BC60D9C00D2A269A00B9918F /* JSEventException.h in Headers */,25622 25611 93B70D6A09EB0C7C009D8468 /* JSEventListener.h in Headers */, 25623 25612 E0FEF372B37C53EAC1C1FBEE /* JSEventSource.h in Headers */, … … 28630 28619 4138D3361244054800323D33 /* EventContext.cpp in Sources */, 28631 28620 418A06D1133C04D500CD379C /* EventDispatcher.cpp in Sources */, 28632 978D07BC145A0F560096908D /* EventException.cpp in Sources */,28633 28621 9766504F144FBFFE00F6BB51 /* EventFactory.cpp in Sources */, 28634 28622 93C09A810B064F00005ABD4D /* EventHandler.cpp in Sources */, … … 29198 29186 14E8378409F85D1C00B85AE4 /* JSEvent.cpp in Sources */, 29199 29187 BCEFAF4E0C317E6900FA81F6 /* JSEventCustom.cpp in Sources */, 29200 BC60D9BF0D2A269A00B9918F /* JSEventException.cpp in Sources */,29201 29188 93B70D6909EB0C7C009D8468 /* JSEventListener.cpp in Sources */, 29202 29189 E0FEF372B47C53EAC1C1FBEE /* JSEventSource.cpp in Sources */, -
trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
r190210 r190281 29 29 #include "Element.h" 30 30 #include "Event.h" 31 #include "EventException.h"32 31 #include "EventTarget.h" 33 32 #include "File.h" -
trunk/Source/WebCore/bindings/js/JSExceptionBase.cpp
r189202 r190281 28 28 29 29 #include "JSDOMCoreException.h" 30 #include "JSEventException.h"31 30 #include "JSSQLException.h" 32 31 #include "JSSVGException.h" … … 41 40 if (DOMCoreException* domException = JSDOMCoreException::toWrapped(value)) 42 41 return reinterpret_cast<ExceptionBase*>(domException); 43 if (EventException* eventException = JSEventException::toWrapped(value))44 return reinterpret_cast<ExceptionBase*>(eventException);45 42 if (XMLHttpRequestException* xmlHttpException = JSXMLHttpRequestException::toWrapped(value)) 46 43 return reinterpret_cast<ExceptionBase*>(xmlHttpException); -
trunk/Source/WebCore/dom/DOMAllInOne.cpp
r190170 r190281 80 80 #include "EventContext.cpp" 81 81 #include "EventDispatcher.cpp" 82 #include "EventException.cpp"83 82 #include "EventListenerMap.cpp" 84 83 #include "EventNames.cpp" -
trunk/Source/WebCore/dom/DOMExceptions.in
r189202 r190281 2 2 3 3 DOMCoreException 4 EventException5 4 FileException 6 5 SQLException -
trunk/Source/WebCore/dom/EventException.h
r177744 r190281 35 35 36 36 class 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_ERR49 };50 51 static bool initializeDescription(ExceptionCode, ExceptionCodeDescription*);52 53 37 private: 54 38 explicit EventException(const ExceptionCodeDescription& description) -
trunk/Source/WebCore/dom/EventException.idl
r171824 r190281 27 27 */ 28 28 29 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 30 29 31 // Introduced in DOM Level 2: 30 32 [ 33 NoInterfaceObject, 31 34 DoNotCheckConstants, 32 35 ImplementationLacksVTable, … … 37 40 readonly attribute DOMString message; 38 41 39 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT40 // Override in a Mozilla compatible format41 [NotEnumerable] DOMString toString();42 #endif43 44 42 // EventExceptionCode 45 43 const unsigned short UNSPECIFIED_EVENT_TYPE_ERR = 0; … … 47 45 }; 48 46 47 #endif -
trunk/Source/WebCore/dom/EventListenerMap.cpp
r189565 r190281 35 35 36 36 #include "Event.h" 37 #include "EventException.h"38 37 #include "EventTarget.h" 39 38 #include <wtf/MainThread.h> -
trunk/Source/WebCore/dom/EventTarget.cpp
r189565 r190281 33 33 #include "EventTarget.h" 34 34 35 #include "E ventException.h"35 #include "ExceptionCode.h" 36 36 #include "InspectorInstrumentation.h" 37 37 #include "ScriptController.h" -
trunk/Source/WebCore/dom/MessagePort.cpp
r189565 r190281 29 29 30 30 #include "Document.h" 31 #include "E ventException.h"31 #include "ExceptionCode.h" 32 32 #include "MessageEvent.h" 33 33 #include "SecurityOrigin.h" -
trunk/Source/WebCore/dom/Node.cpp
r190210 r190281 40 40 #include "ElementTraversal.h" 41 41 #include "EventDispatcher.h" 42 #include "EventException.h"43 42 #include "EventHandler.h" 44 43 #include "FrameView.h" -
trunk/Source/WebCore/loader/appcache/DOMApplicationCache.cpp
r156413 r190281 31 31 #include "DocumentLoader.h" 32 32 #include "Event.h" 33 #include "EventException.h"34 33 #include "EventListener.h" 35 34 #include "EventNames.h" -
trunk/Source/WebCore/page/DOMWindow.cpp
r190017 r190281 55 55 #include "Editor.h" 56 56 #include "Element.h" 57 #include "EventException.h"58 57 #include "EventHandler.h" 59 58 #include "EventListener.h" -
trunk/Source/WebCore/page/EventSource.cpp
r187706 r190281 39 39 #include "Document.h" 40 40 #include "Event.h" 41 #include "EventException.h"42 41 #include "ExceptionCode.h" 43 42 #include "Frame.h" -
trunk/Source/WebCore/page/PerformanceUserTiming.h
r184066 r190281 29 29 #if ENABLE(USER_TIMING) 30 30 31 #include "EventException.h"32 31 #include "ExceptionCode.h" 33 32 #include "Performance.h" -
trunk/Source/WebCore/workers/AbstractWorker.cpp
r180801 r190281 36 36 #include "ErrorEvent.h" 37 37 #include "Event.h" 38 #include "EventException.h"39 38 #include "EventNames.h" 40 39 #include "ExceptionCode.h" -
trunk/Source/WebCore/workers/Worker.cpp
r184990 r190281 33 33 #include "CachedResourceLoader.h" 34 34 #include "Document.h" 35 #include "EventException.h"36 35 #include "EventListener.h" 37 36 #include "EventNames.h" -
trunk/Source/WebCore/workers/WorkerGlobalScope.cpp
r185608 r190281 36 36 #include "ErrorEvent.h" 37 37 #include "Event.h" 38 #include "EventException.h"39 38 #include "ExceptionCode.h" 40 39 #include "InspectorConsoleInstrumentation.h" -
trunk/Source/WebCore/xml/XMLHttpRequest.cpp
r190025 r190281 31 31 #include "DOMImplementation.h" 32 32 #include "Event.h" 33 #include "EventException.h"34 33 #include "ExceptionCode.h" 35 34 #include "File.h" -
trunk/Source/WebCore/xml/XMLHttpRequestUpload.cpp
r161891 r190281 28 28 29 29 #include "Event.h" 30 #include "EventException.h"31 30 #include "XMLHttpRequestProgressEvent.h" 32 31 #include <wtf/Assertions.h>
Note: See TracChangeset
for help on using the changeset viewer.