Title: [286370] trunk/Source/WTF
Revision
286370
Author
[email protected]
Date
2021-12-01 11:01:35 -0800 (Wed, 01 Dec 2021)

Log Message

Fix NEAR_FIELD macro to support iOS devices again
https://bugs.webkit.org/show_bug.cgi?id=233671
rdar://85318070

In a previous change, https://bugs.webkit.org/show_bug.cgi?id=231085, the definition for
the NEAR_FIELD macro removed support for iOS. This change adds it back, fixing
NFC webauthn support.

Reviewed by Brent Fulgham.

Tested manually on an iPhone.

* wtf/PlatformHave.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (286369 => 286370)


--- trunk/Source/WTF/ChangeLog	2021-12-01 18:36:08 UTC (rev 286369)
+++ trunk/Source/WTF/ChangeLog	2021-12-01 19:01:35 UTC (rev 286370)
@@ -1,3 +1,19 @@
+2021-12-01  J Pascoe  <[email protected]>
+
+        Fix NEAR_FIELD macro to support iOS devices again
+        https://bugs.webkit.org/show_bug.cgi?id=233671
+        rdar://85318070
+
+        In a previous change, https://bugs.webkit.org/show_bug.cgi?id=231085, the definition for
+        the NEAR_FIELD macro removed support for iOS. This change adds it back, fixing
+        NFC webauthn support.
+
+        Reviewed by Brent Fulgham.
+
+        Tested manually on an iPhone.
+
+        * wtf/PlatformHave.h:
+
 2021-12-01  Philippe Normand  <[email protected]>
 
         [GStreamer] requestVideoFrameCallback support

Modified: trunk/Source/WTF/wtf/PlatformHave.h (286369 => 286370)


--- trunk/Source/WTF/wtf/PlatformHave.h	2021-12-01 18:36:08 UTC (rev 286369)
+++ trunk/Source/WTF/wtf/PlatformHave.h	2021-12-01 19:01:35 UTC (rev 286370)
@@ -537,7 +537,7 @@
 #define HAVE_COOKIE_CHANGE_LISTENER_API 1
 #endif
 
-#if PLATFORM(MAC) && !PLATFORM(IOS_FAMILY_SIMULATOR)
+#if PLATFORM(MAC) || (PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR))
 #define HAVE_NEAR_FIELD 1
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to