Title: [241905] trunk/Tools
- Revision
- 241905
- Author
- [email protected]
- Date
- 2019-02-21 14:50:14 -0800 (Thu, 21 Feb 2019)
Log Message
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
bug was also UI-side specific). Though we can't validate that the overlay
layer was installed successfully, there are layout tests that do that.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (241904 => 241905)
--- trunk/Tools/ChangeLog 2019-02-21 22:36:32 UTC (rev 241904)
+++ trunk/Tools/ChangeLog 2019-02-21 22:50:14 UTC (rev 241905)
@@ -1,5 +1,16 @@
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
+ bug was also UI-side specific). Though we can't validate that the overlay
+ layer was installed successfully, there are layout tests that do that.
+
+2019-02-21 Tim Horton <[email protected]>
+
Crash under RemoteLayerTreePropertyApplier::applyProperties when reattaching to old process
https://bugs.webkit.org/show_bug.cgi?id=194845
<rdar://problem/47944579>
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm (241904 => 241905)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm 2019-02-21 22:36:32 UTC (rev 241904)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm 2019-02-21 22:50:14 UTC (rev 241905)
@@ -5181,7 +5181,11 @@
[webView waitForNextPresentationUpdate];
+ // We can only look for the overlay layer in the UI-side layer tree on platforms
+ // that use UI-side compositing.
+#if PLATFORM(MAC)
EXPECT_TRUE(hasOverlay([webView layer]));
+#endif
request = adoptNS([NSURLRequest requestWithURL:[NSURL URLWithString:@"pson://www.apple.com/page-overlay"]]);
[webView loadRequest:request.get()];
@@ -5195,7 +5199,9 @@
[webView waitForNextPresentationUpdate];
+#if PLATFORM(MAC)
EXPECT_TRUE(hasOverlay([webView layer]));
+#endif
}
#endif // WK_API_ENABLED
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes