Title: [263241] trunk/Tools
Revision
263241
Author
jbed...@apple.com
Date
2020-06-18 16:04:44 -0700 (Thu, 18 Jun 2020)

Log Message

[iOS] Two KeyboardInputTests are failing on recent iOS SDK versions (build-fix)
https://bugs.webkit.org/show_bug.cgi?id=213183
<rdar://problem/64273483>

Unreviewed build fix.


* TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:
(webViewWithAutofocusedInput): bool may not be the same type as BOOL.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (263240 => 263241)


--- trunk/Tools/ChangeLog	2020-06-18 22:58:09 UTC (rev 263240)
+++ trunk/Tools/ChangeLog	2020-06-18 23:04:44 UTC (rev 263241)
@@ -1,3 +1,14 @@
+2020-06-18  Jonathan Bedard  <jbed...@apple.com>
+
+        [iOS] Two KeyboardInputTests are failing on recent iOS SDK versions (build-fix)
+        https://bugs.webkit.org/show_bug.cgi?id=213183
+        <rdar://problem/64273483>
+
+        Unreviewed build fix.
+
+        * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:
+        (webViewWithAutofocusedInput): bool may not be the same type as BOOL.
+
 2020-06-18  Saam Barati  <sbar...@apple.com>
 
         call skip when skipping JetStream2 wasm test

Modified: trunk/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm (263240 => 263241)


--- trunk/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm	2020-06-18 22:58:09 UTC (rev 263240)
+++ trunk/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm	2020-06-18 23:04:44 UTC (rev 263241)
@@ -187,9 +187,9 @@
 {
     auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 500)]);
 
-    __block BOOL doneWaiting = NO;
+    __block bool doneWaiting = false;
     [inputDelegate setFocusStartsInputSessionPolicyHandler:^_WKFocusStartsInputSessionPolicy(WKWebView *, id <_WKFocusedElementInfo>) {
-        doneWaiting = YES;
+        doneWaiting = true;
         return _WKFocusStartsInputSessionPolicyAllow;
     }];
     [webView _setInputDelegate:inputDelegate.get()];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to