Title: [289305] branches/safari-613-branch/Source/WebCore
Revision
289305
Author
[email protected]
Date
2022-02-07 18:55:19 -0800 (Mon, 07 Feb 2022)

Log Message

Cherry-pick r288553. rdar://problem/87976757

    Missing EnabledBySetting=WebXREnabled where Conditional=WEBXR exists
    https://bugs.webkit.org/show_bug.cgi?id=235527

    Reviewed by Darin Adler.

    Manually tested.

    * Modules/webxr/XRFrameRequestCallback.idl:
    * html/canvas/WebGLContextAttributes.idl:
    * html/canvas/WebGLRenderingContextBase.idl:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288553 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (289304 => 289305)


--- branches/safari-613-branch/Source/WebCore/ChangeLog	2022-02-08 02:55:15 UTC (rev 289304)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog	2022-02-08 02:55:19 UTC (rev 289305)
@@ -1,5 +1,36 @@
 2022-02-07  Russell Epstein  <[email protected]>
 
+        Cherry-pick r288553. rdar://problem/87976757
+
+    Missing EnabledBySetting=WebXREnabled where Conditional=WEBXR exists
+    https://bugs.webkit.org/show_bug.cgi?id=235527
+    
+    Reviewed by Darin Adler.
+    
+    Manually tested.
+    
+    * Modules/webxr/XRFrameRequestCallback.idl:
+    * html/canvas/WebGLContextAttributes.idl:
+    * html/canvas/WebGLRenderingContextBase.idl:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2022-01-25  Sam Sneddon  <[email protected]>
+
+            Missing EnabledBySetting=WebXREnabled where Conditional=WEBXR exists
+            https://bugs.webkit.org/show_bug.cgi?id=235527
+
+            Reviewed by Darin Adler.
+
+            Manually tested.
+
+            * Modules/webxr/XRFrameRequestCallback.idl:
+            * html/canvas/WebGLContextAttributes.idl:
+            * html/canvas/WebGLRenderingContextBase.idl:
+
+2022-02-07  Russell Epstein  <[email protected]>
+
         Cherry-pick r288549. rdar://problem/86452550
 
     Unreviewed, reverting r282374.

Modified: branches/safari-613-branch/Source/WebCore/Modules/webxr/XRFrameRequestCallback.idl (289304 => 289305)


--- branches/safari-613-branch/Source/WebCore/Modules/webxr/XRFrameRequestCallback.idl	2022-02-08 02:55:15 UTC (rev 289304)
+++ branches/safari-613-branch/Source/WebCore/Modules/webxr/XRFrameRequestCallback.idl	2022-02-08 02:55:19 UTC (rev 289305)
@@ -27,5 +27,6 @@
 
 // https://immersive-web.github.io/webxr/#callbackdef-xrframerequestcallback
 [
-    Conditional=WEBXR
+    Conditional=WEBXR,
+    EnabledBySetting=WebXREnabled
 ] callback XRFrameRequestCallback = undefined (DOMHighResTimeStamp time, WebXRFrame frame);

Modified: branches/safari-613-branch/Source/WebCore/html/canvas/WebGLContextAttributes.idl (289304 => 289305)


--- branches/safari-613-branch/Source/WebCore/html/canvas/WebGLContextAttributes.idl	2022-02-08 02:55:15 UTC (rev 289304)
+++ branches/safari-613-branch/Source/WebCore/html/canvas/WebGLContextAttributes.idl	2022-02-08 02:55:19 UTC (rev 289305)
@@ -45,5 +45,5 @@
     GLboolean preserveDrawingBuffer = false;
     WebGLPowerPreference powerPreference = "default";
     GLboolean failIfMajorPerformanceCaveat = false;
-    [Conditional=WEBXR] boolean xrCompatible = false;
+    [Conditional=WEBXR, EnabledBySetting=WebXREnabled] boolean xrCompatible = false;
 };

Modified: branches/safari-613-branch/Source/WebCore/html/canvas/WebGLRenderingContextBase.idl (289304 => 289305)


--- branches/safari-613-branch/Source/WebCore/html/canvas/WebGLRenderingContextBase.idl	2022-02-08 02:55:15 UTC (rev 289304)
+++ branches/safari-613-branch/Source/WebCore/html/canvas/WebGLRenderingContextBase.idl	2022-02-08 02:55:19 UTC (rev 289305)
@@ -604,7 +604,7 @@
     undefined lineWidth(GLfloat width);
     undefined linkProgram(WebGLProgram program);
 
-    [NewObject, Conditional=WEBXR] Promise<undefined> makeXRCompatible();
+    [NewObject, Conditional=WEBXR, EnabledBySetting=WebXREnabled] Promise<undefined> makeXRCompatible();
 
     undefined pixelStorei(GLenum pname, GLint param);
     undefined polygonOffset(GLfloat factor, GLfloat units);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to