Title: [241908] trunk/Tools
- Revision
- 241908
- Author
- [email protected]
- Date
- 2019-02-21 14:55:05 -0800 (Thu, 21 Feb 2019)
Log Message
Fix ProcessSwap.PageOverlayLayerPersistence on macOS
* TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
I am a backwards.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (241907 => 241908)
--- trunk/Tools/ChangeLog 2019-02-21 22:55:05 UTC (rev 241907)
+++ trunk/Tools/ChangeLog 2019-02-21 22:55:05 UTC (rev 241908)
@@ -3,6 +3,13 @@
Fix ProcessSwap.PageOverlayLayerPersistence on macOS
* TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
+ I am a backwards.
+
+2019-02-21 Tim Horton <[email protected]>
+
+ Fix ProcessSwap.PageOverlayLayerPersistence on macOS
+
+ * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
We can't find the UI-side layer on macOS because we don't use UI-side compositing.
We could force on UI-side compositing, but I feel like the test might be more
valuable exercising the normal path on each platform (though the original
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm (241907 => 241908)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm 2019-02-21 22:55:05 UTC (rev 241907)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm 2019-02-21 22:55:05 UTC (rev 241908)
@@ -5183,7 +5183,7 @@
// We can only look for the overlay layer in the UI-side layer tree on platforms
// that use UI-side compositing.
-#if PLATFORM(MAC)
+#if !PLATFORM(MAC)
EXPECT_TRUE(hasOverlay([webView layer]));
#endif
@@ -5199,7 +5199,7 @@
[webView waitForNextPresentationUpdate];
-#if PLATFORM(MAC)
+#if !PLATFORM(MAC)
EXPECT_TRUE(hasOverlay([webView layer]));
#endif
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes