Index: ios/web/web_state/ui/crw_web_controller_unittest.mm |
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm |
index 58705256cb484d8f654dec6a54adeadf88c56eaf..9798efb081d9de6b40e692a2c41f9a7ce65f9601 100644 |
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm |
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm |
@@ -688,6 +688,12 @@ TEST_F(CRWWebControllerPageDialogOpenPolicyTest, AllowPrompt) { |
// Tests that geolocation dialog is suppressed for DIALOG_POLICY_SUPPRESS. |
TEST_F(CRWWebControllerPageDialogOpenPolicyTest, SuppressGeolocation) { |
+ // TODO(crbug.com/626688): The geolocation APIs require HTTPS on iOS 10. Find |
+ // a way to trigger a geolocation prompt from this test. |
+ if (base::ios::IsRunningOnIOS10OrLater()) { |
+ return; |
+ } |
+ |
[[web_delegate_mock() expect] |
webControllerDidSuppressDialog:web_controller()]; |
[web_controller() setShouldSuppressDialogs:YES]; |