Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits and move init to end Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
diff --git a/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm b/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
index db1cd90a464c81ae9bc7b483e462c876e11361d9..322c88e93703c2e577075c521f1d0215d6a907fb 100644
--- a/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
+++ b/ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm
@@ -68,6 +68,9 @@ TEST_F(WKWebViewConfigurationProviderTest, ConfigurationOwnerhip) {
other_provider.GetWebViewConfiguration().processPool);
}
+#if 0
+// TODO(shreyasv) Disabled for usage of nil on latest Xcode beta.
+// crbug.com/498841
// Tests that internal configuration object can not be changed by clients.
TEST_F(WKWebViewConfigurationProviderTest, ConfigurationProtection) {
CR_TEST_REQUIRES_WK_WEB_VIEW();
@@ -93,6 +96,7 @@ TEST_F(WKWebViewConfigurationProviderTest, ConfigurationProtection) {
EXPECT_EQ(userContentController.get(),
provider.GetWebViewConfiguration().userContentController);
}
+#endif
// Tests that |HasWebViewConfiguration| returns false by default.
TEST_F(WKWebViewConfigurationProviderTest, NoConfigurationByDefault) {

Powered by Google App Engine
This is Rietveld 408576698