Make all ScriptWrappable IsoHeap-ed
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Sep 2019 10:33:16 +0000 (10:33 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Sep 2019 10:33:16 +0000 (10:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=201846
<rdar://problem/55407535>

Reviewed by Mark Lam.

This patch puts Event and derived classes under IsoHeap to make all ScriptWrappable classes IsoHeap-ed.

* Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp:
* Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
(WebCore::WebKitPlaybackTargetAvailabilityEvent::create): Deleted.
(WebCore::WebKitPlaybackTargetAvailabilityEvent::availability const): Deleted.
* Modules/applepay/ApplePayPaymentAuthorizedEvent.cpp:
* Modules/applepay/ApplePayPaymentAuthorizedEvent.h:
* Modules/applepay/ApplePayPaymentMethodSelectedEvent.cpp:
* Modules/applepay/ApplePayPaymentMethodSelectedEvent.h:
(WebCore::ApplePayPaymentMethodSelectedEvent::create): Deleted.
(WebCore::ApplePayPaymentMethodSelectedEvent::paymentMethod): Deleted.
* Modules/applepay/ApplePayShippingContactSelectedEvent.cpp:
* Modules/applepay/ApplePayShippingContactSelectedEvent.h:
* Modules/applepay/ApplePayShippingMethodSelectedEvent.cpp:
* Modules/applepay/ApplePayShippingMethodSelectedEvent.h:
* Modules/applepay/ApplePayValidateMerchantEvent.cpp:
* Modules/applepay/ApplePayValidateMerchantEvent.h:
(WebCore::ApplePayValidateMerchantEvent::create): Deleted.
(WebCore::ApplePayValidateMerchantEvent::validationURL const): Deleted.
* Modules/encryptedmedia/MediaKeyMessageEvent.cpp:
* Modules/encryptedmedia/MediaKeyMessageEvent.h:
* Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.cpp:
* Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.h:
(WebCore::WebKitMediaKeyMessageEvent::create): Deleted.
(WebCore::WebKitMediaKeyMessageEvent::message const): Deleted.
(WebCore::WebKitMediaKeyMessageEvent::destinationURL const): Deleted.
* Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.cpp:
* Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.h:
(WebCore::WebKitMediaKeyNeededEvent::create): Deleted.
(WebCore::WebKitMediaKeyNeededEvent::initData const): Deleted.
* Modules/gamepad/GamepadEvent.cpp:
* Modules/gamepad/GamepadEvent.h:
(WebCore::GamepadEvent::create): Deleted.
(WebCore::GamepadEvent::gamepad const): Deleted.
* Modules/indexeddb/IDBRequestCompletionEvent.cpp:
* Modules/indexeddb/IDBRequestCompletionEvent.h:
(WebCore::IDBRequestCompletionEvent::create): Deleted.
* Modules/indexeddb/IDBVersionChangeEvent.cpp:
* Modules/indexeddb/IDBVersionChangeEvent.h:
* Modules/mediarecorder/BlobEvent.cpp:
* Modules/mediarecorder/BlobEvent.h:
* Modules/mediarecorder/MediaRecorderErrorEvent.cpp:
* Modules/mediarecorder/MediaRecorderErrorEvent.h:
* Modules/mediastream/MediaStreamTrackEvent.cpp:
* Modules/mediastream/MediaStreamTrackEvent.h:
* Modules/mediastream/OverconstrainedErrorEvent.cpp: Copied from Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h.
* Modules/mediastream/OverconstrainedErrorEvent.h:
(WebCore::OverconstrainedErrorEvent::create): Deleted.
(WebCore::OverconstrainedErrorEvent::error const): Deleted.
(WebCore::OverconstrainedErrorEvent::OverconstrainedErrorEvent): Deleted.
* Modules/mediastream/RTCDTMFToneChangeEvent.cpp:
* Modules/mediastream/RTCDTMFToneChangeEvent.h:
* Modules/mediastream/RTCDataChannelEvent.cpp:
* Modules/mediastream/RTCDataChannelEvent.h:
* Modules/mediastream/RTCPeerConnectionIceEvent.cpp:
* Modules/mediastream/RTCPeerConnectionIceEvent.h:
(WebCore::RTCPeerConnectionIceEvent::url const): Deleted.
* Modules/mediastream/RTCTrackEvent.cpp:
* Modules/mediastream/RTCTrackEvent.h:
(WebCore::RTCTrackEvent::receiver const): Deleted.
(WebCore::RTCTrackEvent::track const): Deleted.
(WebCore::RTCTrackEvent::streams const): Deleted.
(WebCore::RTCTrackEvent::transceiver const): Deleted.
(WebCore::RTCTrackEvent::eventInterface const): Deleted.
* Modules/paymentrequest/MerchantValidationEvent.cpp:
* Modules/paymentrequest/MerchantValidationEvent.h:
* Modules/paymentrequest/PaymentMethodChangeEvent.cpp:
* Modules/paymentrequest/PaymentMethodChangeEvent.h:
* Modules/paymentrequest/PaymentRequestUpdateEvent.cpp:
* Modules/paymentrequest/PaymentRequestUpdateEvent.h:
* Modules/speech/SpeechSynthesisEvent.cpp:
* Modules/speech/SpeechSynthesisEvent.h:
(WebCore::SpeechSynthesisEvent::charIndex const): Deleted.
(WebCore::SpeechSynthesisEvent::elapsedTime const): Deleted.
(WebCore::SpeechSynthesisEvent::name const): Deleted.
(WebCore::SpeechSynthesisEvent::eventInterface const): Deleted.
* Modules/webaudio/AudioProcessingEvent.cpp:
* Modules/webaudio/AudioProcessingEvent.h:
* Modules/webaudio/OfflineAudioCompletionEvent.cpp:
* Modules/webaudio/OfflineAudioCompletionEvent.h:
* Modules/webgpu/GPUUncapturedErrorEvent.cpp:
* Modules/webgpu/GPUUncapturedErrorEvent.h:
* Modules/websockets/CloseEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
* Modules/websockets/CloseEvent.h:
(WebCore::CloseEvent::create): Deleted.
(WebCore::CloseEvent::wasClean const): Deleted.
(WebCore::CloseEvent::code const): Deleted.
(WebCore::CloseEvent::reason const): Deleted.
(WebCore::CloseEvent::CloseEvent): Deleted.
* Modules/webvr/VRDisplayEvent.cpp:
* Modules/webvr/VRDisplayEvent.h:
* Sources.txt:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/AccessibleSetValueEvent.cpp:
* accessibility/AccessibleSetValueEvent.h:
(WebCore::AccessibleSetValueEvent::create): Deleted.
(WebCore::AccessibleSetValueEvent::value const): Deleted.
* animation/AnimationPlaybackEvent.cpp:
* animation/AnimationPlaybackEvent.h:
* bindings/js/ScriptWrappable.cpp: Copied from Source/WebCore/html/canvas/WebGLContextEvent.cpp.
* bindings/js/ScriptWrappable.h:
* dom/AnimationEvent.cpp:
* dom/AnimationEvent.h:
* dom/BeforeLoadEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
* dom/BeforeLoadEvent.h:
* dom/BeforeTextInsertedEvent.cpp:
* dom/BeforeTextInsertedEvent.h:
* dom/BeforeUnloadEvent.cpp:
* dom/BeforeUnloadEvent.h:
* dom/ClipboardEvent.cpp:
* dom/ClipboardEvent.h:
* dom/CompositionEvent.cpp:
* dom/CompositionEvent.h:
* dom/CustomEvent.cpp:
* dom/CustomEvent.h:
* dom/DeviceMotionEvent.cpp:
* dom/DeviceMotionEvent.h:
* dom/DeviceOrientationEvent.cpp:
* dom/DeviceOrientationEvent.h:
* dom/ErrorEvent.cpp:
* dom/ErrorEvent.h:
* dom/Event.cpp:
* dom/Event.h:
* dom/FocusEvent.cpp:
* dom/FocusEvent.h:
* dom/HashChangeEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
* dom/HashChangeEvent.h:
* dom/InputEvent.cpp:
* dom/InputEvent.h:
* dom/KeyboardEvent.cpp:
* dom/KeyboardEvent.h:
* dom/MessageEvent.cpp:
* dom/MessageEvent.h:
* dom/MouseEvent.cpp:
* dom/MouseEvent.h:
* dom/MouseRelatedEvent.cpp:
* dom/MouseRelatedEvent.h:
* dom/MutationEvent.cpp:
* dom/MutationEvent.h:
* dom/OverflowEvent.cpp:
* dom/OverflowEvent.h:
* dom/PageTransitionEvent.cpp:
* dom/PageTransitionEvent.h:
* dom/PointerEvent.cpp:
* dom/PointerEvent.h:
* dom/PopStateEvent.cpp:
* dom/PopStateEvent.h:
* dom/ProgressEvent.cpp:
* dom/ProgressEvent.h:
* dom/PromiseRejectionEvent.cpp:
* dom/PromiseRejectionEvent.h:
* dom/SecurityPolicyViolationEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
* dom/SecurityPolicyViolationEvent.h:
* dom/TextEvent.cpp:
* dom/TextEvent.h:
* dom/TouchEvent.cpp:
* dom/TouchEvent.h:
* dom/TransitionEvent.cpp:
* dom/TransitionEvent.h:
* dom/UIEvent.cpp:
* dom/UIEvent.h:
* dom/UIEventWithKeyState.cpp:
* dom/UIEventWithKeyState.h:
* dom/WebKitAnimationEvent.cpp:
* dom/WebKitAnimationEvent.h:
* dom/WebKitTransitionEvent.cpp:
* dom/WebKitTransitionEvent.h:
* dom/WheelEvent.cpp:
* dom/WheelEvent.h:
* html/MediaEncryptedEvent.cpp:
* html/MediaEncryptedEvent.h:
* html/canvas/WebGLContextEvent.cpp:
* html/canvas/WebGLContextEvent.h:
* html/shadow/ProgressShadowElement.h:
* html/track/TrackEvent.cpp:
* html/track/TrackEvent.h:
* storage/StorageEvent.cpp:
* storage/StorageEvent.h:
(WebCore::StorageEvent::key const): Deleted.
(WebCore::StorageEvent::oldValue const): Deleted.
(WebCore::StorageEvent::newValue const): Deleted.
(WebCore::StorageEvent::url const): Deleted.
(WebCore::StorageEvent::storageArea const): Deleted.
* svg/SVGFEDistantLightElement.h:
* svg/SVGFEFuncAElement.h:
* svg/SVGFEFuncBElement.h:
* svg/SVGFEFuncGElement.h:
* svg/SVGFEFuncRElement.h:
* svg/SVGFEPointLightElement.h:
* svg/SVGFESpotLightElement.h:
* svg/SVGZoomEvent.cpp:
* svg/SVGZoomEvent.h:
* workers/service/ExtendableEvent.cpp:
* workers/service/ExtendableEvent.h:
* workers/service/ExtendableMessageEvent.cpp:
* workers/service/ExtendableMessageEvent.h:
* workers/service/FetchEvent.cpp:
* workers/service/FetchEvent.h:
* xml/XMLHttpRequestProgressEvent.cpp: Copied from Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.cpp.
* xml/XMLHttpRequestProgressEvent.h:
(WebCore::XMLHttpRequestProgressEvent::create): Deleted.
(WebCore::XMLHttpRequestProgressEvent::position const): Deleted.
(WebCore::XMLHttpRequestProgressEvent::totalSize const): Deleted.
(WebCore::XMLHttpRequestProgressEvent::XMLHttpRequestProgressEvent): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250030 268f45cc-cd09-0410-ab3c-d52691b4dbfc

161 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp
Source/WebCore/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h
Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizedEvent.cpp
Source/WebCore/Modules/applepay/ApplePayPaymentAuthorizedEvent.h
Source/WebCore/Modules/applepay/ApplePayPaymentMethodSelectedEvent.cpp
Source/WebCore/Modules/applepay/ApplePayPaymentMethodSelectedEvent.h
Source/WebCore/Modules/applepay/ApplePayShippingContactSelectedEvent.cpp
Source/WebCore/Modules/applepay/ApplePayShippingContactSelectedEvent.h
Source/WebCore/Modules/applepay/ApplePayShippingMethodSelectedEvent.cpp
Source/WebCore/Modules/applepay/ApplePayShippingMethodSelectedEvent.h
Source/WebCore/Modules/applepay/ApplePayValidateMerchantEvent.cpp
Source/WebCore/Modules/applepay/ApplePayValidateMerchantEvent.h
Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.cpp
Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.h
Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.cpp
Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.h
Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.cpp
Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.h
Source/WebCore/Modules/gamepad/GamepadEvent.cpp
Source/WebCore/Modules/gamepad/GamepadEvent.h
Source/WebCore/Modules/indexeddb/IDBRequestCompletionEvent.cpp
Source/WebCore/Modules/indexeddb/IDBRequestCompletionEvent.h
Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp
Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h
Source/WebCore/Modules/mediarecorder/BlobEvent.cpp
Source/WebCore/Modules/mediarecorder/BlobEvent.h
Source/WebCore/Modules/mediarecorder/MediaRecorderErrorEvent.cpp
Source/WebCore/Modules/mediarecorder/MediaRecorderErrorEvent.h
Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.cpp
Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.h
Source/WebCore/Modules/mediastream/OverconstrainedErrorEvent.cpp [new file with mode: 0644]
Source/WebCore/Modules/mediastream/OverconstrainedErrorEvent.h
Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.cpp
Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.h
Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp
Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h
Source/WebCore/Modules/mediastream/RTCPeerConnectionIceEvent.cpp
Source/WebCore/Modules/mediastream/RTCPeerConnectionIceEvent.h
Source/WebCore/Modules/mediastream/RTCTrackEvent.cpp
Source/WebCore/Modules/mediastream/RTCTrackEvent.h
Source/WebCore/Modules/paymentrequest/MerchantValidationEvent.cpp
Source/WebCore/Modules/paymentrequest/MerchantValidationEvent.h
Source/WebCore/Modules/paymentrequest/PaymentMethodChangeEvent.cpp
Source/WebCore/Modules/paymentrequest/PaymentMethodChangeEvent.h
Source/WebCore/Modules/paymentrequest/PaymentRequestUpdateEvent.cpp
Source/WebCore/Modules/paymentrequest/PaymentRequestUpdateEvent.h
Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp
Source/WebCore/Modules/speech/SpeechSynthesisEvent.h
Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp
Source/WebCore/Modules/webaudio/AudioProcessingEvent.h
Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp
Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h
Source/WebCore/Modules/webgpu/GPUUncapturedErrorEvent.cpp
Source/WebCore/Modules/webgpu/GPUUncapturedErrorEvent.h
Source/WebCore/Modules/websockets/CloseEvent.cpp [new file with mode: 0644]
Source/WebCore/Modules/websockets/CloseEvent.h
Source/WebCore/Modules/webvr/VRDisplayEvent.cpp
Source/WebCore/Modules/webvr/VRDisplayEvent.h
Source/WebCore/Sources.txt
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/accessibility/AccessibleSetValueEvent.cpp
Source/WebCore/accessibility/AccessibleSetValueEvent.h
Source/WebCore/animation/AnimationPlaybackEvent.cpp
Source/WebCore/animation/AnimationPlaybackEvent.h
Source/WebCore/bindings/js/ScriptWrappable.cpp [new file with mode: 0644]
Source/WebCore/bindings/js/ScriptWrappable.h
Source/WebCore/dom/AnimationEvent.cpp
Source/WebCore/dom/AnimationEvent.h
Source/WebCore/dom/BeforeLoadEvent.cpp [new file with mode: 0644]
Source/WebCore/dom/BeforeLoadEvent.h
Source/WebCore/dom/BeforeTextInsertedEvent.cpp
Source/WebCore/dom/BeforeTextInsertedEvent.h
Source/WebCore/dom/BeforeUnloadEvent.cpp
Source/WebCore/dom/BeforeUnloadEvent.h
Source/WebCore/dom/ClipboardEvent.cpp
Source/WebCore/dom/ClipboardEvent.h
Source/WebCore/dom/CompositionEvent.cpp
Source/WebCore/dom/CompositionEvent.h
Source/WebCore/dom/CustomEvent.cpp
Source/WebCore/dom/CustomEvent.h
Source/WebCore/dom/DeviceMotionEvent.cpp
Source/WebCore/dom/DeviceMotionEvent.h
Source/WebCore/dom/DeviceOrientationEvent.cpp
Source/WebCore/dom/DeviceOrientationEvent.h
Source/WebCore/dom/ErrorEvent.cpp
Source/WebCore/dom/ErrorEvent.h
Source/WebCore/dom/Event.cpp
Source/WebCore/dom/Event.h
Source/WebCore/dom/FocusEvent.cpp
Source/WebCore/dom/FocusEvent.h
Source/WebCore/dom/HashChangeEvent.cpp [new file with mode: 0644]
Source/WebCore/dom/HashChangeEvent.h
Source/WebCore/dom/InputEvent.cpp
Source/WebCore/dom/InputEvent.h
Source/WebCore/dom/KeyboardEvent.cpp
Source/WebCore/dom/KeyboardEvent.h
Source/WebCore/dom/MessageEvent.cpp
Source/WebCore/dom/MessageEvent.h
Source/WebCore/dom/MouseEvent.cpp
Source/WebCore/dom/MouseEvent.h
Source/WebCore/dom/MouseRelatedEvent.cpp
Source/WebCore/dom/MouseRelatedEvent.h
Source/WebCore/dom/MutationEvent.cpp
Source/WebCore/dom/MutationEvent.h
Source/WebCore/dom/OverflowEvent.cpp
Source/WebCore/dom/OverflowEvent.h
Source/WebCore/dom/PageTransitionEvent.cpp
Source/WebCore/dom/PageTransitionEvent.h
Source/WebCore/dom/PointerEvent.cpp
Source/WebCore/dom/PointerEvent.h
Source/WebCore/dom/PopStateEvent.cpp
Source/WebCore/dom/PopStateEvent.h
Source/WebCore/dom/ProgressEvent.cpp
Source/WebCore/dom/ProgressEvent.h
Source/WebCore/dom/PromiseRejectionEvent.cpp
Source/WebCore/dom/PromiseRejectionEvent.h
Source/WebCore/dom/SecurityPolicyViolationEvent.cpp [new file with mode: 0644]
Source/WebCore/dom/SecurityPolicyViolationEvent.h
Source/WebCore/dom/TextEvent.cpp
Source/WebCore/dom/TextEvent.h
Source/WebCore/dom/TouchEvent.cpp
Source/WebCore/dom/TouchEvent.h
Source/WebCore/dom/TransitionEvent.cpp
Source/WebCore/dom/TransitionEvent.h
Source/WebCore/dom/UIEvent.cpp
Source/WebCore/dom/UIEvent.h
Source/WebCore/dom/UIEventWithKeyState.cpp
Source/WebCore/dom/UIEventWithKeyState.h
Source/WebCore/dom/WebKitAnimationEvent.cpp
Source/WebCore/dom/WebKitAnimationEvent.h
Source/WebCore/dom/WebKitTransitionEvent.cpp
Source/WebCore/dom/WebKitTransitionEvent.h
Source/WebCore/dom/WheelEvent.cpp
Source/WebCore/dom/WheelEvent.h
Source/WebCore/html/MediaEncryptedEvent.cpp
Source/WebCore/html/MediaEncryptedEvent.h
Source/WebCore/html/canvas/WebGLContextEvent.cpp
Source/WebCore/html/canvas/WebGLContextEvent.h
Source/WebCore/html/shadow/ProgressShadowElement.h
Source/WebCore/html/track/TrackEvent.cpp
Source/WebCore/html/track/TrackEvent.h
Source/WebCore/storage/StorageEvent.cpp
Source/WebCore/storage/StorageEvent.h
Source/WebCore/svg/SVGFEDistantLightElement.h
Source/WebCore/svg/SVGFEFuncAElement.h
Source/WebCore/svg/SVGFEFuncBElement.h
Source/WebCore/svg/SVGFEFuncGElement.h
Source/WebCore/svg/SVGFEFuncRElement.h
Source/WebCore/svg/SVGFEPointLightElement.h
Source/WebCore/svg/SVGFESpotLightElement.h
Source/WebCore/svg/SVGZoomEvent.cpp
Source/WebCore/svg/SVGZoomEvent.h
Source/WebCore/workers/service/ExtendableEvent.cpp
Source/WebCore/workers/service/ExtendableEvent.h
Source/WebCore/workers/service/ExtendableMessageEvent.cpp
Source/WebCore/workers/service/ExtendableMessageEvent.h
Source/WebCore/workers/service/FetchEvent.cpp
Source/WebCore/workers/service/FetchEvent.h
Source/WebCore/xml/XMLHttpRequestProgressEvent.cpp [new file with mode: 0644]
Source/WebCore/xml/XMLHttpRequestProgressEvent.h

index e58f90a..4f9a53b 100644 (file)
@@ -1,3 +1,217 @@
+2019-09-18  Yusuke Suzuki  <ysuzuki@apple.com>
+
+        Make all ScriptWrappable IsoHeap-ed
+        https://bugs.webkit.org/show_bug.cgi?id=201846
+        <rdar://problem/55407535>
+
+        Reviewed by Mark Lam.
+
+        This patch puts Event and derived classes under IsoHeap to make all ScriptWrappable classes IsoHeap-ed.
+
+        * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp:
+        * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
+        (WebCore::WebKitPlaybackTargetAvailabilityEvent::create): Deleted.
+        (WebCore::WebKitPlaybackTargetAvailabilityEvent::availability const): Deleted.
+        * Modules/applepay/ApplePayPaymentAuthorizedEvent.cpp:
+        * Modules/applepay/ApplePayPaymentAuthorizedEvent.h:
+        * Modules/applepay/ApplePayPaymentMethodSelectedEvent.cpp:
+        * Modules/applepay/ApplePayPaymentMethodSelectedEvent.h:
+        (WebCore::ApplePayPaymentMethodSelectedEvent::create): Deleted.
+        (WebCore::ApplePayPaymentMethodSelectedEvent::paymentMethod): Deleted.
+        * Modules/applepay/ApplePayShippingContactSelectedEvent.cpp:
+        * Modules/applepay/ApplePayShippingContactSelectedEvent.h:
+        * Modules/applepay/ApplePayShippingMethodSelectedEvent.cpp:
+        * Modules/applepay/ApplePayShippingMethodSelectedEvent.h:
+        * Modules/applepay/ApplePayValidateMerchantEvent.cpp:
+        * Modules/applepay/ApplePayValidateMerchantEvent.h:
+        (WebCore::ApplePayValidateMerchantEvent::create): Deleted.
+        (WebCore::ApplePayValidateMerchantEvent::validationURL const): Deleted.
+        * Modules/encryptedmedia/MediaKeyMessageEvent.cpp:
+        * Modules/encryptedmedia/MediaKeyMessageEvent.h:
+        * Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.cpp:
+        * Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.h:
+        (WebCore::WebKitMediaKeyMessageEvent::create): Deleted.
+        (WebCore::WebKitMediaKeyMessageEvent::message const): Deleted.
+        (WebCore::WebKitMediaKeyMessageEvent::destinationURL const): Deleted.
+        * Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.cpp:
+        * Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.h:
+        (WebCore::WebKitMediaKeyNeededEvent::create): Deleted.
+        (WebCore::WebKitMediaKeyNeededEvent::initData const): Deleted.
+        * Modules/gamepad/GamepadEvent.cpp:
+        * Modules/gamepad/GamepadEvent.h:
+        (WebCore::GamepadEvent::create): Deleted.
+        (WebCore::GamepadEvent::gamepad const): Deleted.
+        * Modules/indexeddb/IDBRequestCompletionEvent.cpp:
+        * Modules/indexeddb/IDBRequestCompletionEvent.h:
+        (WebCore::IDBRequestCompletionEvent::create): Deleted.
+        * Modules/indexeddb/IDBVersionChangeEvent.cpp:
+        * Modules/indexeddb/IDBVersionChangeEvent.h:
+        * Modules/mediarecorder/BlobEvent.cpp:
+        * Modules/mediarecorder/BlobEvent.h:
+        * Modules/mediarecorder/MediaRecorderErrorEvent.cpp:
+        * Modules/mediarecorder/MediaRecorderErrorEvent.h:
+        * Modules/mediastream/MediaStreamTrackEvent.cpp:
+        * Modules/mediastream/MediaStreamTrackEvent.h:
+        * Modules/mediastream/OverconstrainedErrorEvent.cpp: Copied from Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h.
+        * Modules/mediastream/OverconstrainedErrorEvent.h:
+        (WebCore::OverconstrainedErrorEvent::create): Deleted.
+        (WebCore::OverconstrainedErrorEvent::error const): Deleted.
+        (WebCore::OverconstrainedErrorEvent::OverconstrainedErrorEvent): Deleted.
+        * Modules/mediastream/RTCDTMFToneChangeEvent.cpp:
+        * Modules/mediastream/RTCDTMFToneChangeEvent.h:
+        * Modules/mediastream/RTCDataChannelEvent.cpp:
+        * Modules/mediastream/RTCDataChannelEvent.h:
+        * Modules/mediastream/RTCPeerConnectionIceEvent.cpp:
+        * Modules/mediastream/RTCPeerConnectionIceEvent.h:
+        (WebCore::RTCPeerConnectionIceEvent::url const): Deleted.
+        * Modules/mediastream/RTCTrackEvent.cpp:
+        * Modules/mediastream/RTCTrackEvent.h:
+        (WebCore::RTCTrackEvent::receiver const): Deleted.
+        (WebCore::RTCTrackEvent::track const): Deleted.
+        (WebCore::RTCTrackEvent::streams const): Deleted.
+        (WebCore::RTCTrackEvent::transceiver const): Deleted.
+        (WebCore::RTCTrackEvent::eventInterface const): Deleted.
+        * Modules/paymentrequest/MerchantValidationEvent.cpp:
+        * Modules/paymentrequest/MerchantValidationEvent.h:
+        * Modules/paymentrequest/PaymentMethodChangeEvent.cpp:
+        * Modules/paymentrequest/PaymentMethodChangeEvent.h:
+        * Modules/paymentrequest/PaymentRequestUpdateEvent.cpp:
+        * Modules/paymentrequest/PaymentRequestUpdateEvent.h:
+        * Modules/speech/SpeechSynthesisEvent.cpp:
+        * Modules/speech/SpeechSynthesisEvent.h:
+        (WebCore::SpeechSynthesisEvent::charIndex const): Deleted.
+        (WebCore::SpeechSynthesisEvent::elapsedTime const): Deleted.
+        (WebCore::SpeechSynthesisEvent::name const): Deleted.
+        (WebCore::SpeechSynthesisEvent::eventInterface const): Deleted.
+        * Modules/webaudio/AudioProcessingEvent.cpp:
+        * Modules/webaudio/AudioProcessingEvent.h:
+        * Modules/webaudio/OfflineAudioCompletionEvent.cpp:
+        * Modules/webaudio/OfflineAudioCompletionEvent.h:
+        * Modules/webgpu/GPUUncapturedErrorEvent.cpp:
+        * Modules/webgpu/GPUUncapturedErrorEvent.h:
+        * Modules/websockets/CloseEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
+        * Modules/websockets/CloseEvent.h:
+        (WebCore::CloseEvent::create): Deleted.
+        (WebCore::CloseEvent::wasClean const): Deleted.
+        (WebCore::CloseEvent::code const): Deleted.
+        (WebCore::CloseEvent::reason const): Deleted.
+        (WebCore::CloseEvent::CloseEvent): Deleted.
+        * Modules/webvr/VRDisplayEvent.cpp:
+        * Modules/webvr/VRDisplayEvent.h:
+        * Sources.txt:
+        * WebCore.xcodeproj/project.pbxproj:
+        * accessibility/AccessibleSetValueEvent.cpp:
+        * accessibility/AccessibleSetValueEvent.h:
+        (WebCore::AccessibleSetValueEvent::create): Deleted.
+        (WebCore::AccessibleSetValueEvent::value const): Deleted.
+        * animation/AnimationPlaybackEvent.cpp:
+        * animation/AnimationPlaybackEvent.h:
+        * bindings/js/ScriptWrappable.cpp: Copied from Source/WebCore/html/canvas/WebGLContextEvent.cpp.
+        * bindings/js/ScriptWrappable.h:
+        * dom/AnimationEvent.cpp:
+        * dom/AnimationEvent.h:
+        * dom/BeforeLoadEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
+        * dom/BeforeLoadEvent.h:
+        * dom/BeforeTextInsertedEvent.cpp:
+        * dom/BeforeTextInsertedEvent.h:
+        * dom/BeforeUnloadEvent.cpp:
+        * dom/BeforeUnloadEvent.h:
+        * dom/ClipboardEvent.cpp:
+        * dom/ClipboardEvent.h:
+        * dom/CompositionEvent.cpp:
+        * dom/CompositionEvent.h:
+        * dom/CustomEvent.cpp:
+        * dom/CustomEvent.h:
+        * dom/DeviceMotionEvent.cpp:
+        * dom/DeviceMotionEvent.h:
+        * dom/DeviceOrientationEvent.cpp:
+        * dom/DeviceOrientationEvent.h:
+        * dom/ErrorEvent.cpp:
+        * dom/ErrorEvent.h:
+        * dom/Event.cpp:
+        * dom/Event.h:
+        * dom/FocusEvent.cpp:
+        * dom/FocusEvent.h:
+        * dom/HashChangeEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
+        * dom/HashChangeEvent.h:
+        * dom/InputEvent.cpp:
+        * dom/InputEvent.h:
+        * dom/KeyboardEvent.cpp:
+        * dom/KeyboardEvent.h:
+        * dom/MessageEvent.cpp:
+        * dom/MessageEvent.h:
+        * dom/MouseEvent.cpp:
+        * dom/MouseEvent.h:
+        * dom/MouseRelatedEvent.cpp:
+        * dom/MouseRelatedEvent.h:
+        * dom/MutationEvent.cpp:
+        * dom/MutationEvent.h:
+        * dom/OverflowEvent.cpp:
+        * dom/OverflowEvent.h:
+        * dom/PageTransitionEvent.cpp:
+        * dom/PageTransitionEvent.h:
+        * dom/PointerEvent.cpp:
+        * dom/PointerEvent.h:
+        * dom/PopStateEvent.cpp:
+        * dom/PopStateEvent.h:
+        * dom/ProgressEvent.cpp:
+        * dom/ProgressEvent.h:
+        * dom/PromiseRejectionEvent.cpp:
+        * dom/PromiseRejectionEvent.h:
+        * dom/SecurityPolicyViolationEvent.cpp: Copied from Source/WebCore/dom/BeforeTextInsertedEvent.cpp.
+        * dom/SecurityPolicyViolationEvent.h:
+        * dom/TextEvent.cpp:
+        * dom/TextEvent.h:
+        * dom/TouchEvent.cpp:
+        * dom/TouchEvent.h:
+        * dom/TransitionEvent.cpp:
+        * dom/TransitionEvent.h:
+        * dom/UIEvent.cpp:
+        * dom/UIEvent.h:
+        * dom/UIEventWithKeyState.cpp:
+        * dom/UIEventWithKeyState.h:
+        * dom/WebKitAnimationEvent.cpp:
+        * dom/WebKitAnimationEvent.h:
+        * dom/WebKitTransitionEvent.cpp:
+        * dom/WebKitTransitionEvent.h:
+        * dom/WheelEvent.cpp:
+        * dom/WheelEvent.h:
+        * html/MediaEncryptedEvent.cpp:
+        * html/MediaEncryptedEvent.h:
+        * html/canvas/WebGLContextEvent.cpp:
+        * html/canvas/WebGLContextEvent.h:
+        * html/shadow/ProgressShadowElement.h:
+        * html/track/TrackEvent.cpp:
+        * html/track/TrackEvent.h:
+        * storage/StorageEvent.cpp:
+        * storage/StorageEvent.h:
+        (WebCore::StorageEvent::key const): Deleted.
+        (WebCore::StorageEvent::oldValue const): Deleted.
+        (WebCore::StorageEvent::newValue const): Deleted.
+        (WebCore::StorageEvent::url const): Deleted.
+        (WebCore::StorageEvent::storageArea const): Deleted.
+        * svg/SVGFEDistantLightElement.h:
+        * svg/SVGFEFuncAElement.h:
+        * svg/SVGFEFuncBElement.h:
+        * svg/SVGFEFuncGElement.h:
+        * svg/SVGFEFuncRElement.h:
+        * svg/SVGFEPointLightElement.h:
+        * svg/SVGFESpotLightElement.h:
+        * svg/SVGZoomEvent.cpp:
+        * svg/SVGZoomEvent.h:
+        * workers/service/ExtendableEvent.cpp:
+        * workers/service/ExtendableEvent.h:
+        * workers/service/ExtendableMessageEvent.cpp:
+        * workers/service/ExtendableMessageEvent.h:
+        * workers/service/FetchEvent.cpp:
+        * workers/service/FetchEvent.h:
+        * xml/XMLHttpRequestProgressEvent.cpp: Copied from Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.cpp.
+        * xml/XMLHttpRequestProgressEvent.h:
+        (WebCore::XMLHttpRequestProgressEvent::create): Deleted.
+        (WebCore::XMLHttpRequestProgressEvent::position const): Deleted.
+        (WebCore::XMLHttpRequestProgressEvent::totalSize const): Deleted.
+        (WebCore::XMLHttpRequestProgressEvent::XMLHttpRequestProgressEvent): Deleted.
+
 2019-09-18  Loïc Yhuel  <loic.yhuel@softathome.com>  and  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         JPEGImageDecoder: use libjpeg-turbo RGBA output path even for Adobe transform=0 JPEGs
 2019-09-18  Loïc Yhuel  <loic.yhuel@softathome.com>  and  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         JPEGImageDecoder: use libjpeg-turbo RGBA output path even for Adobe transform=0 JPEGs
index e29cad0..5c84c85 100644 (file)
 #include "config.h"
 #include "WebKitPlaybackTargetAvailabilityEvent.h"
 
 #include "config.h"
 #include "WebKitPlaybackTargetAvailabilityEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
 #include <wtf/NeverDestroyed.h>
 
 #if ENABLE(WIRELESS_PLAYBACK_TARGET)
 
 namespace WebCore {
 
 #include <wtf/NeverDestroyed.h>
 
 #if ENABLE(WIRELESS_PLAYBACK_TARGET)
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitPlaybackTargetAvailabilityEvent);
+
 static const AtomString& stringForPlaybackTargetAvailability(bool available)
 {
     static NeverDestroyed<AtomString> availableString("available", AtomString::ConstructFromLiteral);
 static const AtomString& stringForPlaybackTargetAvailability(bool available)
 {
     static NeverDestroyed<AtomString> availableString("available", AtomString::ConstructFromLiteral);
index 0ad355e..3eba074 100644 (file)
@@ -31,7 +31,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class WebKitPlaybackTargetAvailabilityEvent : public Event {
+class WebKitPlaybackTargetAvailabilityEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(WebKitPlaybackTargetAvailabilityEvent);
 public:
 
     static Ref<WebKitPlaybackTargetAvailabilityEvent> create(const AtomString& eventType, bool available)
 public:
 
     static Ref<WebKitPlaybackTargetAvailabilityEvent> create(const AtomString& eventType, bool available)
index df48375..012ddf3 100644 (file)
 #if ENABLE(APPLE_PAY)
 
 #include "Payment.h"
 #if ENABLE(APPLE_PAY)
 
 #include "Payment.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ApplePayPaymentAuthorizedEvent);
+
 ApplePayPaymentAuthorizedEvent::ApplePayPaymentAuthorizedEvent(const AtomString& type, unsigned version, const Payment& payment)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_payment(payment.toApplePayPayment(version))
 ApplePayPaymentAuthorizedEvent::ApplePayPaymentAuthorizedEvent(const AtomString& type, unsigned version, const Payment& payment)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_payment(payment.toApplePayPayment(version))
index 085d836..73f05ea 100644 (file)
@@ -35,6 +35,7 @@ namespace WebCore {
 class Payment;
 
 class ApplePayPaymentAuthorizedEvent final : public Event {
 class Payment;
 
 class ApplePayPaymentAuthorizedEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ApplePayPaymentAuthorizedEvent);
 public:
     static Ref<ApplePayPaymentAuthorizedEvent> create(const AtomString& type, unsigned version, const Payment& payment)
     {
 public:
     static Ref<ApplePayPaymentAuthorizedEvent> create(const AtomString& type, unsigned version, const Payment& payment)
     {
index 450e91c..dc3c264 100644 (file)
 #if ENABLE(APPLE_PAY)
 
 #include "PaymentMethod.h"
 #if ENABLE(APPLE_PAY)
 
 #include "PaymentMethod.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ApplePayPaymentMethodSelectedEvent);
+
 ApplePayPaymentMethodSelectedEvent::ApplePayPaymentMethodSelectedEvent(const AtomString& type, const PaymentMethod& paymentMethod)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_paymentMethod(paymentMethod.toApplePayPaymentMethod())
 ApplePayPaymentMethodSelectedEvent::ApplePayPaymentMethodSelectedEvent(const AtomString& type, const PaymentMethod& paymentMethod)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_paymentMethod(paymentMethod.toApplePayPaymentMethod())
index 81a2a4e..817c21e 100644 (file)
@@ -34,7 +34,8 @@ namespace WebCore {
 
 class PaymentMethod;
 
 
 class PaymentMethod;
 
-class ApplePayPaymentMethodSelectedEvent : public Event {
+class ApplePayPaymentMethodSelectedEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ApplePayPaymentMethodSelectedEvent);
 public:
     static Ref<ApplePayPaymentMethodSelectedEvent> create(const AtomString& type, const PaymentMethod& paymentMethod)
     {
 public:
     static Ref<ApplePayPaymentMethodSelectedEvent> create(const AtomString& type, const PaymentMethod& paymentMethod)
     {
index feea0d1..c30e729 100644 (file)
 #if ENABLE(APPLE_PAY)
 
 #include "PaymentContact.h"
 #if ENABLE(APPLE_PAY)
 
 #include "PaymentContact.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ApplePayShippingContactSelectedEvent);
+
 ApplePayShippingContactSelectedEvent::ApplePayShippingContactSelectedEvent(const AtomString& type, unsigned version, const PaymentContact& shippingContact)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_shippingContact(shippingContact.toApplePayPaymentContact(version))
 ApplePayShippingContactSelectedEvent::ApplePayShippingContactSelectedEvent(const AtomString& type, unsigned version, const PaymentContact& shippingContact)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_shippingContact(shippingContact.toApplePayPaymentContact(version))
index 19a153d..19efba4 100644 (file)
@@ -35,6 +35,7 @@ namespace WebCore {
 class PaymentContact;
 
 class ApplePayShippingContactSelectedEvent final : public Event {
 class PaymentContact;
 
 class ApplePayShippingContactSelectedEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ApplePayShippingContactSelectedEvent);
 public:
     static Ref<ApplePayShippingContactSelectedEvent> create(const AtomString& type, unsigned version, const PaymentContact& shippingContact)
     {
 public:
     static Ref<ApplePayShippingContactSelectedEvent> create(const AtomString& type, unsigned version, const PaymentContact& shippingContact)
     {
index b8e7d5c..bd765f8 100644 (file)
 
 #if ENABLE(APPLE_PAY)
 
 
 #if ENABLE(APPLE_PAY)
 
+#include <wtf/IsoMallocInlines.h>
 #include <wtf/text/StringBuilder.h>
 
 namespace WebCore {
 
 #include <wtf/text/StringBuilder.h>
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ApplePayShippingMethodSelectedEvent);
+
 static inline ApplePayShippingMethod convert(const ApplePaySessionPaymentRequest::ShippingMethod& shippingMethod)
 {
     ApplePayShippingMethod convertedMethod;
 static inline ApplePayShippingMethod convert(const ApplePaySessionPaymentRequest::ShippingMethod& shippingMethod)
 {
     ApplePayShippingMethod convertedMethod;
index 17bf1df..ca33907 100644 (file)
@@ -34,6 +34,7 @@
 namespace WebCore {
 
 class ApplePayShippingMethodSelectedEvent final : public Event {
 namespace WebCore {
 
 class ApplePayShippingMethodSelectedEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ApplePayShippingMethodSelectedEvent);
 public:
     static Ref<ApplePayShippingMethodSelectedEvent> create(const AtomString& type, const ApplePaySessionPaymentRequest::ShippingMethod& shippingMethod)
     {
 public:
     static Ref<ApplePayShippingMethodSelectedEvent> create(const AtomString& type, const ApplePaySessionPaymentRequest::ShippingMethod& shippingMethod)
     {
index f6bd722..56d329a 100644 (file)
 
 #if ENABLE(APPLE_PAY)
 
 
 #if ENABLE(APPLE_PAY)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ApplePayValidateMerchantEvent);
+
 ApplePayValidateMerchantEvent::ApplePayValidateMerchantEvent(const AtomString& type, URL&& validationURL)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_validationURL(WTFMove(validationURL))
 ApplePayValidateMerchantEvent::ApplePayValidateMerchantEvent(const AtomString& type, URL&& validationURL)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_validationURL(WTFMove(validationURL))
index 11d357e..0380c71 100644 (file)
@@ -32,7 +32,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class ApplePayValidateMerchantEvent : public Event {
+class ApplePayValidateMerchantEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ApplePayValidateMerchantEvent);
 public:
     static Ref<ApplePayValidateMerchantEvent> create(const AtomString& type, URL&& validationURL)
     {
 public:
     static Ref<ApplePayValidateMerchantEvent> create(const AtomString& type, URL&& validationURL)
     {
index ff3252a..70274eb 100644 (file)
 
 #if ENABLE(ENCRYPTED_MEDIA)
 
 
 #if ENABLE(ENCRYPTED_MEDIA)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MediaKeyMessageEvent);
+
 MediaKeyMessageEvent::MediaKeyMessageEvent(const AtomString& type, const MediaKeyMessageEvent::Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_messageType(initializer.messageType)
 MediaKeyMessageEvent::MediaKeyMessageEvent(const AtomString& type, const MediaKeyMessageEvent::Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_messageType(initializer.messageType)
index 93f3060..d52d008 100644 (file)
@@ -38,6 +38,7 @@
 namespace WebCore {
 
 class MediaKeyMessageEvent final : public Event {
 namespace WebCore {
 
 class MediaKeyMessageEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MediaKeyMessageEvent);
 public:
     using Type = MediaKeyMessageType;
     using Init = MediaKeyMessageEventInit;
 public:
     using Type = MediaKeyMessageType;
     using Init = MediaKeyMessageEventInit;
index 424cc28..6008ee8 100644 (file)
 #if ENABLE(LEGACY_ENCRYPTED_MEDIA)
 
 #include <JavaScriptCore/Uint8Array.h>
 #if ENABLE(LEGACY_ENCRYPTED_MEDIA)
 
 #include <JavaScriptCore/Uint8Array.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitMediaKeyMessageEvent);
+
 WebKitMediaKeyMessageEvent::WebKitMediaKeyMessageEvent(const AtomString& type, Uint8Array* message, const String& destinationURL)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_message(message)
 WebKitMediaKeyMessageEvent::WebKitMediaKeyMessageEvent(const AtomString& type, Uint8Array* message, const String& destinationURL)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_message(message)
index c262e4d..7fd4a61 100644 (file)
@@ -33,7 +33,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class WebKitMediaKeyMessageEvent : public Event {
+class WebKitMediaKeyMessageEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(WebKitMediaKeyMessageEvent);
 public:
     virtual ~WebKitMediaKeyMessageEvent();
 
 public:
     virtual ~WebKitMediaKeyMessageEvent();
 
index 4868bbc..abc9f63 100644 (file)
 #if ENABLE(LEGACY_ENCRYPTED_MEDIA)
 
 #include <JavaScriptCore/Uint8Array.h>
 #if ENABLE(LEGACY_ENCRYPTED_MEDIA)
 
 #include <JavaScriptCore/Uint8Array.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitMediaKeyNeededEvent);
+
 WebKitMediaKeyNeededEvent::WebKitMediaKeyNeededEvent(const AtomString& type, Uint8Array* initData)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_initData(initData)
 WebKitMediaKeyNeededEvent::WebKitMediaKeyNeededEvent(const AtomString& type, Uint8Array* initData)
     : Event(type, CanBubble::No, IsCancelable::No)
     , m_initData(initData)
index b1dd45a..194304b 100644 (file)
@@ -32,7 +32,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class WebKitMediaKeyNeededEvent : public Event {
+class WebKitMediaKeyNeededEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(WebKitMediaKeyNeededEvent);
 public:
     virtual ~WebKitMediaKeyNeededEvent();
 
 public:
     virtual ~WebKitMediaKeyNeededEvent();
 
index 42498fd..36fc61f 100644 (file)
 
 #if ENABLE(GAMEPAD)
 
 
 #if ENABLE(GAMEPAD)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(GamepadEvent);
+
 GamepadEvent::GamepadEvent(const AtomString& eventType, Gamepad& gamepad)
     : Event(eventType, CanBubble::No, IsCancelable::No)
     , m_gamepad(&gamepad)
 GamepadEvent::GamepadEvent(const AtomString& eventType, Gamepad& gamepad)
     : Event(eventType, CanBubble::No, IsCancelable::No)
     , m_gamepad(&gamepad)
index 03efd5f..cb98089 100644 (file)
@@ -33,7 +33,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class GamepadEvent : public Event {
+class GamepadEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(GamepadEvent);
 public:
     ~GamepadEvent() = default;
 
 public:
     ~GamepadEvent() = default;
 
index c96f9ad..7feb50e 100644 (file)
 
 #if ENABLE(INDEXED_DATABASE)
 
 
 #if ENABLE(INDEXED_DATABASE)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(IDBRequestCompletionEvent);
+
 IDBRequestCompletionEvent::IDBRequestCompletionEvent(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, IDBRequest& request)
     : Event(type, canBubble, cancelable)
     , m_request(request)
 IDBRequestCompletionEvent::IDBRequestCompletionEvent(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, IDBRequest& request)
     : Event(type, canBubble, cancelable)
     , m_request(request)
index 80fb18e..7a06407 100644 (file)
@@ -32,7 +32,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class IDBRequestCompletionEvent : public Event {
+class IDBRequestCompletionEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(IDBRequestCompletionEvent);
 public:
     static Ref<Event> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, IDBRequest& request)
     {
 public:
     static Ref<Event> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, IDBRequest& request)
     {
index 005556b..7f3d14f 100644 (file)
 
 #if ENABLE(INDEXED_DATABASE)
 
 
 #if ENABLE(INDEXED_DATABASE)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(IDBVersionChangeEvent);
+
 IDBVersionChangeEvent::IDBVersionChangeEvent(const IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion, const AtomString& name)
     : Event(name, CanBubble::No, IsCancelable::No)
     , m_requestIdentifier(requestIdentifier)
 IDBVersionChangeEvent::IDBVersionChangeEvent(const IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion, const AtomString& name)
     : Event(name, CanBubble::No, IsCancelable::No)
     , m_requestIdentifier(requestIdentifier)
index 433059d..5d393eb 100644 (file)
@@ -34,6 +34,7 @@
 namespace WebCore {
 
 class IDBVersionChangeEvent final : public Event {
 namespace WebCore {
 
 class IDBVersionChangeEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(IDBVersionChangeEvent);
 public:
     static Ref<IDBVersionChangeEvent> create(uint64_t oldVersion, uint64_t newVersion, const AtomString& eventType)
     {
 public:
     static Ref<IDBVersionChangeEvent> create(uint64_t oldVersion, uint64_t newVersion, const AtomString& eventType)
     {
index b51798a..0d57ba8 100644 (file)
 #if ENABLE(MEDIA_STREAM)
 
 #include "Blob.h"
 #if ENABLE(MEDIA_STREAM)
 
 #include "Blob.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(BlobEvent);
+
 Ref<BlobEvent> BlobEvent::create(const AtomString& type, Init&& init, IsTrusted isTrusted)
 {
     return adoptRef(*new BlobEvent(type, WTFMove(init), isTrusted));
 Ref<BlobEvent> BlobEvent::create(const AtomString& type, Init&& init, IsTrusted isTrusted)
 {
     return adoptRef(*new BlobEvent(type, WTFMove(init), isTrusted));
index 54784f6..8e343d8 100644 (file)
@@ -33,6 +33,7 @@ namespace WebCore {
 class Blob;
     
 class BlobEvent final : public Event {
 class Blob;
     
 class BlobEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(BlobEvent);
 public:
     struct Init : EventInit {
         RefPtr<Blob> data;
 public:
     struct Init : EventInit {
         RefPtr<Blob> data;
index 64f13cb..3f77793 100644 (file)
 #if ENABLE(MEDIA_STREAM)
 
 #include "DOMException.h"
 #if ENABLE(MEDIA_STREAM)
 
 #include "DOMException.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MediaRecorderErrorEvent);
 
 Ref<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create(const AtomString& type, Exception&& exception)
 {
 
 Ref<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create(const AtomString& type, Exception&& exception)
 {
index 07fca2f..e7ecbe9 100644 (file)
@@ -32,6 +32,7 @@ namespace WebCore {
 class DOMException;
 
 class MediaRecorderErrorEvent final : public Event {
 class DOMException;
 
 class MediaRecorderErrorEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MediaRecorderErrorEvent);
 public:
     struct Init : EventInit {
         RefPtr<DOMException> error;
 public:
     struct Init : EventInit {
         RefPtr<DOMException> error;
index 3f44d9c..75a8f7f 100644 (file)
 #include "MediaStreamTrackEvent.h"
 
 #include "MediaStreamTrack.h"
 #include "MediaStreamTrackEvent.h"
 
 #include "MediaStreamTrack.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MediaStreamTrackEvent);
+
 Ref<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, RefPtr<MediaStreamTrack>&& track)
 {
     return adoptRef(*new MediaStreamTrackEvent(type, canBubble, cancelable, WTFMove(track)));
 Ref<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, RefPtr<MediaStreamTrack>&& track)
 {
     return adoptRef(*new MediaStreamTrackEvent(type, canBubble, cancelable, WTFMove(track)));
index 7d89f9a..736c83c 100644 (file)
@@ -33,7 +33,8 @@ namespace WebCore {
 
 class MediaStreamTrack;
 
 
 class MediaStreamTrack;
 
-class MediaStreamTrackEvent : public Event {
+class MediaStreamTrackEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MediaStreamTrackEvent);
 public:
     virtual ~MediaStreamTrackEvent();
 
 public:
     virtual ~MediaStreamTrackEvent();
 
diff --git a/Source/WebCore/Modules/mediastream/OverconstrainedErrorEvent.cpp b/Source/WebCore/Modules/mediastream/OverconstrainedErrorEvent.cpp
new file mode 100644 (file)
index 0000000..835e2af
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2012 Google Inc. All rights reserved.
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. 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 INC. 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 "OverconstrainedErrorEvent.h"
+
+#if ENABLE(WEB_RTC)
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(OverconstrainedErrorEvent);
+
+} // namespace WebCore
+
+#endif // ENABLE(WEB_RTC)
+
index 8f71e03..2e1e9fd 100644 (file)
@@ -36,7 +36,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class OverconstrainedErrorEvent : public Event {
+class OverconstrainedErrorEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(OverconstrainedErrorEvent);
 public:
     virtual ~OverconstrainedErrorEvent() = default;
 
 public:
     virtual ~OverconstrainedErrorEvent() = default;
 
index f8b5197..118c251 100644 (file)
 #if ENABLE(WEB_RTC)
 
 #include "EventNames.h"
 #if ENABLE(WEB_RTC)
 
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(RTCDTMFToneChangeEvent);
+
 Ref<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const String& tone)
 {
     return adoptRef(*new RTCDTMFToneChangeEvent(tone));
 Ref<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const String& tone)
 {
     return adoptRef(*new RTCDTMFToneChangeEvent(tone));
index bfc279b..573520d 100644 (file)
@@ -32,7 +32,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class RTCDTMFToneChangeEvent : public Event {
+class RTCDTMFToneChangeEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(RTCDTMFToneChangeEvent);
 public:
     virtual ~RTCDTMFToneChangeEvent();
 
 public:
     virtual ~RTCDTMFToneChangeEvent();
 
index 9180581..86bc961 100644 (file)
 #if ENABLE(WEB_RTC)
 
 #include "RTCDataChannel.h"
 #if ENABLE(WEB_RTC)
 
 #include "RTCDataChannel.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(RTCDataChannelEvent);
+
 Ref<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, Ref<RTCDataChannel>&& channel)
 {
     return adoptRef(*new RTCDataChannelEvent(type, canBubble, cancelable, WTFMove(channel)));
 Ref<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, Ref<RTCDataChannel>&& channel)
 {
     return adoptRef(*new RTCDataChannelEvent(type, canBubble, cancelable, WTFMove(channel)));
index e716747..118ba46 100644 (file)
@@ -34,6 +34,7 @@
 namespace WebCore {
 
 class RTCDataChannelEvent final : public Event {
 namespace WebCore {
 
 class RTCDataChannelEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(RTCDataChannelEvent);
 public:
     struct Init : EventInit {
         RefPtr<RTCDataChannel> channel;
 public:
     struct Init : EventInit {
         RefPtr<RTCDataChannel> channel;
index fa676e2..760f895 100644 (file)
 
 #include "EventNames.h"
 #include "RTCIceCandidate.h"
 
 #include "EventNames.h"
 #include "RTCIceCandidate.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(RTCPeerConnectionIceEvent);
+
 Ref<RTCPeerConnectionIceEvent> RTCPeerConnectionIceEvent::create(CanBubble canBubble, IsCancelable cancelable, RefPtr<RTCIceCandidate>&& candidate, String&& serverURL)
 {
     return adoptRef(*new RTCPeerConnectionIceEvent(eventNames().icecandidateEvent, canBubble, cancelable, WTFMove(candidate), WTFMove(serverURL)));
 Ref<RTCPeerConnectionIceEvent> RTCPeerConnectionIceEvent::create(CanBubble canBubble, IsCancelable cancelable, RefPtr<RTCIceCandidate>&& candidate, String&& serverURL)
 {
     return adoptRef(*new RTCPeerConnectionIceEvent(eventNames().icecandidateEvent, canBubble, cancelable, WTFMove(candidate), WTFMove(serverURL)));
index 992e681..fceaeb0 100644 (file)
@@ -32,7 +32,8 @@
 namespace WebCore {
 class RTCIceCandidate;
 
 namespace WebCore {
 class RTCIceCandidate;
 
-class RTCPeerConnectionIceEvent : public Event {
+class RTCPeerConnectionIceEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(RTCPeerConnectionIceEvent);
 public:
     virtual ~RTCPeerConnectionIceEvent();
 
 public:
     virtual ~RTCPeerConnectionIceEvent();
 
index 67c926b..93cf3a0 100644 (file)
 #include "MediaStream.h"
 #include "MediaStreamTrack.h"
 #include "RTCRtpTransceiver.h"
 #include "MediaStream.h"
 #include "MediaStreamTrack.h"
 #include "RTCRtpTransceiver.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(RTCTrackEvent);
+
 Ref<RTCTrackEvent> RTCTrackEvent::create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, RefPtr<RTCRtpReceiver>&& receiver, RefPtr<MediaStreamTrack>&& track, Vector<RefPtr<MediaStream>>&& streams, RefPtr<RTCRtpTransceiver>&& transceiver)
 {
     return adoptRef(*new RTCTrackEvent(type, canBubble, cancelable, WTFMove(receiver), WTFMove(track), WTFMove(streams), WTFMove(transceiver)));
 Ref<RTCTrackEvent> RTCTrackEvent::create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, RefPtr<RTCRtpReceiver>&& receiver, RefPtr<MediaStreamTrack>&& track, Vector<RefPtr<MediaStream>>&& streams, RefPtr<RTCRtpTransceiver>&& transceiver)
 {
     return adoptRef(*new RTCTrackEvent(type, canBubble, cancelable, WTFMove(receiver), WTFMove(track), WTFMove(streams), WTFMove(transceiver)));
index 3739e49..c53eabb 100644 (file)
@@ -44,7 +44,8 @@ class RTCRtpTransceiver;
 
 typedef Vector<RefPtr<MediaStream>> MediaStreamArray;
 
 
 typedef Vector<RefPtr<MediaStream>> MediaStreamArray;
 
-class RTCTrackEvent : public Event {
+class RTCTrackEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(RTCTrackEvent);
 public:
     static Ref<RTCTrackEvent> create(const AtomString& type, CanBubble, IsCancelable, RefPtr<RTCRtpReceiver>&&, RefPtr<MediaStreamTrack>&&, MediaStreamArray&&, RefPtr<RTCRtpTransceiver>&&);
 
 public:
     static Ref<RTCTrackEvent> create(const AtomString& type, CanBubble, IsCancelable, RefPtr<RTCRtpReceiver>&&, RefPtr<MediaStreamTrack>&&, MediaStreamArray&&, RefPtr<RTCRtpTransceiver>&&);
 
index 90215aa..056b074 100644 (file)
 
 #include "Document.h"
 #include "PaymentRequest.h"
 
 #include "Document.h"
 #include "PaymentRequest.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MerchantValidationEvent);
+
 Ref<MerchantValidationEvent> MerchantValidationEvent::create(const AtomString& type, const String& methodName, URL&& validationURL)
 {
     return adoptRef(*new MerchantValidationEvent(type, methodName, WTFMove(validationURL)));
 Ref<MerchantValidationEvent> MerchantValidationEvent::create(const AtomString& type, const String& methodName, URL&& validationURL)
 {
     return adoptRef(*new MerchantValidationEvent(type, methodName, WTFMove(validationURL)));
index e2b1bd7..bfcfe4f 100644 (file)
@@ -36,6 +36,7 @@ class DOMPromise;
 class Document;
 
 class MerchantValidationEvent final : public Event {
 class Document;
 
 class MerchantValidationEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MerchantValidationEvent);
 public:
     struct Init final : EventInit {
         String methodName;
 public:
     struct Init final : EventInit {
         String methodName;
index 8736416..2ecc95d 100644 (file)
 
 #if ENABLE(PAYMENT_REQUEST)
 
 
 #if ENABLE(PAYMENT_REQUEST)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(PaymentMethodChangeEvent);
+
 EventInterface PaymentMethodChangeEvent::eventInterface() const
 {
     return PaymentMethodChangeEventInterfaceType;
 EventInterface PaymentMethodChangeEvent::eventInterface() const
 {
     return PaymentMethodChangeEventInterfaceType;
index 82e3317..3647b11 100644 (file)
@@ -40,6 +40,7 @@ class JSObject;
 namespace WebCore {
 
 class PaymentMethodChangeEvent final : public PaymentRequestUpdateEvent {
 namespace WebCore {
 
 class PaymentMethodChangeEvent final : public PaymentRequestUpdateEvent {
+    WTF_MAKE_ISO_ALLOCATED(PaymentMethodChangeEvent);
 public:
     template<typename... Args> static Ref<PaymentMethodChangeEvent> create(Args&&... args)
     {
 public:
     template<typename... Args> static Ref<PaymentMethodChangeEvent> create(Args&&... args)
     {
index 871559c..93e0f71 100644 (file)
 
 #include "EventNames.h"
 #include "PaymentRequest.h"
 
 #include "EventNames.h"
 #include "PaymentRequest.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(PaymentRequestUpdateEvent);
+
 PaymentRequestUpdateEvent::PaymentRequestUpdateEvent(const AtomString& type, const PaymentRequestUpdateEventInit& eventInit)
     : Event { type, eventInit, IsTrusted::No }
 {
 PaymentRequestUpdateEvent::PaymentRequestUpdateEvent(const AtomString& type, const PaymentRequestUpdateEventInit& eventInit)
     : Event { type, eventInit, IsTrusted::No }
 {
index 4a0acd3..c7c451f 100644 (file)
@@ -36,6 +36,7 @@ class DOMPromise;
 struct PaymentRequestUpdateEventInit;
 
 class PaymentRequestUpdateEvent : public Event {
 struct PaymentRequestUpdateEventInit;
 
 class PaymentRequestUpdateEvent : public Event {
+    WTF_MAKE_ISO_ALLOCATED(PaymentRequestUpdateEvent);
 public:
     template <typename... Args> static Ref<PaymentRequestUpdateEvent> create(Args&&... args)
     {
 public:
     template <typename... Args> static Ref<PaymentRequestUpdateEvent> create(Args&&... args)
     {
index fb208db..e2a3fe0 100644 (file)
 
 #if ENABLE(SPEECH_SYNTHESIS)
 
 
 #if ENABLE(SPEECH_SYNTHESIS)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(SpeechSynthesisEvent);
+
 Ref<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomString& type, unsigned charIndex, float elapsedTime, const String& name)
 {
     return adoptRef(*new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
 Ref<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomString& type, unsigned charIndex, float elapsedTime, const String& name)
 {
     return adoptRef(*new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
index 2094fc1..3c16c3e 100644 (file)
@@ -31,7 +31,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class SpeechSynthesisEvent : public Event {
+class SpeechSynthesisEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(SpeechSynthesisEvent);
 public:
     static Ref<SpeechSynthesisEvent> create(const AtomString& type, unsigned charIndex, float elapsedTime, const String& name);
 
 public:
     static Ref<SpeechSynthesisEvent> create(const AtomString& type, unsigned charIndex, float elapsedTime, const String& name);
 
index aab29a3..3ed0c86 100644 (file)
 
 #include "AudioBuffer.h"
 #include "EventNames.h"
 
 #include "AudioBuffer.h"
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(AudioProcessingEvent);
+
 AudioProcessingEvent::AudioProcessingEvent() = default;
 
 AudioProcessingEvent::AudioProcessingEvent(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime)
 AudioProcessingEvent::AudioProcessingEvent() = default;
 
 AudioProcessingEvent::AudioProcessingEvent(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime)
index 6991576..3a7da74 100644 (file)
@@ -33,6 +33,7 @@ namespace WebCore {
 class AudioBuffer;
     
 class AudioProcessingEvent final : public Event {
 class AudioBuffer;
     
 class AudioProcessingEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(AudioProcessingEvent);
 public:
     static Ref<AudioProcessingEvent> create(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime)
     {
 public:
     static Ref<AudioProcessingEvent> create(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime)
     {
index 1634a1c..7b9a3a8 100644 (file)
 
 #include "AudioBuffer.h"
 #include "EventNames.h"
 
 #include "AudioBuffer.h"
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(OfflineAudioCompletionEvent);
+
 Ref<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(RefPtr<AudioBuffer>&& renderedBuffer)
 {
     return adoptRef(*new OfflineAudioCompletionEvent(WTFMove(renderedBuffer)));
 Ref<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(RefPtr<AudioBuffer>&& renderedBuffer)
 {
     return adoptRef(*new OfflineAudioCompletionEvent(WTFMove(renderedBuffer)));
index 21fb43a..b3d2678 100644 (file)
@@ -31,6 +31,7 @@
 namespace WebCore {
 
 class OfflineAudioCompletionEvent final : public Event {
 namespace WebCore {
 
 class OfflineAudioCompletionEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(OfflineAudioCompletionEvent);
 public:
     static Ref<OfflineAudioCompletionEvent> create(RefPtr<AudioBuffer>&& renderedBuffer);
     
 public:
     static Ref<OfflineAudioCompletionEvent> create(RefPtr<AudioBuffer>&& renderedBuffer);
     
index 4e0150a..6f9d1ba 100644 (file)
 
 #if ENABLE(WEBGPU)
 
 
 #if ENABLE(WEBGPU)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(GPUUncapturedErrorEvent);
+
 Ref<GPUUncapturedErrorEvent> GPUUncapturedErrorEvent::create(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
 {
     return adoptRef(*new GPUUncapturedErrorEvent(type, initializer, isTrusted));
 Ref<GPUUncapturedErrorEvent> GPUUncapturedErrorEvent::create(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
 {
     return adoptRef(*new GPUUncapturedErrorEvent(type, initializer, isTrusted));
index 1d9d41b..b7eee95 100644 (file)
@@ -34,6 +34,7 @@
 namespace WebCore {
 
 class GPUUncapturedErrorEvent final : public Event {
 namespace WebCore {
 
 class GPUUncapturedErrorEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(GPUUncapturedErrorEvent);
 public:
     struct Init: EventInit {
         GPUError error;
 public:
     struct Init: EventInit {
         GPUError error;
diff --git a/Source/WebCore/Modules/websockets/CloseEvent.cpp b/Source/WebCore/Modules/websockets/CloseEvent.cpp
new file mode 100644 (file)
index 0000000..1de7eea
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2019 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "CloseEvent.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(CloseEvent);
+
+} // namespace WebCore
index d7285c4..e7ff0b2 100644 (file)
@@ -35,7 +35,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class CloseEvent : public Event {
+class CloseEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(CloseEvent);
 public:
     static Ref<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
     {
 public:
     static Ref<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
     {
index 7f14d1c..d6c0171 100644 (file)
 #include "VRDisplayEvent.h"
 
 #include "VRDisplay.h"
 #include "VRDisplayEvent.h"
 
 #include "VRDisplay.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(VRDisplayEvent);
+
 VRDisplayEvent::VRDisplayEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_display(initializer.display)
 VRDisplayEvent::VRDisplayEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_display(initializer.display)
index f78d44e..c9002bf 100644 (file)
@@ -31,6 +31,7 @@
 namespace WebCore {
 
 class VRDisplayEvent final : public Event {
 namespace WebCore {
 
 class VRDisplayEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(VRDisplayEvent);
 public:
     static Ref<VRDisplayEvent> create(const AtomString& type, const RefPtr<VRDisplay>& display, Optional<VRDisplayEventReason>&& reason)
     {
 public:
     static Ref<VRDisplayEvent> create(const AtomString& type, const RefPtr<VRDisplay>& display, Optional<VRDisplayEventReason>&& reason)
     {
index 57e750e..08ab5e0 100644 (file)
@@ -165,6 +165,7 @@ Modules/mediastream/MediaStreamTrack.cpp
 Modules/mediastream/MediaStreamTrackEvent.cpp
 Modules/mediastream/MediaTrackConstraints.cpp
 Modules/mediastream/NavigatorMediaDevices.cpp
 Modules/mediastream/MediaStreamTrackEvent.cpp
 Modules/mediastream/MediaTrackConstraints.cpp
 Modules/mediastream/NavigatorMediaDevices.cpp
+Modules/mediastream/OverconstrainedErrorEvent.cpp
 Modules/mediastream/PeerConnectionBackend.cpp
 Modules/mediastream/RTCCertificate.cpp
 Modules/mediastream/RTCController.cpp
 Modules/mediastream/PeerConnectionBackend.cpp
 Modules/mediastream/RTCCertificate.cpp
 Modules/mediastream/RTCController.cpp
@@ -290,6 +291,7 @@ Modules/webdatabase/SQLTransactionStateMachine.cpp
 
 Modules/webdriver/NavigatorWebDriver.cpp
 
 
 Modules/webdriver/NavigatorWebDriver.cpp
 
+Modules/websockets/CloseEvent.cpp
 Modules/websockets/ThreadableWebSocketChannel.cpp
 Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp
 Modules/websockets/WebSocket.cpp
 Modules/websockets/ThreadableWebSocketChannel.cpp
 Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp
 Modules/websockets/WebSocket.cpp
@@ -575,6 +577,7 @@ bindings/js/ScriptCachedFrameData.cpp
 bindings/js/ScriptController.cpp
 bindings/js/ScriptModuleLoader.cpp
 bindings/js/ScriptState.cpp
 bindings/js/ScriptController.cpp
 bindings/js/ScriptModuleLoader.cpp
 bindings/js/ScriptState.cpp
+bindings/js/ScriptWrappable.cpp
 bindings/js/StructuredClone.cpp
 bindings/js/SerializedScriptValue.cpp
 bindings/js/WebCoreJSClientData.cpp
 bindings/js/StructuredClone.cpp
 bindings/js/SerializedScriptValue.cpp
 bindings/js/WebCoreJSClientData.cpp
@@ -811,6 +814,7 @@ dom/ActiveDOMObject.cpp
 dom/AllDescendantsCollection.cpp
 dom/AnimationEvent.cpp
 dom/Attr.cpp
 dom/AllDescendantsCollection.cpp
 dom/AnimationEvent.cpp
 dom/Attr.cpp
+dom/BeforeLoadEvent.cpp
 dom/BeforeTextInsertedEvent.cpp
 dom/BeforeUnloadEvent.cpp
 dom/CDATASection.cpp
 dom/BeforeTextInsertedEvent.cpp
 dom/BeforeUnloadEvent.cpp
 dom/CDATASection.cpp
@@ -875,6 +879,7 @@ dom/ExtensionStyleSheets.cpp
 dom/FocusEvent.cpp
 dom/FullscreenManager.cpp
 dom/GenericEventQueue.cpp
 dom/FocusEvent.cpp
 dom/FullscreenManager.cpp
 dom/GenericEventQueue.cpp
+dom/HashChangeEvent.cpp
 dom/IdTargetObserver.cpp
 dom/IdTargetObserverRegistry.cpp
 dom/InlineClassicScript.cpp
 dom/IdTargetObserver.cpp
 dom/IdTargetObserverRegistry.cpp
 dom/InlineClassicScript.cpp
@@ -930,6 +935,7 @@ dom/ScriptableDocumentParser.cpp
 dom/ScriptedAnimationController.cpp
 dom/SecurityContext.cpp
 dom/SecurityOriginPolicy.cpp
 dom/ScriptedAnimationController.cpp
 dom/SecurityContext.cpp
 dom/SecurityOriginPolicy.cpp
+dom/SecurityPolicyViolationEvent.cpp
 dom/SelectorQuery.cpp
 dom/ShadowRoot.cpp
 dom/SimulatedClick.cpp
 dom/SelectorQuery.cpp
 dom/ShadowRoot.cpp
 dom/SimulatedClick.cpp
@@ -2520,6 +2526,7 @@ xml/DOMParser.cpp
 xml/NativeXPathNSResolver.cpp
 xml/XMLErrors.cpp
 xml/XMLHttpRequest.cpp
 xml/NativeXPathNSResolver.cpp
 xml/XMLErrors.cpp
 xml/XMLHttpRequest.cpp
+xml/XMLHttpRequestProgressEvent.cpp
 xml/XMLHttpRequestProgressEventThrottle.cpp
 xml/XMLHttpRequestUpload.cpp
 xml/XMLSerializer.cpp
 xml/XMLHttpRequestProgressEventThrottle.cpp
 xml/XMLHttpRequestUpload.cpp
 xml/XMLSerializer.cpp
index deeddb5..e57e8b2 100644 (file)
                E3B2F0E91D7F3D3C00B0C9D1 /* LoadableScript.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LoadableScript.cpp; sourceTree = "<group>"; };
                E3B7C0621DC3415A001FB0B8 /* JSDocumentDOMJIT.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDocumentDOMJIT.cpp; sourceTree = "<group>"; };
                E3BC827322530221005276DE /* NodeList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NodeList.cpp; sourceTree = "<group>"; };
                E3B2F0E91D7F3D3C00B0C9D1 /* LoadableScript.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LoadableScript.cpp; sourceTree = "<group>"; };
                E3B7C0621DC3415A001FB0B8 /* JSDocumentDOMJIT.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDocumentDOMJIT.cpp; sourceTree = "<group>"; };
                E3BC827322530221005276DE /* NodeList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NodeList.cpp; sourceTree = "<group>"; };
+               E3BF19E122AF2F55009C9926 /* XMLHttpRequestProgressEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = XMLHttpRequestProgressEvent.cpp; sourceTree = "<group>"; };
+               E3BF19E322AF2FA5009C9926 /* OverconstrainedErrorEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = OverconstrainedErrorEvent.cpp; sourceTree = "<group>"; };
+               E3BF19E422AF2FCF009C9926 /* CloseEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = CloseEvent.cpp; sourceTree = "<group>"; };
+               E3BF19E522AF2FF4009C9926 /* BeforeLoadEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = BeforeLoadEvent.cpp; sourceTree = "<group>"; };
+               E3BF19E622AF302A009C9926 /* HashChangeEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = HashChangeEvent.cpp; sourceTree = "<group>"; };
+               E3BF19E722AF309F009C9926 /* SecurityPolicyViolationEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SecurityPolicyViolationEvent.cpp; sourceTree = "<group>"; };
                E3C99A081DC3D41700794AD3 /* DOMJITCheckDOM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMJITCheckDOM.h; sourceTree = "<group>"; };
                E3C9AEC92113147400419B92 /* JSMicrotaskCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSMicrotaskCallback.h; sourceTree = "<group>"; };
                E3D049931DADC04500718F3C /* NodeConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NodeConstants.h; sourceTree = "<group>"; };
                E3C99A081DC3D41700794AD3 /* DOMJITCheckDOM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMJITCheckDOM.h; sourceTree = "<group>"; };
                E3C9AEC92113147400419B92 /* JSMicrotaskCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSMicrotaskCallback.h; sourceTree = "<group>"; };
                E3D049931DADC04500718F3C /* NodeConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NodeConstants.h; sourceTree = "<group>"; };
                                5EA725CC1ACABCB500EAD17B /* NavigatorMediaDevices.idl */,
                                0704A4051D6DE9F10086DCDB /* OverconstrainedError.h */,
                                0704A4031D6DE9F10086DCDB /* OverconstrainedError.idl */,
                                5EA725CC1ACABCB500EAD17B /* NavigatorMediaDevices.idl */,
                                0704A4051D6DE9F10086DCDB /* OverconstrainedError.h */,
                                0704A4031D6DE9F10086DCDB /* OverconstrainedError.idl */,
+                               E3BF19E322AF2FA5009C9926 /* OverconstrainedErrorEvent.cpp */,
                                072A703E1D6E8F6200DF0AFC /* OverconstrainedErrorEvent.h */,
                                072A703F1D6E8F6200DF0AFC /* OverconstrainedErrorEvent.idl */,
                                41E408381DCB747900EFCE19 /* PeerConnectionBackend.cpp */,
                                072A703E1D6E8F6200DF0AFC /* OverconstrainedErrorEvent.h */,
                                072A703F1D6E8F6200DF0AFC /* OverconstrainedErrorEvent.idl */,
                                41E408381DCB747900EFCE19 /* PeerConnectionBackend.cpp */,
                97AABCF714FA09B5007457AE /* websockets */ = {
                        isa = PBXGroup;
                        children = (
                97AABCF714FA09B5007457AE /* websockets */ = {
                        isa = PBXGroup;
                        children = (
+                               E3BF19E422AF2FCF009C9926 /* CloseEvent.cpp */,
                                97AABCF814FA09D5007457AE /* CloseEvent.h */,
                                97AABCF914FA09D5007457AE /* CloseEvent.idl */,
                                5C688AA01D380509000B54FA /* ThreadableWebSocketChannel.cpp */,
                                97AABCF814FA09D5007457AE /* CloseEvent.h */,
                                97AABCF914FA09D5007457AE /* CloseEvent.idl */,
                                5C688AA01D380509000B54FA /* ThreadableWebSocketChannel.cpp */,
                                BC348BA70DB7F1B8004ABAB9 /* XMLHttpRequest.idl */,
                                83D35AEA1C7187ED00F70D5A /* XMLHttpRequestEventTarget.h */,
                                83D35AEB1C7187ED00F70D5A /* XMLHttpRequestEventTarget.idl */,
                                BC348BA70DB7F1B8004ABAB9 /* XMLHttpRequest.idl */,
                                83D35AEA1C7187ED00F70D5A /* XMLHttpRequestEventTarget.h */,
                                83D35AEB1C7187ED00F70D5A /* XMLHttpRequestEventTarget.idl */,
+                               E3BF19E122AF2F55009C9926 /* XMLHttpRequestProgressEvent.cpp */,
                                F9F0ED770DB50CA200D16DB9 /* XMLHttpRequestProgressEvent.h */,
                                F9F0ED780DB50CA200D16DB9 /* XMLHttpRequestProgressEvent.idl */,
                                A136A00A1134DBD200CC8D50 /* XMLHttpRequestProgressEventThrottle.cpp */,
                                F9F0ED770DB50CA200D16DB9 /* XMLHttpRequestProgressEvent.h */,
                                F9F0ED780DB50CA200D16DB9 /* XMLHttpRequestProgressEvent.idl */,
                                A136A00A1134DBD200CC8D50 /* XMLHttpRequestProgressEventThrottle.cpp */,
                                A8C4A7FB09D563270003AC8D /* Attr.h */,
                                93EEC1E509C2877700C515D1 /* Attr.idl */,
                                A8C4A7F909D563270003AC8D /* Attribute.h */,
                                A8C4A7FB09D563270003AC8D /* Attr.h */,
                                93EEC1E509C2877700C515D1 /* Attr.idl */,
                                A8C4A7F909D563270003AC8D /* Attribute.h */,
+                               E3BF19E522AF2FF4009C9926 /* BeforeLoadEvent.cpp */,
                                BC9462D7107A7B4C00857193 /* BeforeLoadEvent.h */,
                                BC9462CB107A7A3900857193 /* BeforeLoadEvent.idl */,
                                AB23A32509BBA7D00067CC53 /* BeforeTextInsertedEvent.cpp */,
                                BC9462D7107A7B4C00857193 /* BeforeLoadEvent.h */,
                                BC9462CB107A7A3900857193 /* BeforeLoadEvent.idl */,
                                AB23A32509BBA7D00067CC53 /* BeforeTextInsertedEvent.cpp */,
                                0720B09E14D3323500642955 /* GenericEventQueue.cpp */,
                                0720B09F14D3323500642955 /* GenericEventQueue.h */,
                                7C4189AB1B07C170000FA757 /* GlobalEventHandlers.idl */,
                                0720B09E14D3323500642955 /* GenericEventQueue.cpp */,
                                0720B09F14D3323500642955 /* GenericEventQueue.h */,
                                7C4189AB1B07C170000FA757 /* GlobalEventHandlers.idl */,
+                               E3BF19E622AF302A009C9926 /* HashChangeEvent.cpp */,
                                2442BBF81194C9D300D49469 /* HashChangeEvent.h */,
                                8482B7441198C32E00BFB005 /* HashChangeEvent.idl */,
                                C3CF17A015B0063F00276D39 /* IdTargetObserver.cpp */,
                                2442BBF81194C9D300D49469 /* HashChangeEvent.h */,
                                8482B7441198C32E00BFB005 /* HashChangeEvent.idl */,
                                C3CF17A015B0063F00276D39 /* IdTargetObserver.cpp */,
                                976F36E914686225005E93B4 /* SecurityContext.h */,
                                1AF7AFC51A48A8BC00C8E4E7 /* SecurityOriginPolicy.cpp */,
                                1AF7AFC61A48A8BC00C8E4E7 /* SecurityOriginPolicy.h */,
                                976F36E914686225005E93B4 /* SecurityContext.h */,
                                1AF7AFC51A48A8BC00C8E4E7 /* SecurityOriginPolicy.cpp */,
                                1AF7AFC61A48A8BC00C8E4E7 /* SecurityOriginPolicy.h */,
+                               E3BF19E722AF309F009C9926 /* SecurityPolicyViolationEvent.cpp */,
                                2D5BC42516F882BE007048D0 /* SecurityPolicyViolationEvent.h */,
                                2D5BC42616F882BE007048D0 /* SecurityPolicyViolationEvent.idl */,
                                E45322A9140CE267005A0F92 /* SelectorQuery.cpp */,
                                2D5BC42516F882BE007048D0 /* SecurityPolicyViolationEvent.h */,
                                2D5BC42616F882BE007048D0 /* SecurityPolicyViolationEvent.idl */,
                                E45322A9140CE267005A0F92 /* SelectorQuery.cpp */,
index dfde5fc..ad7b8b4 100644 (file)
 #include "config.h"
 #include "AccessibleSetValueEvent.h"
 
 #include "config.h"
 #include "AccessibleSetValueEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(AccessibleSetValueEvent);
+
 AccessibleSetValueEvent::AccessibleSetValueEvent(const AtomString& type, const AtomString& value)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_value(value)
 AccessibleSetValueEvent::AccessibleSetValueEvent(const AtomString& type, const AtomString& value)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_value(value)
index 57e8045..f7d3b32 100644 (file)
@@ -29,7 +29,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class AccessibleSetValueEvent : public Event {
+class AccessibleSetValueEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(AccessibleSetValueEvent);
 public:
     static Ref<AccessibleSetValueEvent> create(const AtomString& type, const AtomString& value)
     {
 public:
     static Ref<AccessibleSetValueEvent> create(const AtomString& type, const AtomString& value)
     {
index adfb503..847e594 100644 (file)
 #include "AnimationPlaybackEvent.h"
 
 #include "WebAnimationUtilities.h"
 #include "AnimationPlaybackEvent.h"
 
 #include "WebAnimationUtilities.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(AnimationPlaybackEvent);
+
 AnimationPlaybackEvent::AnimationPlaybackEvent(const AtomString& type, const AnimationPlaybackEventInit& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
 {
 AnimationPlaybackEvent::AnimationPlaybackEvent(const AtomString& type, const AnimationPlaybackEventInit& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
 {
index 7d1cc3a..b2285b0 100644 (file)
@@ -32,6 +32,7 @@
 namespace WebCore {
 
 class AnimationPlaybackEvent final : public Event {
 namespace WebCore {
 
 class AnimationPlaybackEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(AnimationPlaybackEvent);
 public:
     static Ref<AnimationPlaybackEvent> create(const AtomString& type, Optional<Seconds> currentTime, Optional<Seconds> timelineTime)
     {
 public:
     static Ref<AnimationPlaybackEvent> create(const AtomString& type, Optional<Seconds> currentTime, Optional<Seconds> timelineTime)
     {
diff --git a/Source/WebCore/bindings/js/ScriptWrappable.cpp b/Source/WebCore/bindings/js/ScriptWrappable.cpp
new file mode 100644 (file)
index 0000000..22a9ebe
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2019 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ * 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 APPLE 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 "ScriptWrappable.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(ScriptWrappable);
+
+} // namespace WebCore
index f2c7e79..4cca7ff 100644 (file)
@@ -43,6 +43,7 @@ namespace WebCore {
 class JSDOMObject;
 
 class ScriptWrappable {
 class JSDOMObject;
 
 class ScriptWrappable {
+    WTF_MAKE_ISO_ALLOCATED(ScriptWrappable);
 public:
     JSDOMObject* wrapper() const;
     void setWrapper(JSDOMObject*, JSC::WeakHandleOwner*, void*);
 public:
     JSDOMObject* wrapper() const;
     void setWrapper(JSDOMObject*, JSC::WeakHandleOwner*, void*);
index ab332ca..d89c549 100644 (file)
 #include "config.h"
 #include "AnimationEvent.h"
 
 #include "config.h"
 #include "AnimationEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(AnimationEvent);
+
 AnimationEvent::AnimationEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_animationName(initializer.animationName)
 AnimationEvent::AnimationEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_animationName(initializer.animationName)
index 51e2f69..a3f4c32 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class AnimationEvent final : public Event {
 namespace WebCore {
 
 class AnimationEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(AnimationEvent);
 public:
     static Ref<AnimationEvent> create(const AtomString& type, const String& animationName, double elapsedTime)
     {
 public:
     static Ref<AnimationEvent> create(const AtomString& type, const String& animationName, double elapsedTime)
     {
diff --git a/Source/WebCore/dom/BeforeLoadEvent.cpp b/Source/WebCore/dom/BeforeLoadEvent.cpp
new file mode 100644 (file)
index 0000000..5dbe508
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2019 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "BeforeLoadEvent.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(BeforeLoadEvent);
+
+} // namespace WebCore
index 107ad22..9a7d421 100644 (file)
@@ -32,6 +32,7 @@
 namespace WebCore {
 
 class BeforeLoadEvent final : public Event {
 namespace WebCore {
 
 class BeforeLoadEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(BeforeLoadEvent);
 public:
     static Ref<BeforeLoadEvent> create(const String& url)
     {
 public:
     static Ref<BeforeLoadEvent> create(const String& url)
     {
index dcfcee0..0e054cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (C) 2005 Apple Inc.  All rights reserved.
+ * Copyright (C) 2005-2019 Apple Inc.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 #include "BeforeTextInsertedEvent.h"
 
 #include "EventNames.h"
 #include "BeforeTextInsertedEvent.h"
 
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(BeforeTextInsertedEvent);
+
 BeforeTextInsertedEvent::BeforeTextInsertedEvent(const String& text)
     : Event(eventNames().webkitBeforeTextInsertedEvent, CanBubble::No, IsCancelable::Yes), m_text(text)
 {
 BeforeTextInsertedEvent::BeforeTextInsertedEvent(const String& text)
     : Event(eventNames().webkitBeforeTextInsertedEvent, CanBubble::No, IsCancelable::Yes), m_text(text)
 {
index cc92dfc..2113719 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class BeforeTextInsertedEvent final : public Event {
 namespace WebCore {
 
 class BeforeTextInsertedEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(BeforeTextInsertedEvent);
 public:
     virtual ~BeforeTextInsertedEvent();
 
 public:
     virtual ~BeforeTextInsertedEvent();
 
index 494fb7d..a3cf073 100644 (file)
 #include "BeforeUnloadEvent.h"
 
 #include "EventNames.h"
 #include "BeforeUnloadEvent.h"
 
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(BeforeUnloadEvent);
+
 BeforeUnloadEvent::BeforeUnloadEvent()
     : Event(eventNames().beforeunloadEvent, CanBubble::No, IsCancelable::Yes)
 {
 BeforeUnloadEvent::BeforeUnloadEvent()
     : Event(eventNames().beforeunloadEvent, CanBubble::No, IsCancelable::Yes)
 {
index 63e549b..3afd2dd 100644 (file)
@@ -29,6 +29,7 @@
 namespace WebCore {
 
 class BeforeUnloadEvent final : public Event {
 namespace WebCore {
 
 class BeforeUnloadEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(BeforeUnloadEvent);
 public:
     static Ref<BeforeUnloadEvent> create()
     {
 public:
     static Ref<BeforeUnloadEvent> create()
     {
index e3ff51a..3648b78 100644 (file)
 #include "ClipboardEvent.h"
 
 #include "DataTransfer.h"
 #include "ClipboardEvent.h"
 
 #include "DataTransfer.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ClipboardEvent);
+
 ClipboardEvent::ClipboardEvent(const AtomString& type, Ref<DataTransfer>&& dataTransfer)
     : Event(type, CanBubble::Yes, IsCancelable::Yes, IsComposed::Yes)
     , m_clipboardData(WTFMove(dataTransfer))
 ClipboardEvent::ClipboardEvent(const AtomString& type, Ref<DataTransfer>&& dataTransfer)
     : Event(type, CanBubble::Yes, IsCancelable::Yes, IsComposed::Yes)
     , m_clipboardData(WTFMove(dataTransfer))
index 0d4e4cb..3aabfcb 100644 (file)
@@ -30,6 +30,7 @@ namespace WebCore {
 class DataTransfer;
 
 class ClipboardEvent final : public Event {
 class DataTransfer;
 
 class ClipboardEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ClipboardEvent);
 public:
     virtual ~ClipboardEvent();
 
 public:
     virtual ~ClipboardEvent();
 
index ec09c38..4f7f3e6 100644 (file)
 #include "config.h"
 #include "CompositionEvent.h"
 
 #include "config.h"
 #include "CompositionEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(CompositionEvent);
+
 CompositionEvent::CompositionEvent() = default;
 
 CompositionEvent::CompositionEvent(const AtomString& type, RefPtr<WindowProxy>&& view, const String& data)
 CompositionEvent::CompositionEvent() = default;
 
 CompositionEvent::CompositionEvent(const AtomString& type, RefPtr<WindowProxy>&& view, const String& data)
index 210905a..67e37b0 100644 (file)
@@ -31,6 +31,7 @@
 namespace WebCore {
 
 class CompositionEvent final : public UIEvent {
 namespace WebCore {
 
 class CompositionEvent final : public UIEvent {
+    WTF_MAKE_ISO_ALLOCATED(CompositionEvent);
 public:
     static Ref<CompositionEvent> create(const AtomString& type, RefPtr<WindowProxy>&& view, const String& data)
     {
 public:
     static Ref<CompositionEvent> create(const AtomString& type, RefPtr<WindowProxy>&& view, const String& data)
     {
index 66d72ff..9c4e38a 100644 (file)
 #include "CustomEvent.h"
 
 #include <JavaScriptCore/JSCInlines.h>
 #include "CustomEvent.h"
 
 #include <JavaScriptCore/JSCInlines.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(CustomEvent);
+
 inline CustomEvent::CustomEvent(IsTrusted isTrusted)
     : Event(isTrusted)
 {
 inline CustomEvent::CustomEvent(IsTrusted isTrusted)
     : Event(isTrusted)
 {
index e78d50e..b95562a 100644 (file)
@@ -33,6 +33,7 @@
 namespace WebCore {
 
 class CustomEvent final : public Event {
 namespace WebCore {
 
 class CustomEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(CustomEvent);
 public:
     virtual ~CustomEvent();
 
 public:
     virtual ~CustomEvent();
 
index c51402a..3b3e59e 100644 (file)
 #include "DeviceMotionEvent.h"
 
 #include "DeviceMotionData.h"
 #include "DeviceMotionEvent.h"
 
 #include "DeviceMotionData.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(DeviceMotionEvent);
+
 DeviceMotionEvent::~DeviceMotionEvent() = default;
 
 DeviceMotionEvent::DeviceMotionEvent()
 DeviceMotionEvent::~DeviceMotionEvent() = default;
 
 DeviceMotionEvent::DeviceMotionEvent()
index 9ea1834..39eedde 100644 (file)
@@ -33,6 +33,7 @@ namespace WebCore {
 class DeviceMotionData;
 
 class DeviceMotionEvent final : public Event, public DeviceOrientationOrMotionEvent {
 class DeviceMotionData;
 
 class DeviceMotionEvent final : public Event, public DeviceOrientationOrMotionEvent {
+    WTF_MAKE_ISO_ALLOCATED(DeviceMotionEvent);
 public:
     virtual ~DeviceMotionEvent();
 
 public:
     virtual ~DeviceMotionEvent();
 
index 3d946cb..ecf3700 100644 (file)
 #include "DeviceOrientationEvent.h"
 
 #include "DeviceOrientationData.h"
 #include "DeviceOrientationEvent.h"
 
 #include "DeviceOrientationData.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(DeviceOrientationEvent);
+
 DeviceOrientationEvent::~DeviceOrientationEvent() = default;
 
 DeviceOrientationEvent::DeviceOrientationEvent()
 DeviceOrientationEvent::~DeviceOrientationEvent() = default;
 
 DeviceOrientationEvent::DeviceOrientationEvent()
index abb3940..e703458 100644 (file)
@@ -33,6 +33,7 @@ namespace WebCore {
 class DeviceOrientationData;
 
 class DeviceOrientationEvent final : public Event, public DeviceOrientationOrMotionEvent {
 class DeviceOrientationData;
 
 class DeviceOrientationEvent final : public Event, public DeviceOrientationOrMotionEvent {
+    WTF_MAKE_ISO_ALLOCATED(DeviceOrientationEvent);
 public:
     static Ref<DeviceOrientationEvent> create(const AtomString& eventType, DeviceOrientationData* orientation)
     {
 public:
     static Ref<DeviceOrientationEvent> create(const AtomString& eventType, DeviceOrientationData* orientation)
     {
index ab077d6..8818041 100644 (file)
 #include "EventNames.h"
 #include <JavaScriptCore/HeapInlines.h>
 #include <JavaScriptCore/StrongInlines.h>
 #include "EventNames.h"
 #include <JavaScriptCore/HeapInlines.h>
 #include <JavaScriptCore/StrongInlines.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 using namespace JSC;
 
 
 namespace WebCore {
 using namespace JSC;
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ErrorEvent);
+
 ErrorEvent::ErrorEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_message(initializer.message)
 ErrorEvent::ErrorEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_message(initializer.message)
index 37fe328..024fd40 100644 (file)
@@ -40,6 +40,7 @@
 namespace WebCore {
 
 class ErrorEvent final : public Event {
 namespace WebCore {
 
 class ErrorEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ErrorEvent);
 public:
     static Ref<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, JSC::Strong<JSC::Unknown> error)
     {
 public:
     static Ref<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, JSC::Strong<JSC::Unknown> error)
     {
index 9b4fb72..7d929c3 100644 (file)
 #include "Performance.h"
 #include "UserGestureIndicator.h"
 #include "WorkerGlobalScope.h"
 #include "Performance.h"
 #include "UserGestureIndicator.h"
 #include "WorkerGlobalScope.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(Event);
+
 ALWAYS_INLINE Event::Event(MonotonicTime createTime, const AtomString& type, IsTrusted isTrusted, CanBubble canBubble, IsCancelable cancelable, IsComposed composed)
     : m_isInitialized { !type.isNull() }
     , m_canBubble { canBubble == CanBubble::Yes }
 ALWAYS_INLINE Event::Event(MonotonicTime createTime, const AtomString& type, IsTrusted isTrusted, CanBubble canBubble, IsCancelable cancelable, IsComposed composed)
     : m_isInitialized { !type.isNull() }
     , m_canBubble { canBubble == CanBubble::Yes }
index 237959b..1bc7255 100644 (file)
@@ -39,6 +39,7 @@ class EventTarget;
 class ScriptExecutionContext;
 
 class Event : public ScriptWrappable, public RefCounted<Event> {
 class ScriptExecutionContext;
 
 class Event : public ScriptWrappable, public RefCounted<Event> {
+    WTF_MAKE_ISO_ALLOCATED(Event);
 public:
     enum class IsTrusted : uint8_t { No, Yes };
     enum class CanBubble : uint8_t { No, Yes };
 public:
     enum class IsTrusted : uint8_t { No, Yes };
     enum class CanBubble : uint8_t { No, Yes };
index 6b219a4..7e25c33 100644 (file)
 #include "FocusEvent.h"
 
 #include "Node.h"
 #include "FocusEvent.h"
 
 #include "Node.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(FocusEvent);
+
 EventInterface FocusEvent::eventInterface() const
 {
     return FocusEventInterfaceType;
 EventInterface FocusEvent::eventInterface() const
 {
     return FocusEventInterfaceType;
index e73ab40..1173ef9 100644 (file)
@@ -34,6 +34,7 @@ namespace WebCore {
 class Node;
 
 class FocusEvent final : public UIEvent {
 class Node;
 
 class FocusEvent final : public UIEvent {
+    WTF_MAKE_ISO_ALLOCATED(FocusEvent);
 public:
     static Ref<FocusEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, RefPtr<WindowProxy>&& view, int detail, RefPtr<EventTarget>&& relatedTarget)
     {
 public:
     static Ref<FocusEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, RefPtr<WindowProxy>&& view, int detail, RefPtr<EventTarget>&& relatedTarget)
     {
diff --git a/Source/WebCore/dom/HashChangeEvent.cpp b/Source/WebCore/dom/HashChangeEvent.cpp
new file mode 100644 (file)
index 0000000..1a70bad
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2019 Apple Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#include "config.h"
+#include "HashChangeEvent.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(HashChangeEvent);
+
+}
index 81a6b47..f9f23fd 100644 (file)
@@ -26,6 +26,7 @@
 namespace WebCore {
 
 class HashChangeEvent final : public Event {
 namespace WebCore {
 
 class HashChangeEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(HashChangeEvent);
 public:
     static Ref<HashChangeEvent> create(const String& oldURL, const String& newURL)
     {
 public:
     static Ref<HashChangeEvent> create(const String& oldURL, const String& newURL)
     {
index 0e9aeee..a3b0ba0 100644 (file)
 #include "DataTransfer.h"
 #include "Node.h"
 #include "WindowProxy.h"
 #include "DataTransfer.h"
 #include "Node.h"
 #include "WindowProxy.h"
+#include <wtf/IsoMallocInlines.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
 
 #include <wtf/Vector.h>
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(InputEvent);
+
 Ref<InputEvent> InputEvent::create(const AtomString& eventType, const String& inputType, IsCancelable cancelable, RefPtr<WindowProxy>&& view, const String& data, RefPtr<DataTransfer>&& dataTransfer, const Vector<RefPtr<StaticRange>>& targetRanges, int detail)
 {
     return adoptRef(*new InputEvent(eventType, inputType, cancelable, WTFMove(view), data, WTFMove(dataTransfer), targetRanges, detail));
 Ref<InputEvent> InputEvent::create(const AtomString& eventType, const String& inputType, IsCancelable cancelable, RefPtr<WindowProxy>&& view, const String& data, RefPtr<DataTransfer>&& dataTransfer, const Vector<RefPtr<StaticRange>>& targetRanges, int detail)
 {
     return adoptRef(*new InputEvent(eventType, inputType, cancelable, WTFMove(view), data, WTFMove(dataTransfer), targetRanges, detail));
index 3e708a3..d49baed 100644 (file)
@@ -34,6 +34,7 @@ class DataTransfer;
 class WindowProxy;
 
 class InputEvent final : public UIEvent {
 class WindowProxy;
 
 class InputEvent final : public UIEvent {
+    WTF_MAKE_ISO_ALLOCATED(InputEvent);
 public:
     struct Init : UIEventInit {
         String data;
 public:
     struct Init : UIEventInit {
         String data;
index ce856bb..0f294fc 100644 (file)
 #include "Frame.h"
 #include "PlatformKeyboardEvent.h"
 #include "WindowsKeyboardCodes.h"
 #include "Frame.h"
 #include "PlatformKeyboardEvent.h"
 #include "WindowsKeyboardCodes.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(KeyboardEvent);
+
 static inline const AtomString& eventTypeForKeyboardEventType(PlatformEvent::Type type)
 {
     switch (type) {
 static inline const AtomString& eventTypeForKeyboardEventType(PlatformEvent::Type type)
 {
     switch (type) {
index e256e8b..453d7c1 100644 (file)
@@ -35,6 +35,7 @@ class Node;
 class PlatformKeyboardEvent;
 
 class KeyboardEvent final : public UIEventWithKeyState {
 class PlatformKeyboardEvent;
 
 class KeyboardEvent final : public UIEventWithKeyState {
+    WTF_MAKE_ISO_ALLOCATED(KeyboardEvent);
 public:
     enum KeyLocationCode {
         DOM_KEY_LOCATION_STANDARD = 0x00,
 public:
     enum KeyLocationCode {
         DOM_KEY_LOCATION_STANDARD = 0x00,
index 3e4786d..05fecf7 100644 (file)
 #include "Blob.h"
 #include "EventNames.h"
 #include <JavaScriptCore/JSCInlines.h>
 #include "Blob.h"
 #include "EventNames.h"
 #include <JavaScriptCore/JSCInlines.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 
 namespace WebCore {
 
 using namespace JSC;
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MessageEvent);
+
 MessageEvent::MessageEvent() = default;
 
 inline MessageEvent::MessageEvent(const AtomString& type, Init&& initializer, IsTrusted isTrusted)
 MessageEvent::MessageEvent() = default;
 
 inline MessageEvent::MessageEvent(const AtomString& type, Init&& initializer, IsTrusted isTrusted)
index 148831a..f5e1b59 100644 (file)
@@ -46,6 +46,7 @@ using MessageEventSource = Variant<RefPtr<WindowProxy>, RefPtr<MessagePort>>;
 #endif
 
 class MessageEvent final : public Event {
 #endif
 
 class MessageEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MessageEvent);
 public:
     static Ref<MessageEvent> create(Vector<RefPtr<MessagePort>>&&, Ref<SerializedScriptValue>&&, const String& origin = { }, const String& lastEventId = { }, Optional<MessageEventSource>&& source = WTF::nullopt);
     static Ref<MessageEvent> create(const AtomString& type, Ref<SerializedScriptValue>&&, const String& origin, const String& lastEventId);
 public:
     static Ref<MessageEvent> create(Vector<RefPtr<MessagePort>>&&, Ref<SerializedScriptValue>&&, const String& origin = { }, const String& lastEventId = { }, Optional<MessageEventSource>&& source = WTF::nullopt);
     static Ref<MessageEvent> create(const AtomString& type, Ref<SerializedScriptValue>&&, const String& origin, const String& lastEventId);
index 5cfafa4..121668b 100644 (file)
 #include "JSEventTargetCustom.h"
 #include "PlatformMouseEvent.h"
 #include "RuntimeApplicationChecks.h"
 #include "JSEventTargetCustom.h"
 #include "PlatformMouseEvent.h"
 #include "RuntimeApplicationChecks.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MouseEvent);
+
 using namespace JSC;
 
 Ref<MouseEvent> MouseEvent::create(const AtomString& type, const MouseEventInit& initializer)
 using namespace JSC;
 
 Ref<MouseEvent> MouseEvent::create(const AtomString& type, const MouseEventInit& initializer)
index 462f259..d6bd1da 100644 (file)
@@ -38,6 +38,7 @@ class Node;
 class PlatformMouseEvent;
 
 class MouseEvent : public MouseRelatedEvent {
 class PlatformMouseEvent;
 
 class MouseEvent : public MouseRelatedEvent {
+    WTF_MAKE_ISO_ALLOCATED(MouseEvent);
 public:
     WEBCORE_EXPORT static Ref<MouseEvent> create(const AtomString& type, CanBubble, IsCancelable, IsComposed, MonotonicTime timestamp, RefPtr<WindowProxy>&&, int detail,
         const IntPoint& screenLocation, const IntPoint& windowLocation, const IntPoint& movementDelta, OptionSet<Modifier>, short button, unsigned short buttons,
 public:
     WEBCORE_EXPORT static Ref<MouseEvent> create(const AtomString& type, CanBubble, IsCancelable, IsComposed, MonotonicTime timestamp, RefPtr<WindowProxy>&&, int detail,
         const IntPoint& screenLocation, const IntPoint& windowLocation, const IntPoint& movementDelta, OptionSet<Modifier>, short button, unsigned short buttons,
index 94c7e65..275492f 100644 (file)
 #include "LayoutPoint.h"
 #include "RenderLayer.h"
 #include "RenderObject.h"
 #include "LayoutPoint.h"
 #include "RenderLayer.h"
 #include "RenderObject.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MouseRelatedEvent);
+
 MouseRelatedEvent::MouseRelatedEvent(const AtomString& eventType, CanBubble canBubble, IsCancelable isCancelable, IsComposed isComposed,
     MonotonicTime timestamp, RefPtr<WindowProxy>&& view, int detail,
     const IntPoint& screenLocation, const IntPoint& windowLocation, const IntPoint& movementDelta, OptionSet<Modifier> modifiers, IsSimulated isSimulated, IsTrusted isTrusted)
 MouseRelatedEvent::MouseRelatedEvent(const AtomString& eventType, CanBubble canBubble, IsCancelable isCancelable, IsComposed isComposed,
     MonotonicTime timestamp, RefPtr<WindowProxy>&& view, int detail,
     const IntPoint& screenLocation, const IntPoint& windowLocation, const IntPoint& movementDelta, OptionSet<Modifier> modifiers, IsSimulated isSimulated, IsTrusted isTrusted)
index 209214c..8fc79c2 100644 (file)
@@ -37,6 +37,7 @@ struct MouseRelatedEventInit : public EventModifierInit {
 
 // Internal only: Helper class for what's common between mouse and wheel events.
 class MouseRelatedEvent : public UIEventWithKeyState {
 
 // Internal only: Helper class for what's common between mouse and wheel events.
 class MouseRelatedEvent : public UIEventWithKeyState {
+    WTF_MAKE_ISO_ALLOCATED(MouseRelatedEvent);
 public:
     enum class IsSimulated : uint8_t { Yes, No };
 
 public:
     enum class IsSimulated : uint8_t { Yes, No };
 
index d6cafec..43500fd 100644 (file)
 #include "config.h"
 #include "MutationEvent.h"
 
 #include "config.h"
 #include "MutationEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MutationEvent);
+
 MutationEvent::MutationEvent(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, Node* relatedNode, const String& prevValue, const String& newValue)
     : Event(type, canBubble, cancelable)
     , m_relatedNode(relatedNode)
 MutationEvent::MutationEvent(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, Node* relatedNode, const String& prevValue, const String& newValue)
     : Event(type, canBubble, cancelable)
     , m_relatedNode(relatedNode)
index 3ba6cee..f9a140c 100644 (file)
@@ -29,6 +29,7 @@
 namespace WebCore {
 
 class MutationEvent final : public Event {
 namespace WebCore {
 
 class MutationEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MutationEvent);
 public:
     enum {
         MODIFICATION = 1,
 public:
     enum {
         MODIFICATION = 1,
index 48f956d..3235089 100644 (file)
 #include "OverflowEvent.h"
 
 #include "EventNames.h"
 #include "OverflowEvent.h"
 
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(OverflowEvent);
+
 OverflowEvent::OverflowEvent()
     : m_orient(VERTICAL)
     , m_horizontalOverflow(false)
 OverflowEvent::OverflowEvent()
     : m_orient(VERTICAL)
     , m_horizontalOverflow(false)
index 62c8f98..b38e117 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class OverflowEvent final : public Event {
 namespace WebCore {
 
 class OverflowEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(OverflowEvent);
 public:
     enum orientType {
         HORIZONTAL = 0,
 public:
     enum orientType {
         HORIZONTAL = 0,
index 0602c1f..1772e5c 100644 (file)
 #include "config.h"
 #include "PageTransitionEvent.h"
 
 #include "config.h"
 #include "PageTransitionEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(PageTransitionEvent);
+
 PageTransitionEvent::PageTransitionEvent(const AtomString& type, bool persisted)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_persisted(persisted)
 PageTransitionEvent::PageTransitionEvent(const AtomString& type, bool persisted)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_persisted(persisted)
index 333083e..9f6d453 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class PageTransitionEvent final : public Event {
 namespace WebCore {
 
 class PageTransitionEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(PageTransitionEvent);
 public:
     static Ref<PageTransitionEvent> create(const AtomString& type, bool persisted)
     {
 public:
     static Ref<PageTransitionEvent> create(const AtomString& type, bool persisted)
     {
index 3d218af..6e881d1 100644 (file)
 
 #if ENABLE(POINTER_EVENTS)
 
 
 #if ENABLE(POINTER_EVENTS)
 
-#import "EventNames.h"
+#include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(PointerEvent);
+
 const String& PointerEvent::mousePointerType()
 {
     static NeverDestroyed<const String> mouseType(MAKE_STATIC_STRING_IMPL("mouse"));
 const String& PointerEvent::mousePointerType()
 {
     static NeverDestroyed<const String> mouseType(MAKE_STATIC_STRING_IMPL("mouse"));
index b26deb5..af7a6b3 100644 (file)
@@ -40,6 +40,7 @@
 namespace WebCore {
 
 class PointerEvent final : public MouseEvent {
 namespace WebCore {
 
 class PointerEvent final : public MouseEvent {
+    WTF_MAKE_ISO_ALLOCATED(PointerEvent);
 public:
     struct Init : MouseEventInit {
         PointerID pointerId { mousePointerID };
 public:
     struct Init : MouseEventInit {
         PointerID pointerId { mousePointerID };
index d1dafd0..86ee8e5 100644 (file)
 #include "EventNames.h"
 #include "History.h"
 #include <JavaScriptCore/JSCInlines.h>
 #include "EventNames.h"
 #include "History.h"
 #include <JavaScriptCore/JSCInlines.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(PopStateEvent);
+
 PopStateEvent::PopStateEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_state(initializer.state)
 PopStateEvent::PopStateEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_state(initializer.state)
index 567e456..ad69b23 100644 (file)
@@ -35,6 +35,7 @@ class History;
 class SerializedScriptValue;
 
 class PopStateEvent final : public Event {
 class SerializedScriptValue;
 
 class PopStateEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(PopStateEvent);
 public:
     virtual ~PopStateEvent();
     static Ref<PopStateEvent> create(RefPtr<SerializedScriptValue>&&, History*);
 public:
     virtual ~PopStateEvent();
     static Ref<PopStateEvent> create(RefPtr<SerializedScriptValue>&&, History*);
index 8223ab4..46f663d 100644 (file)
 #include "config.h"
 #include "ProgressEvent.h"
 
 #include "config.h"
 #include "ProgressEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ProgressEvent);
+
 ProgressEvent::ProgressEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_lengthComputable(initializer.lengthComputable)
 ProgressEvent::ProgressEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_lengthComputable(initializer.lengthComputable)
index b696ebf..0a1037e 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class ProgressEvent : public Event {
 namespace WebCore {
 
 class ProgressEvent : public Event {
+    WTF_MAKE_ISO_ALLOCATED(ProgressEvent);
 public:
     static Ref<ProgressEvent> create(const AtomString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total)
     {
 public:
     static Ref<ProgressEvent> create(const AtomString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total)
     {
index 7cd0ab1..8c394ff 100644 (file)
 #include "JSDOMPromise.h"
 #include <JavaScriptCore/HeapInlines.h>
 #include <JavaScriptCore/StrongInlines.h>
 #include "JSDOMPromise.h"
 #include <JavaScriptCore/HeapInlines.h>
 #include <JavaScriptCore/StrongInlines.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 using namespace JSC;
 
 
 namespace WebCore {
 using namespace JSC;
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(PromiseRejectionEvent);
+
 PromiseRejectionEvent::PromiseRejectionEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_promise(*(initializer.promise))
 PromiseRejectionEvent::PromiseRejectionEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_promise(*(initializer.promise))
index 6f4ca50..254bd0c 100644 (file)
@@ -33,6 +33,7 @@ namespace WebCore {
 class DOMPromise;
 
 class PromiseRejectionEvent final : public Event {
 class DOMPromise;
 
 class PromiseRejectionEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(PromiseRejectionEvent);
 public:
     struct Init : EventInit {
         RefPtr<DOMPromise> promise;
 public:
     struct Init : EventInit {
         RefPtr<DOMPromise> promise;
diff --git a/Source/WebCore/dom/SecurityPolicyViolationEvent.cpp b/Source/WebCore/dom/SecurityPolicyViolationEvent.cpp
new file mode 100644 (file)
index 0000000..aeeed91
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2019 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "SecurityPolicyViolationEvent.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(SecurityPolicyViolationEvent);
+
+}
index 3c40b71..a132bb9 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class SecurityPolicyViolationEvent final : public Event {
 namespace WebCore {
 
 class SecurityPolicyViolationEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(SecurityPolicyViolationEvent);
 public:
     static Ref<SecurityPolicyViolationEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, const String& documentURI, const String& referrer, const String& blockedURI, const String& violatedDirective, const String& effectiveDirective, const String& originalPolicy, const String& sourceFile, unsigned short statusCode, int lineNumber, int columnNumber)
     {
 public:
     static Ref<SecurityPolicyViolationEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, const String& documentURI, const String& referrer, const String& blockedURI, const String& violatedDirective, const String& effectiveDirective, const String& originalPolicy, const String& sourceFile, unsigned short statusCode, int lineNumber, int columnNumber)
     {
index eb46b7d..d68890b 100644 (file)
 #include "DocumentFragment.h"
 #include "Editor.h"
 #include "EventNames.h"
 #include "DocumentFragment.h"
 #include "Editor.h"
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(TextEvent);
+
 Ref<TextEvent> TextEvent::createForBindings()
 {
     return adoptRef(*new TextEvent);
 Ref<TextEvent> TextEvent::createForBindings()
 {
     return adoptRef(*new TextEvent);
index 916deb5..d38aa42 100644 (file)
@@ -37,6 +37,7 @@ namespace WebCore {
     enum class MailBlockquoteHandling;
 
     class TextEvent final : public UIEvent {
     enum class MailBlockquoteHandling;
 
     class TextEvent final : public UIEvent {
+        WTF_MAKE_ISO_ALLOCATED(TextEvent);
     public:
         static Ref<TextEvent> create(RefPtr<WindowProxy>&&, const String& data, TextEventInputType = TextEventInputKeyboard);
         static Ref<TextEvent> createForBindings();
     public:
         static Ref<TextEvent> create(RefPtr<WindowProxy>&&, const String& data, TextEventInputType = TextEventInputKeyboard);
         static Ref<TextEvent> createForBindings();
index eb0e849..11f5960 100644 (file)
 #include "TouchEvent.h"
 
 #include "EventDispatcher.h"
 #include "TouchEvent.h"
 
 #include "EventDispatcher.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(TouchEvent);
+
 TouchEvent::TouchEvent() = default;
 
 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches, TouchList* changedTouches, const AtomString& type,
 TouchEvent::TouchEvent() = default;
 
 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches, TouchList* changedTouches, const AtomString& type,
index 833fe2a..dd8ec60 100644 (file)
@@ -36,6 +36,7 @@
 namespace WebCore {
 
 class TouchEvent final : public MouseRelatedEvent {
 namespace WebCore {
 
 class TouchEvent final : public MouseRelatedEvent {
+    WTF_MAKE_ISO_ALLOCATED(TouchEvent);
 public:
     virtual ~TouchEvent();
 
 public:
     virtual ~TouchEvent();
 
index 11cb174..6961ef3 100644 (file)
 #include "config.h"
 #include "TransitionEvent.h"
 
 #include "config.h"
 #include "TransitionEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(TransitionEvent);
+
 TransitionEvent::TransitionEvent(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_propertyName(propertyName)
 TransitionEvent::TransitionEvent(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_propertyName(propertyName)
index b50ee24..494f9a4 100644 (file)
@@ -31,6 +31,7 @@
 namespace WebCore {
 
 class TransitionEvent final : public Event {
 namespace WebCore {
 
 class TransitionEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(TransitionEvent);
 public:
     static Ref<TransitionEvent> create(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     {
 public:
     static Ref<TransitionEvent> create(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     {
index 87f8d04..b99e4cb 100644 (file)
 #include "UIEvent.h"
 
 #include "Node.h"
 #include "UIEvent.h"
 
 #include "Node.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
     
 
 namespace WebCore {
     
+WTF_MAKE_ISO_ALLOCATED_IMPL(UIEvent);
+
 UIEvent::UIEvent()
     : m_detail(0)
 {
 UIEvent::UIEvent()
     : m_detail(0)
 {
index ec2eee7..9f7b969 100644 (file)
@@ -33,6 +33,7 @@ namespace WebCore {
 typedef WindowProxy AbstractView;
 
 class UIEvent : public Event {
 typedef WindowProxy AbstractView;
 
 class UIEvent : public Event {
+    WTF_MAKE_ISO_ALLOCATED(UIEvent);
 public:
     static Ref<UIEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable isCancelable, IsComposed isComposed, RefPtr<WindowProxy>&& view, int detail)
     {
 public:
     static Ref<UIEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable isCancelable, IsComposed isComposed, RefPtr<WindowProxy>&& view, int detail)
     {
index 8d1ea45..6bdeed3 100644 (file)
 #include "config.h"
 #include "UIEventWithKeyState.h"
 
 #include "config.h"
 #include "UIEventWithKeyState.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(UIEventWithKeyState);
+
 auto UIEventWithKeyState::modifiersFromInitializer(const EventModifierInit& initializer) -> OptionSet<Modifier>
 {
     OptionSet<Modifier> result;
 auto UIEventWithKeyState::modifiersFromInitializer(const EventModifierInit& initializer) -> OptionSet<Modifier>
 {
     OptionSet<Modifier> result;
index a8fc143..d82e9aa 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class UIEventWithKeyState : public UIEvent {
 namespace WebCore {
 
 class UIEventWithKeyState : public UIEvent {
+    WTF_MAKE_ISO_ALLOCATED(UIEventWithKeyState);
 public:
     using Modifier = PlatformEvent::Modifier;
 
 public:
     using Modifier = PlatformEvent::Modifier;
 
index f04c909..1b2c5c2 100644 (file)
 #include "config.h"
 #include "WebKitAnimationEvent.h"
 
 #include "config.h"
 #include "WebKitAnimationEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitAnimationEvent);
+
 WebKitAnimationEvent::WebKitAnimationEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_animationName(initializer.animationName)
 WebKitAnimationEvent::WebKitAnimationEvent(const AtomString& type, const Init& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_animationName(initializer.animationName)
index 9c7a51a..0faa212 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class WebKitAnimationEvent final : public Event {
 namespace WebCore {
 
 class WebKitAnimationEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(WebKitAnimationEvent);
 public:
     static Ref<WebKitAnimationEvent> create(const AtomString& type, const String& animationName, double elapsedTime)
     {
 public:
     static Ref<WebKitAnimationEvent> create(const AtomString& type, const String& animationName, double elapsedTime)
     {
index f4ee465..c8557a7 100644 (file)
 #include "config.h"
 #include "WebKitTransitionEvent.h"
 
 #include "config.h"
 #include "WebKitTransitionEvent.h"
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WebKitTransitionEvent);
+
 WebKitTransitionEvent::WebKitTransitionEvent(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_propertyName(propertyName)
 WebKitTransitionEvent::WebKitTransitionEvent(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     : Event(type, CanBubble::Yes, IsCancelable::Yes)
     , m_propertyName(propertyName)
index 8433747..b2e8a77 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class WebKitTransitionEvent final : public Event {
 namespace WebCore {
 
 class WebKitTransitionEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(WebKitTransitionEvent);
 public:
     static Ref<WebKitTransitionEvent> create(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     {
 public:
     static Ref<WebKitTransitionEvent> create(const AtomString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
     {
index 4d45195..211db0a 100644 (file)
 
 #include "DataTransfer.h"
 #include "EventNames.h"
 
 #include "DataTransfer.h"
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 #include <wtf/MathExtras.h>
 
 namespace WebCore {
 
 #include <wtf/MathExtras.h>
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WheelEvent);
+
 inline static unsigned determineDeltaMode(const PlatformWheelEvent& event)
 {
     return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL;
 inline static unsigned determineDeltaMode(const PlatformWheelEvent& event)
 {
     return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL;
index 450436b..0a89c3d 100644 (file)
@@ -30,6 +30,7 @@
 namespace WebCore {
 
 class WheelEvent final : public MouseEvent {
 namespace WebCore {
 
 class WheelEvent final : public MouseEvent {
+    WTF_MAKE_ISO_ALLOCATED(WheelEvent);
 public:
     enum { TickMultiplier = 120 };
 
 public:
     enum { TickMultiplier = 120 };
 
index f6e4ef8..5acbc60 100644 (file)
 #if ENABLE(ENCRYPTED_MEDIA)
 
 #include "NotImplemented.h"
 #if ENABLE(ENCRYPTED_MEDIA)
 
 #include "NotImplemented.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(MediaEncryptedEvent);
+
 MediaEncryptedEvent::MediaEncryptedEvent(const AtomString& type, const MediaEncryptedEventInit& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_initDataType(initializer.initDataType)
 MediaEncryptedEvent::MediaEncryptedEvent(const AtomString& type, const MediaEncryptedEventInit& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
     , m_initDataType(initializer.initDataType)
index 45b344e..6765681 100644 (file)
@@ -40,6 +40,7 @@ class ArrayBuffer;
 namespace WebCore {
 
 class MediaEncryptedEvent final : public Event {
 namespace WebCore {
 
 class MediaEncryptedEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(MediaEncryptedEvent);
 public:
     using Init = MediaEncryptedEventInit;
 
 public:
     using Init = MediaEncryptedEventInit;
 
index 13df204..2628d0d 100644 (file)
 
 #if ENABLE(WEBGL)
 
 
 #if ENABLE(WEBGL)
 
+#include <wtf/IsoMallocInlines.h>
+
 namespace WebCore {
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(WebGLContextEvent);
+
 WebGLContextEvent::WebGLContextEvent(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, const String& statusMessage)
     : Event(type, canBubble, cancelable)
     , m_statusMessage(statusMessage)
 WebGLContextEvent::WebGLContextEvent(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, const String& statusMessage)
     : Event(type, canBubble, cancelable)
     , m_statusMessage(statusMessage)
index c5cc662..b6dc631 100644 (file)
@@ -32,6 +32,7 @@
 namespace WebCore {
 
 class WebGLContextEvent final : public Event {
 namespace WebCore {
 
 class WebGLContextEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(WebGLContextEvent);
 public:
     static Ref<WebGLContextEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, const String& statusMessage)
     {
 public:
     static Ref<WebGLContextEvent> create(const AtomString& type, CanBubble canBubble, IsCancelable cancelable, const String& statusMessage)
     {
index 6dc89c9..d382642 100644 (file)
@@ -63,6 +63,7 @@ private:
     RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
     bool rendererIsNeeded(const RenderStyle&) override;
 };
     RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) override;
     bool rendererIsNeeded(const RenderStyle&) override;
 };
+static_assert(sizeof(ProgressInnerElement) == sizeof(ProgressShadowElement));
 
 inline Ref<ProgressInnerElement> ProgressInnerElement::create(Document& document)
 {
 
 inline Ref<ProgressInnerElement> ProgressInnerElement::create(Document& document)
 {
@@ -78,6 +79,7 @@ public:
 private:
     ProgressBarElement(Document&);
 };
 private:
     ProgressBarElement(Document&);
 };
+static_assert(sizeof(ProgressBarElement) == sizeof(ProgressShadowElement));
 
 inline Ref<ProgressBarElement> ProgressBarElement::create(Document& document)
 {
 
 inline Ref<ProgressBarElement> ProgressBarElement::create(Document& document)
 {
@@ -94,6 +96,7 @@ public:
 private:
     ProgressValueElement(Document&);
 };
 private:
     ProgressValueElement(Document&);
 };
+static_assert(sizeof(ProgressValueElement) == sizeof(ProgressShadowElement));
 
 inline Ref<ProgressValueElement> ProgressValueElement::create(Document& document)
 {
 
 inline Ref<ProgressValueElement> ProgressValueElement::create(Document& document)
 {
index 850024a..50fa732 100644 (file)
 #if ENABLE(VIDEO_TRACK)
 
 #include "TrackEvent.h"
 #if ENABLE(VIDEO_TRACK)
 
 #include "TrackEvent.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(TrackEvent);
+
 static inline Optional<TrackEvent::TrackEventTrack> convertToTrackEventTrack(Ref<TrackBase>&& track)
 {
     switch (track->type()) {
 static inline Optional<TrackEvent::TrackEventTrack> convertToTrackEventTrack(Ref<TrackBase>&& track)
 {
     switch (track->type()) {
index b647982..24942ef 100644 (file)
@@ -35,6 +35,7 @@
 namespace WebCore {
 
 class TrackEvent final : public Event {
 namespace WebCore {
 
 class TrackEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(TrackEvent);
 public:
     virtual ~TrackEvent();
 
 public:
     virtual ~TrackEvent();
 
index f667156..aabd21b 100644 (file)
 #include "StorageEvent.h"
 
 #include "Storage.h"
 #include "StorageEvent.h"
 
 #include "Storage.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(StorageEvent);
+
 Ref<StorageEvent> StorageEvent::createForBindings()
 {
     return adoptRef(*new StorageEvent);
 Ref<StorageEvent> StorageEvent::createForBindings()
 {
     return adoptRef(*new StorageEvent);
index c2b32c6..22397ab 100644 (file)
@@ -32,7 +32,8 @@ namespace WebCore {
 
 class Storage;
 
 
 class Storage;
 
-class StorageEvent : public Event {
+class StorageEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(StorageEvent);
 public:
     static Ref<StorageEvent> create(const AtomString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
     static Ref<StorageEvent> createForBindings();
 public:
     static Ref<StorageEvent> create(const AtomString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
     static Ref<StorageEvent> createForBindings();
index 3cfed25..fbdf71c 100644 (file)
@@ -32,5 +32,6 @@ private:
 
     Ref<LightSource> lightSource(SVGFilterBuilder&) const override;
 };
 
     Ref<LightSource> lightSource(SVGFilterBuilder&) const override;
 };
+static_assert(sizeof(SVGFEDistantLightElement) == sizeof(SVGFELightElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index 585623d..113e988 100644 (file)
@@ -31,5 +31,6 @@ public:
 private:
     SVGFEFuncAElement(const QualifiedName&, Document&);
 };
 private:
     SVGFEFuncAElement(const QualifiedName&, Document&);
 };
+static_assert(sizeof(SVGFEFuncAElement) == sizeof(SVGComponentTransferFunctionElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index e93090f..2786381 100644 (file)
@@ -31,5 +31,6 @@ public:
 private:
     SVGFEFuncBElement(const QualifiedName&, Document&);
 };
 private:
     SVGFEFuncBElement(const QualifiedName&, Document&);
 };
+static_assert(sizeof(SVGFEFuncBElement) == sizeof(SVGComponentTransferFunctionElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index 0fb3ae0..e3b670e 100644 (file)
@@ -31,5 +31,6 @@ public:
 private:
     SVGFEFuncGElement(const QualifiedName&, Document&);
 };
 private:
     SVGFEFuncGElement(const QualifiedName&, Document&);
 };
+static_assert(sizeof(SVGFEFuncGElement) == sizeof(SVGComponentTransferFunctionElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index abe7a48..9d3d2a8 100644 (file)
@@ -31,5 +31,6 @@ public:
 private:
     SVGFEFuncRElement(const QualifiedName&, Document&);
 };
 private:
     SVGFEFuncRElement(const QualifiedName&, Document&);
 };
+static_assert(sizeof(SVGFEFuncRElement) == sizeof(SVGComponentTransferFunctionElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index 9265637..33a5bd7 100644 (file)
@@ -32,5 +32,6 @@ private:
 
     Ref<LightSource> lightSource(SVGFilterBuilder&) const override;
 };
 
     Ref<LightSource> lightSource(SVGFilterBuilder&) const override;
 };
+static_assert(sizeof(SVGFEPointLightElement) == sizeof(SVGFELightElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index ee3227f..3f7717c 100644 (file)
@@ -32,5 +32,6 @@ private:
 
     Ref<LightSource> lightSource(SVGFilterBuilder&) const override;
 };
 
     Ref<LightSource> lightSource(SVGFilterBuilder&) const override;
 };
+static_assert(sizeof(SVGFESpotLightElement) == sizeof(SVGFELightElement));
 
 } // namespace WebCore
 
 } // namespace WebCore
index 87ca4ce..696fcf1 100644 (file)
 
 #include "SVGPoint.h"
 #include "SVGRect.h"
 
 #include "SVGPoint.h"
 #include "SVGRect.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(SVGZoomEvent);
+
 SVGZoomEvent::SVGZoomEvent()
     : m_newScale(0.0f)
     , m_previousScale(0.0f)
 SVGZoomEvent::SVGZoomEvent()
     : m_newScale(0.0f)
     , m_previousScale(0.0f)
index d7e3fd1..bb1445b 100644 (file)
@@ -30,6 +30,7 @@ class SVGPoint;
 class SVGRect;
 
 class SVGZoomEvent final : public UIEvent {
 class SVGRect;
 
 class SVGZoomEvent final : public UIEvent {
+    WTF_MAKE_ISO_ALLOCATED(SVGZoomEvent);
 public:
     static Ref<SVGZoomEvent> createForBindings() { return adoptRef(*new SVGZoomEvent); }
 
 public:
     static Ref<SVGZoomEvent> createForBindings() { return adoptRef(*new SVGZoomEvent); }
 
index 4c1bc6f..0437e42 100644 (file)
 #include "JSDOMPromise.h"
 #include "ScriptExecutionContext.h"
 #include <JavaScriptCore/Microtask.h>
 #include "JSDOMPromise.h"
 #include "ScriptExecutionContext.h"
 #include <JavaScriptCore/Microtask.h>
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ExtendableEvent);
+
 ExtendableEvent::ExtendableEvent(const AtomString& type, const ExtendableEventInit& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
 {
 ExtendableEvent::ExtendableEvent(const AtomString& type, const ExtendableEventInit& initializer, IsTrusted isTrusted)
     : Event(type, initializer, isTrusted)
 {
index 2563c8d..1c2d9b7 100644 (file)
@@ -36,6 +36,7 @@ namespace WebCore {
 class DOMPromise;
 
 class ExtendableEvent : public Event, public CanMakeWeakPtr<ExtendableEvent> {
 class DOMPromise;
 
 class ExtendableEvent : public Event, public CanMakeWeakPtr<ExtendableEvent> {
+    WTF_MAKE_ISO_ALLOCATED(ExtendableEvent);
 public:
     static Ref<ExtendableEvent> create(const AtomString& type, const ExtendableEventInit& initializer, IsTrusted isTrusted = IsTrusted::No)
     {
 public:
     static Ref<ExtendableEvent> create(const AtomString& type, const ExtendableEventInit& initializer, IsTrusted isTrusted = IsTrusted::No)
     {
index 3dcabcb..cceb35f 100644 (file)
 #include "ExtendableMessageEvent.h"
 
 #include "EventNames.h"
 #include "ExtendableMessageEvent.h"
 
 #include "EventNames.h"
+#include <wtf/IsoMallocInlines.h>
 
 namespace WebCore {
 
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(ExtendableMessageEvent);
+
 Ref<ExtendableMessageEvent> ExtendableMessageEvent::create(Vector<RefPtr<MessagePort>>&& ports, RefPtr<SerializedScriptValue>&& data, const String& origin, const String& lastEventId, Optional<ExtendableMessageEventSource>&& source)
 {
     return adoptRef(*new ExtendableMessageEvent(WTFMove(data), origin, lastEventId, WTFMove(source), WTFMove(ports)));
 Ref<ExtendableMessageEvent> ExtendableMessageEvent::create(Vector<RefPtr<MessagePort>>&& ports, RefPtr<SerializedScriptValue>&& data, const String& origin, const String& lastEventId, Optional<ExtendableMessageEventSource>&& source)
 {
     return adoptRef(*new ExtendableMessageEvent(WTFMove(data), origin, lastEventId, WTFMove(source), WTFMove(ports)));
index 34323c8..0ee8176 100644 (file)
@@ -48,6 +48,7 @@ class ServiceWorkerClient;
 using ExtendableMessageEventSource = Variant<RefPtr<ServiceWorkerClient>, RefPtr<ServiceWorker>, RefPtr<MessagePort>>;
 
 class ExtendableMessageEvent final : public ExtendableEvent {
 using ExtendableMessageEventSource = Variant<RefPtr<ServiceWorkerClient>, RefPtr<ServiceWorker>, RefPtr<MessagePort>>;
 
 class ExtendableMessageEvent final : public ExtendableEvent {
+    WTF_MAKE_ISO_ALLOCATED(ExtendableMessageEvent);
 public:
     struct Init : ExtendableEventInit {
         JSC::JSValue data;
 public:
     struct Init : ExtendableEventInit {
         JSC::JSValue data;
index 1bfe66c..15fe114 100644 (file)
 
 #include "JSDOMPromise.h"
 #include "JSFetchResponse.h"
 
 #include "JSDOMPromise.h"
 #include "JSFetchResponse.h"
+#include <wtf/IsoMallocInlines.h>
 
 #if ENABLE(SERVICE_WORKER)
 
 namespace WebCore {
 
 
 #if ENABLE(SERVICE_WORKER)
 
 namespace WebCore {
 
+WTF_MAKE_ISO_ALLOCATED_IMPL(FetchEvent);
+
 Ref<FetchEvent> FetchEvent::createForTesting(ScriptExecutionContext& context)
 {
     FetchEvent::Init init;
 Ref<FetchEvent> FetchEvent::createForTesting(ScriptExecutionContext& context)
 {
     FetchEvent::Init init;
index e588648..f824523 100644 (file)
@@ -38,6 +38,7 @@ class FetchResponse;
 class ResourceError;
 
 class FetchEvent final : public ExtendableEvent {
 class ResourceError;
 
 class FetchEvent final : public ExtendableEvent {
+    WTF_MAKE_ISO_ALLOCATED(FetchEvent);
 public:
     struct Init : ExtendableEventInit {
         RefPtr<FetchRequest> request;
 public:
     struct Init : ExtendableEventInit {
         RefPtr<FetchRequest> request;
diff --git a/Source/WebCore/xml/XMLHttpRequestProgressEvent.cpp b/Source/WebCore/xml/XMLHttpRequestProgressEvent.cpp
new file mode 100644 (file)
index 0000000..600c0e3
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2019 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 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 THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "XMLHttpRequestProgressEvent.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(XMLHttpRequestProgressEvent);
+
+} // namespace WebCore
index 85f807c..40d32df 100644 (file)
@@ -30,7 +30,8 @@
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-class XMLHttpRequestProgressEvent : public ProgressEvent {
+class XMLHttpRequestProgressEvent final : public ProgressEvent {
+    WTF_MAKE_ISO_ALLOCATED(XMLHttpRequestProgressEvent);
 public:
     static Ref<XMLHttpRequestProgressEvent> create(const AtomString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
     {
 public:
     static Ref<XMLHttpRequestProgressEvent> create(const AtomString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
     {