| Index: Source/core/events/EventTarget.cpp
|
| diff --git a/Source/core/events/EventTarget.cpp b/Source/core/events/EventTarget.cpp
|
| index 8cc27463a0873ccad916847db2874518a9511632..7110ca1cf8e93fb2b675d869f45559d60afbeb6c 100644
|
| --- a/Source/core/events/EventTarget.cpp
|
| +++ b/Source/core/events/EventTarget.cpp
|
| @@ -267,7 +267,11 @@ bool EventTarget::fireEventListeners(Event* event)
|
|
|
| EventListenerVector* listenersVector = d->eventListenerMap.find(event->type());
|
| if (!RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled() && (event->type() == EventTypeNames::animationiteration || event->type() == EventTypeNames::animationend
|
| - || event->type() == EventTypeNames::animationstart))
|
| + || event->type() == EventTypeNames::animationstart)
|
| + // Some code out-there uses custom events to dispatch unprefixed animation events manually,
|
| + // we can safely remove all this block when cssAnimationUnprefixedEnabled is always on, this
|
| + // is really a special case. DO NOT ADD MORE EVENTS HERE.
|
| + && event->interfaceName() != EventNames::CustomEvent)
|
| listenersVector = 0;
|
|
|
| if (listenersVector) {
|
|
|