cef/patch/patches/webkit_933.patch

14 lines
664 B
Diff

Index: WebNode.cpp
===================================================================
--- WebNode.cpp (revision 160715)
+++ WebNode.cpp (working copy)
@@ -169,7 +169,7 @@
void WebNode::addEventListener(const WebString& eventType, WebDOMEventListener* listener, bool useCapture)
{
// Please do not add more eventTypes to this list without an API review.
- RELEASE_ASSERT(eventType == "mousedown");
+ // RELEASE_ASSERT(eventType == "mousedown");
EventListenerWrapper* listenerWrapper = listener->createEventListenerWrapper(eventType, useCapture, m_private.get());
// The listenerWrapper is only referenced by the actual Node. Once it goes