Title: [242761] trunk/Source/WebCore
Revision
242761
Author
[email protected]
Date
2019-03-11 18:08:18 -0700 (Mon, 11 Mar 2019)

Log Message

REGRESSION: (r242181) API test DragAndDropTests.ExternalSourcePlainTextToIFrame is Timing out
https://bugs.webkit.org/show_bug.cgi?id=195362

Reviewed by Alexey Proskuryakov.

Covered by API test no longer crashing.

* page/SecurityOrigin.cpp:
(WebCore::originsMatch):
String representation should only match if originsMatch returns true.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (242760 => 242761)


--- trunk/Source/WebCore/ChangeLog	2019-03-12 00:57:53 UTC (rev 242760)
+++ trunk/Source/WebCore/ChangeLog	2019-03-12 01:08:18 UTC (rev 242761)
@@ -1,3 +1,16 @@
+2019-03-11  Youenn Fablet  <[email protected]>
+
+        REGRESSION: (r242181) API test DragAndDropTests.ExternalSourcePlainTextToIFrame is Timing out
+        https://bugs.webkit.org/show_bug.cgi?id=195362
+
+        Reviewed by Alexey Proskuryakov.
+
+        Covered by API test no longer crashing.
+
+        * page/SecurityOrigin.cpp:
+        (WebCore::originsMatch):
+        String representation should only match if originsMatch returns true.
+
 2019-03-11  Justin Fan  <[email protected]>
 
         [Web GPU] Update GPUSwapChainDescriptor, GPUSwapChain and implement GPUCanvasContext

Modified: trunk/Source/WebCore/page/SecurityOrigin.cpp (242760 => 242761)


--- trunk/Source/WebCore/page/SecurityOrigin.cpp	2019-03-12 00:57:53 UTC (rev 242760)
+++ trunk/Source/WebCore/page/SecurityOrigin.cpp	2019-03-12 01:08:18 UTC (rev 242761)
@@ -496,7 +496,7 @@
     if (&origin1 == &origin2)
         return true;
 
-    ASSERT(areOriginsMatching(origin1, origin2) == (origin1.toString() == origin2.toString()));
+    ASSERT(!areOriginsMatching(origin1, origin2) || (origin1.toString() == origin2.toString()));
     return areOriginsMatching(origin1, origin2);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to