Title: [250080] trunk/Source/WebCore
- Revision
- 250080
- Author
- [email protected]
- Date
- 2019-09-18 20:51:48 -0700 (Wed, 18 Sep 2019)
Log Message
Unreviewed, fixed a crash in ssl/applepay/ApplePayCancelEvent.https.html
After r250060 (which landed very shortly after the patch that introduced ApplePayCancelEvent),
all Events must be IsoHeap-ed. ApplePayCancelEvent was not IsoHeap-ed, and so this caused
assertion failures in ssl/applepay/ApplePayCancelEvent.https.html.
Added the WTF_MAKE_ISO_ALLOCATED macros to ApplePayCancelEvent without a review to stop the
test from failing in EWS.
* Modules/applepay/ApplePayCancelEvent.cpp:
* Modules/applepay/ApplePayCancelEvent.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (250079 => 250080)
--- trunk/Source/WebCore/ChangeLog 2019-09-19 03:45:06 UTC (rev 250079)
+++ trunk/Source/WebCore/ChangeLog 2019-09-19 03:51:48 UTC (rev 250080)
@@ -1,3 +1,17 @@
+2019-09-18 Andy Estes <[email protected]>
+
+ Unreviewed, fixed a crash in ssl/applepay/ApplePayCancelEvent.https.html
+
+ After r250060 (which landed very shortly after the patch that introduced ApplePayCancelEvent),
+ all Events must be IsoHeap-ed. ApplePayCancelEvent was not IsoHeap-ed, and so this caused
+ assertion failures in ssl/applepay/ApplePayCancelEvent.https.html.
+
+ Added the WTF_MAKE_ISO_ALLOCATED macros to ApplePayCancelEvent without a review to stop the
+ test from failing in EWS.
+
+ * Modules/applepay/ApplePayCancelEvent.cpp:
+ * Modules/applepay/ApplePayCancelEvent.h:
+
2019-09-18 Chris Dumez <[email protected]>
WebSocketStream does not need a SessionID
Modified: trunk/Source/WebCore/Modules/applepay/ApplePayCancelEvent.cpp (250079 => 250080)
--- trunk/Source/WebCore/Modules/applepay/ApplePayCancelEvent.cpp 2019-09-19 03:45:06 UTC (rev 250079)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayCancelEvent.cpp 2019-09-19 03:51:48 UTC (rev 250080)
@@ -32,6 +32,8 @@
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(ApplePayCancelEvent);
+
ApplePayCancelEvent::ApplePayCancelEvent(const AtomString& type, PaymentSessionError&& sessionError)
: Event { type, CanBubble::No, IsCancelable::No }
, m_sessionError { WTFMove(sessionError) }
Modified: trunk/Source/WebCore/Modules/applepay/ApplePayCancelEvent.h (250079 => 250080)
--- trunk/Source/WebCore/Modules/applepay/ApplePayCancelEvent.h 2019-09-19 03:45:06 UTC (rev 250079)
+++ trunk/Source/WebCore/Modules/applepay/ApplePayCancelEvent.h 2019-09-19 03:51:48 UTC (rev 250080)
@@ -35,6 +35,7 @@
class PaymentSessionError;
class ApplePayCancelEvent : public Event {
+ WTF_MAKE_ISO_ALLOCATED(ApplePayCancelEvent);
public:
static Ref<ApplePayCancelEvent> create(const AtomString& type, PaymentSessionError&& sessionError)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes