Title: [181763] trunk/Source/WebCore
Revision
181763
Author
[email protected]
Date
2015-03-19 15:39:55 -0700 (Thu, 19 Mar 2015)

Log Message

[Content Extensions] Test regular _expression_ parse failures.
https://bugs.webkit.org/show_bug.cgi?id=142872

Patch by Alex Christensen <[email protected]> on 2015-03-19
Reviewed by Benjamin Poulain.

* contentextensions/URLFilterParser.cpp:
(WebCore::ContentExtensions::GraphBuilder::finalize):
(WebCore::ContentExtensions::GraphBuilder::quantifyAtom):
(WebCore::ContentExtensions::URLFilterParser::addPattern):
(WebCore::ContentExtensions::URLFilterParser::statusString):
* contentextensions/URLFilterParser.h:
Changed failures that can never happen to assertions.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (181762 => 181763)


--- trunk/Source/WebCore/ChangeLog	2015-03-19 22:37:35 UTC (rev 181762)
+++ trunk/Source/WebCore/ChangeLog	2015-03-19 22:39:55 UTC (rev 181763)
@@ -15,6 +15,15 @@
 
 2015-03-19  Enrica Casucci  <[email protected]>
 
+        Release build fix after https://trac.webkit.org/r181760.
+
+        Unreviewed.
+
+        * page/EventHandler.cpp:
+        (WebCore::EventHandler::handleDrag):
+
+2015-03-19  Enrica Casucci  <[email protected]>
+
         <attachment> should put URLs on the pasteboard so that Finder can accept drops.
         https://bugs.webkit.org/show_bug.cgi?id=142801
         rdar://problem/19982527

Modified: trunk/Source/WebCore/page/EventHandler.cpp (181762 => 181763)


--- trunk/Source/WebCore/page/EventHandler.cpp	2015-03-19 22:37:35 UTC (rev 181762)
+++ trunk/Source/WebCore/page/EventHandler.cpp	2015-03-19 22:39:55 UTC (rev 181763)
@@ -3433,9 +3433,11 @@
         ASSERT((dragState().type & DragSourceActionSelection));
         ASSERT((dragState().type & ~DragSourceActionSelection) == DragSourceActionDHTML
             || (dragState().type & ~DragSourceActionSelection) == DragSourceActionImage
+#ifndef NDEBUG
 #if ENABLE(ATTACHMENT_ELEMENT)
             || (dragState().type & ~DragSourceActionSelection) == DragSourceActionAttachment
 #endif
+#endif
             || (dragState().type & ~DragSourceActionSelection) == DragSourceActionLink);
         dragState().type = DragSourceActionSelection;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to