Title: [285242] trunk/Source/WTF
Revision
285242
Author
ddkil...@apple.com
Date
2021-11-03 16:50:14 -0700 (Wed, 03 Nov 2021)

Log Message

Disable WebXR on tvOS and watchOS
<https://webkit.org/b/232672>
<rdar://problem/84982378>

Reviewed by Brent Fulgham.

* wtf/PlatformEnableCocoa.h:
(ENABLE_WEBXR):
(ENABLE_WEBXR_HANDS):
- Disable features on tvOS and watchOS.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (285241 => 285242)


--- trunk/Source/WTF/ChangeLog	2021-11-03 23:46:18 UTC (rev 285241)
+++ trunk/Source/WTF/ChangeLog	2021-11-03 23:50:14 UTC (rev 285242)
@@ -1,3 +1,16 @@
+2021-11-03  David Kilzer  <ddkil...@apple.com>
+
+        Disable WebXR on tvOS and watchOS
+        <https://webkit.org/b/232672>
+        <rdar://problem/84982378>
+
+        Reviewed by Brent Fulgham.
+
+        * wtf/PlatformEnableCocoa.h:
+        (ENABLE_WEBXR):
+        (ENABLE_WEBXR_HANDS):
+        - Disable features on tvOS and watchOS.
+
 2021-11-03  Jer Noble  <jer.no...@apple.com>
 
         [macOS] MediaSession coordinator enabled in UIProcess, disabled in WebContent

Modified: trunk/Source/WTF/wtf/PlatformEnableCocoa.h (285241 => 285242)


--- trunk/Source/WTF/wtf/PlatformEnableCocoa.h	2021-11-03 23:46:18 UTC (rev 285241)
+++ trunk/Source/WTF/wtf/PlatformEnableCocoa.h	2021-11-03 23:50:14 UTC (rev 285242)
@@ -628,11 +628,11 @@
 #define ENABLE_WEBPROCESS_NSRUNLOOP 1
 #endif
 
-#if !defined(ENABLE_WEBXR)
+#if !defined(ENABLE_WEBXR) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
 #define ENABLE_WEBXR 1
 #endif
 
-#if !defined(ENABLE_WEBXR_HANDS)
+#if !defined(ENABLE_WEBXR_HANDS) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
 #define ENABLE_WEBXR_HANDS 1
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to