Title: [260269] trunk/Tools
- Revision
- 260269
- Author
- grao...@webkit.org
- Date
- 2020-04-17 11:35:31 -0700 (Fri, 17 Apr 2020)
Log Message
Stop including style rules related to media controls in the UA style sheet when Modern Media Controls are enabled
https://bugs.webkit.org/show_bug.cgi?id=210606
Unreviewed build fix after r260261.
* TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
(TEST):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (260268 => 260269)
--- trunk/Tools/ChangeLog 2020-04-17 18:22:58 UTC (rev 260268)
+++ trunk/Tools/ChangeLog 2020-04-17 18:35:31 UTC (rev 260269)
@@ -1,3 +1,13 @@
+2020-04-17 Antoine Quint <grao...@apple.com>
+
+ Stop including style rules related to media controls in the UA style sheet when Modern Media Controls are enabled
+ https://bugs.webkit.org/show_bug.cgi?id=210606
+
+ Unreviewed build fix after r260261.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
+ (TEST):
+
2020-04-17 Claudio Saavedra <csaave...@igalia.com>
[GTK] Update for GdkKeymap API changes
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm (260268 => 260269)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm 2020-04-17 18:22:58 UTC (rev 260268)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm 2020-04-17 18:35:31 UTC (rev 260269)
@@ -375,7 +375,7 @@
[webView _test_waitForDidFinishNavigation];
RetainPtr<_WKUserContentWorld> world = [_WKUserContentWorld worldWithName:@"TestWorld"];
- RetainPtr<_WKUserStyleSheet> styleSheet = adoptNS([[_WKUserStyleSheet alloc] initWithSource:styleSheetSource forWKWebView:webView.get() forMainFrameOnly:YES userContentWorld:world.get()]);
+ RetainPtr<_WKUserStyleSheet> styleSheet = adoptNS([[_WKUserStyleSheet alloc] initWithSource:styleSheetSource forWKWebView:webView.get() level:_WKUserStyleUserLevel forMainFrameOnly:YES userContentWorld:world.get()]);
[[configuration userContentController] _addUserStyleSheet:styleSheet.get()];
expectScriptEvaluatesToColor(webView.get(), backgroundColorScript, redInRGB);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes