<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[277468] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/277468">277468</a></dd>
<dt>Author</dt> <dd>dino@apple.com</dd>
<dt>Date</dt> <dd>2021-05-13 17:35:23 -0700 (Thu, 13 May 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>[WebXR] Allow WebXR to be tested on PLATFORM(COCOA)
https://bugs.webkit.org/show_bug.cgi?id=225578
<rdar://problem/77707283>

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

New expected results.

* web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt: Added.
* web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt: Added.
* web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt: Added.
* web-platform-tests/webxr/webxr_availability.http.sub-expected.txt: Added.
* web-platform-tests/webxr/webxr_feature_policy.https-expected.txt: Added.
* web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt: Added.
* web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt: Added.
* web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt: Added.
* web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt: Added.
* web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt: Added.
* web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt: Added.
* web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt: Added.
* web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt: Added.

Source/WebKit:

Remove checking for a WebXR feature flag.

* Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultWebXREnabled):

Source/WTF:

Compile-time enabled on all Cocoa platforms.

* wtf/PlatformEnableCocoa.h:

LayoutTests:

Remove the skip rule for the WebXR directory, and add more
specific expected results.

* TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsfastdomnavigatordetachednocrashexpectedtxt">trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxridlharnesshttpswindowexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastdomnavigatordetachednocrashexpectedtxt">trunk/LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk1fastdomnavigatordetachednocrashexpectedtxt">trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2fastdomnavigatordetachednocrashexpectedtxt">trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformwpeTestExpectations">trunk/LayoutTests/platform/wpe/TestExpectations</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfPlatformEnableCocoah">trunk/Source/WTF/wtf/PlatformEnableCocoa.h</a></li>
<li><a href="#trunkSourceWTFwtfPlatformUseh">trunk/Source/WTF/wtf/PlatformUse.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebxrWebXRInputSourceh">trunk/Source/WebCore/Modules/webxr/WebXRInputSource.h</a></li>
<li><a href="#trunkSourceWebCoreplatformxrcocoaPlatformXRCocoah">trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.h</a></li>
<li><a href="#trunkSourceWebCoreplatformxrcocoaPlatformXRCocoamm">trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitSharedWebPreferencesDefaultValuescpp">trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrexclusive_requestFrame_nolayerhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrrender_state_vertical_fov_inlinehttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrwebxrsupportedbyfeaturepolicyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrwebxr_availabilityhttpsubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrwebxr_feature_policyhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrFrame_lifetimehttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrPose_transform_sameObjecthttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrReferenceSpace_originOffsetBoundedhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrSession_input_events_endhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrSession_visibilityStatehttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrStationaryReferenceSpace_floorlevel_updateshttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrWebGLLayer_framebuffer_scalehttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebxrxrWebGLLayer_opaque_framebuffer_stencilhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastcanvaswebglcontextcreationattributesexpectedtxt">trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglcontextcreationattributeshtml">trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk1fastcanvaswebglcontextcreationattributesexpectedtxt">trunk/LayoutTests/platform/mac-wk1/fast/canvas/webgl/context-creation-attributes-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog      2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/ChangeLog 2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2021-05-13  Dean Jackson  <dino@apple.com>
+
+        [WebXR] Allow WebXR to be tested on PLATFORM(COCOA)
+        https://bugs.webkit.org/show_bug.cgi?id=225578
+
+        Reviewed by Sam Weinig.
+
+        Remove the skip rule for the WebXR directory, and add more
+        specific expected results.
+
+        * TestExpectations:
+
</ins><span class="cx"> 2021-05-13  Cameron McCormack  <heycam@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Ensure scrollable transformed elements that are themselves within scrollable elements don't ignore border-radius
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations       2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/TestExpectations  2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -3582,10 +3582,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/207262 imported/w3c/web-platform-tests/web-animations/timing-model/animations/sync-start-times.html [ Pass ImageOnlyFailure ]
</span><span class="cx"> 
</span><del>-# WebXR is being implemented
-webkit.org/b/208988 http/wpt/webxr [ Skip ]
-webkit.org/b/208988 imported/w3c/web-platform-tests/webxr [ Skip ]
-
</del><span class="cx"> webkit.org/b/210963 imported/w3c/web-platform-tests/css/css-animations/animation-important-002.html [ ImageOnlyFailure ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/209080 imported/w3c/web-platform-tests/css/css-writing-modes/central-baseline-alignment-003.xht [ ImageOnlyFailure Pass ]
</span><span class="lines">@@ -4913,3 +4909,47 @@
</span><span class="cx"> imported/w3c/web-platform-tests/webstorage/storage_session_setitem_quotaexceedederr.window.html [ Skip ]
</span><span class="cx"> # This webstorage test has timed out since it was imported.
</span><span class="cx"> imported/w3c/web-platform-tests/webstorage/document-domain.html [ Skip ]
</span><ins>+
+# WebXR - Missing modules.
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/anchors [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/ar-module [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/dom-overlay [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/gamepads-module [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/hit-test [ Skip ]
+
+# WebXR - These currently timeout due to missing features.
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_referenceSpace_reset_immersive.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_referenceSpace_reset_inline.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/getInputPose_pointer.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrDevice_disconnect_ends.https.html [ Skip ]
+webkit.org/b/208988 http/wpt/webxr/xrSession_ended_by_system.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_input_source_recreation.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_input_sources_change.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_session_select.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_session_squeeze.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_data_valid.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_match.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrViewport_valid.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrRigidTransform_inverse.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_sameObject.https.html [ Skip ]
+
+# WebXR - expected to fail.
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffset.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_requestReferenceSpace_features.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_sameObject.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_viewer_referenceSpace.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/getInputPose_handedness.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_requiredFeatures_unknown.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrInputSource_add_remove.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrInputSource_emulatedPosition.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_eyes.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_oneframeupdate.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_draw.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_cancelAnimationFrame_invalidhandle.https.html [ Skip ]
+webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https.html [ Skip ]
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglcontextcreationattributesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes-expected.txt     2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes-expected.txt        2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Note that some of the values tested here might not be supported, and thus should return the default values.
-
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":false,"powerPreference":"default","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":false}
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":false,"powerPreference":"default","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":true}
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":false,"powerPreference":"default","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":false}
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":true,"powerPreference":"default","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":false}
</del></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglcontextcreationattributeshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes.html (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes.html     2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/fast/canvas/webgl/context-creation-attributes.html        2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-<script>
-if (window.testRunner)
-    window.testRunner.dumpAsText();
-
-function describe(object) {
-    result = {};
-    if (typeof object === "function")
-        object = object.prototype;
-    for (let o = object; o; o = o.__proto__) {
-        for (let name of Object.getOwnPropertyNames(o)) {
-            result[name] = object[name];
-        }
-    }
-    return result;
-}
-
-function testContextCreation(parameters)
-{
-    var canvas = document.createElement("canvas");
-    var gl = canvas.getContext("webgl", parameters || {});
-    var attributes = gl.getContextAttributes();
-    var result = document.createElement("pre");
-    result.textContent = JSON.stringify(describe(attributes));
-    document.body.appendChild(result);
-}
-
-function run() {
-    testContextCreation({});
-    testContextCreation({stencil: true});
-    testContextCreation({powerPreference: "default"});
-    testContextCreation({failIfMajorPerformanceCaveat: true});
-}
-
-window.addEventListener("load", run, false);
-</script>
-<p>
-    Note that some of the values tested here might not be supported, and thus should return the default values.
-</p>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomnavigatordetachednocrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt      2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt 2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> navigator.appCodeName is OK
</span><span class="cx"> navigator.appName is OK
</span><span class="cx"> navigator.appVersion is OK
</span><span class="lines">@@ -58,4 +59,5 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/imported/w3c/ChangeLog    2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,3 +1,26 @@
</span><ins>+2021-05-13  Dean Jackson  <dino@apple.com>
+
+        [WebXR] Allow WebXR to be tested on PLATFORM(COCOA)
+        https://bugs.webkit.org/show_bug.cgi?id=225578
+
+        Reviewed by Sam Weinig.
+
+        New expected results.
+
+        * web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt: Added.
+        * web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt: Added.
+        * web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt: Added.
+        * web-platform-tests/webxr/webxr_availability.http.sub-expected.txt: Added.
+        * web-platform-tests/webxr/webxr_feature_policy.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt: Added.
+        * web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt: Added.
+
</ins><span class="cx"> 2021-05-13  Martin Robinson  <mrobinson@webkit.org>
</span><span class="cx"> 
</span><span class="cx">         Import new and updated css-scroll-snap WPT tests
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrexclusive_requestFrame_nolayerhttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt   2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+FAIL XRSession requestAnimationFrame must fail if the session has no baseLayer for immersive assert_equals: expected object "[object XRWebGLLayer]" but got object "[object XRWebGLLayer]"
+FAIL XRSession requestAnimationFrame must fail if the session has no baseLayer for non immersive assert_equals: expected object "[object XRWebGLLayer]" but got object "[object XRWebGLLayer]"
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxridlharnesshttpswindowexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt     2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt        2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -133,6 +133,8 @@
</span><span class="cx"> PASS XRView interface: attribute eye
</span><span class="cx"> PASS XRView interface: attribute projectionMatrix
</span><span class="cx"> PASS XRView interface: attribute transform
</span><ins>+PASS XRView interface: attribute recommendedViewportScale
+PASS XRView interface: operation requestViewportScale(double?)
</ins><span class="cx"> PASS XRViewport interface: existence and properties of interface object
</span><span class="cx"> PASS XRViewport interface object length
</span><span class="cx"> PASS XRViewport interface object name
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrrender_state_vertical_fov_inlinehttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt 2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL inlineVerticalFieldOfView is set appropriately on inline sessions promise_test: Unhandled rejection with value: object "InvalidStateError: The object is in an invalid state."
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrwebxrsupportedbyfeaturepolicyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt      2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL document.featurePolicy.features should advertise xr-spatial-tracking. undefined is not an object (evaluating 'document.featurePolicy.features')
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrwebxr_availabilityhttpsubexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt    2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+FAIL Test webxr not available in insecure context assert_equals: navigator.xr was defined in insecure context. expected (undefined) undefined but got (object) object "[object XRSystem]"
+FAIL Test webxr not available in secure context in insecure context assert_equals: Some objects were defined in insecure context: navigator.xr,XRSession,XRFrame,XRLayer,XRView,XRViewport,XRViewerPose,XRWebGLLayer,XRSessionEvent expected 0 but got 9
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrwebxr_feature_policyhttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt     2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+Harness Error (FAIL), message = Test named 'Validate devicechange event behavior without xr-spatial-tracking policy' specified 1 'cleanup' function, and 1 failed.
+
+FAIL Validate isSessionSupported behavior without xr-spatial-tracking policy assert_unreached: Should have rejected: Immersive isSessionSupported should reject Reached unreachable code
+FAIL Validate requestSession behavior without xr-spatial-tracking policy assert_unreached: Should have rejected: Inline with features should reject without feature policy Reached unreachable code
+PASS Validate devicechange event behavior without xr-spatial-tracking policy
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrFrame_lifetimehttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt 2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS XRFrame methods throw exceptions outside of the requestAnimationFrame callback for immersive sessions
+PASS XRFrame methods throw exceptions outside of the requestAnimationFrame callback for non-immersive sessions
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrPose_transform_sameObjecthttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt      2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS XRPose.transform meets [SameObject] requirement
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrReferenceSpace_originOffsetBoundedhttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt     2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Updating XRBoundedReferenceSpace origin offset updates view, input matrices, and bounds geometry. The object is in an invalid state.
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrSession_input_events_endhttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt       2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Calling end during an input callback stops processing at the right time assert_equals: Expected end event, but got selectstart event instead expected "end" but got "selectstart"
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrSession_visibilityStatehttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt        2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Ensures that the XRSession's visibilityState is correctly reported and that the associated visibilitychange event fires. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\&q
 uot;:[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\"]} with error: OperationError: Unable to allocate XRWebGLLayer GPU resources."
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrStationaryReferenceSpace_floorlevel_updateshttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt    2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+FAIL 'floor-level' XRStationaryReferenceSpace updates properly when the transform changes for immersive sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],
 \"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\",\"anchors\"]} with error: OperationError: Unable to allocate XRWebGLLayer GPU resources."
+PASS 'floor-level' XRStationaryReferenceSpace updates properly when the transform changes for non-immersive sessions
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrWebGLLayer_framebuffer_scalehttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt   2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Ensure framebuffer scaling works as expected. undefined is not an object (evaluating 'fakeDeviceController.displayInfo_.webxrDefaultFramebufferScale')
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsimportedw3cwebplatformtestswebxrxrWebGLLayer_opaque_framebuffer_stencilhttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt (0 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt  2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Ensure that the framebuffer given by the WebGL layer works with stencil for immersive assert_equals: Should not initially have any errors expected 0 but got 1282
+
</ins><span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<ins>+Date Revision
</ins><span class="cx">\ No newline at end of property
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+text/plain
</ins><span class="cx">\ No newline at end of property
</span><a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations  2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/platform/mac/TestExpectations     2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -2192,7 +2192,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/223759 [ BigSur Debug ] http/tests/security/webaudio-render-remote-audio-blocked-no-crossorigin-redirect.html [ Pass Timeout ]
</span><span class="cx"> 
</span><del>-webkit.org/b/222239 fast/canvas/webgl/context-creation-attributes.html [ Pass Failure ]
</del><span class="cx"> webkit.org/b/222239 fast/canvas/webgl/webgl2-texture-upload-enums.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/222239 webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/222239 webgl/2.0.0/conformance2/rendering/fs-color-type-mismatch-color-buffer-type.html [ Pass Failure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastdomnavigatordetachednocrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt 2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt    2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> navigator.appCodeName is OK
</span><span class="cx"> navigator.appName is OK
</span><span class="cx"> navigator.appVersion is OK
</span><span class="lines">@@ -51,4 +52,5 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk1fastcanvaswebglcontextcreationattributesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac-wk1/fast/canvas/webgl/context-creation-attributes-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk1/fast/canvas/webgl/context-creation-attributes-expected.txt    2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/platform/mac-wk1/fast/canvas/webgl/context-creation-attributes-expected.txt       2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Note that some of the values tested here might not be supported, and thus should return the default values.
-
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":false,"powerPreference":"low-power","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":false}
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":false,"powerPreference":"low-power","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":true}
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":false,"powerPreference":"low-power","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":false}
-{"alpha":true,"antialias":true,"depth":true,"failIfMajorPerformanceCaveat":true,"powerPreference":"low-power","premultipliedAlpha":true,"preserveDrawingBuffer":false,"stencil":false}
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk1fastdomnavigatordetachednocrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt     2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt        2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -22,6 +22,7 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> navigator.appCodeName is OK
</span><span class="cx"> navigator.appName is OK
</span><span class="cx"> navigator.appVersion is OK
</span><span class="lines">@@ -44,4 +45,5 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2fastdomnavigatordetachednocrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt     2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt        2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> navigator.appCodeName is OK
</span><span class="cx"> navigator.appName is OK
</span><span class="cx"> navigator.appVersion is OK
</span><span class="lines">@@ -66,4 +67,5 @@
</span><span class="cx"> navigator.vendor is OK
</span><span class="cx"> navigator.vendorSub is OK
</span><span class="cx"> navigator.webdriver is OK
</span><ins>+navigator.xr is OK
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwpeTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/wpe/TestExpectations (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/wpe/TestExpectations  2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/LayoutTests/platform/wpe/TestExpectations     2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1023,7 +1023,6 @@
</span><span class="cx"> fast/canvas/canvas-toDataURL-webp.html [ Failure ]
</span><span class="cx"> fast/canvas/toDataURL-supportedTypes.html [ Failure ]
</span><span class="cx"> fast/canvas/webgl/antialiasing-enabled.html [ Failure ]
</span><del>-fast/canvas/webgl/context-creation-attributes.html [ Failure ]
</del><span class="cx"> fast/canvas/webgl/multisample-resolve-consistency.html [ Failure ]
</span><span class="cx"> fast/canvas/webgl/premultiplyalpha-test.html [ Failure ]
</span><span class="cx"> fast/canvas/webgl/webglcontextchangedevent.html [ Timeout ]
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog       2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WTF/ChangeLog  2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2021-05-13  Dean Jackson  <dino@apple.com>
+
+        [WebXR] Allow WebXR to be tested on PLATFORM(COCOA)
+        https://bugs.webkit.org/show_bug.cgi?id=225578
+
+        Reviewed by Sam Weinig.
+
+        Compile-time enabled on all Cocoa platforms.
+
+        * wtf/PlatformEnableCocoa.h:
+
</ins><span class="cx"> 2021-05-13  Chris Dumez  <cdumez@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Rename FileSystem::directoryName() to FileSystem::parentPath()
</span></span></pre></div>
<a id="trunkSourceWTFwtfPlatformEnableCocoah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/PlatformEnableCocoa.h (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/PlatformEnableCocoa.h       2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WTF/wtf/PlatformEnableCocoa.h  2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -599,7 +599,7 @@
</span><span class="cx"> #define ENABLE_WEBPROCESS_NSRUNLOOP 1
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if !defined(ENABLE_WEBXR) && HAVE(WEBXR_INTERNALS)
</del><ins>+#if !defined(ENABLE_WEBXR)
</ins><span class="cx"> #define ENABLE_WEBXR 1
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWTFwtfPlatformUseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/PlatformUse.h (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/PlatformUse.h       2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WTF/wtf/PlatformUse.h  2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -322,7 +322,10 @@
</span><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx"> #define USE_OPENXR 0
</span><span class="cx"> #define USE_IOSURFACE_FOR_XR_LAYER_DATA 1
</span><ins>+#if !defined(HAVE_WEBXR_INTERNALS) && !HAVE(WEBXR_INTERNALS)
+#define USE_EMPTYXR 1
</ins><span class="cx"> #endif
</span><ins>+#endif
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS_FAMILY)
</span><span class="cx"> #define USE_SANDBOX_EXTENSIONS_FOR_CACHE_AND_TEMP_DIRECTORY_ACCESS 1
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebxrWebXRInputSourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webxr/WebXRInputSource.h (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webxr/WebXRInputSource.h    2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WebCore/Modules/webxr/WebXRInputSource.h       2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -62,6 +62,7 @@
</span><span class="cx">     const WebXRSpace& targetRaySpace() const {return m_targetRaySpace.get(); };
</span><span class="cx">     WebXRSpace* gripSpace() const { return m_gripSpace.get(); }
</span><span class="cx">     const Vector<String>& profiles() const { return m_source.profiles; };
</span><ins>+    double connectTime() const { return m_connectTime; }
</ins><span class="cx"> #if ENABLE(GAMEPAD)
</span><span class="cx">     const Gamepad* gamepad() const { return m_gamepad.ptr(); }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformxrcocoaPlatformXRCocoah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.h (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.h 2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.h    2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -25,7 +25,6 @@
</span><span class="cx"> 
</span><span class="cx"> #pragma once
</span><span class="cx"> 
</span><del>-#if ENABLE(WEBXR) && PLATFORM(COCOA)
</del><ins>+#if ENABLE(WEBXR) && USE(EMPTYXR)
</ins><span class="cx"> #include "PlatformXR.h"
</span><del>-#include <WebKitAdditions/PlatformXRAdditions.h>
</del><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformxrcocoaPlatformXRCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm        2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm   2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -26,8 +26,42 @@
</span><span class="cx"> #import "config.h"
</span><span class="cx"> #import "PlatformXRCocoa.h"
</span><span class="cx"> 
</span><del>-#if ENABLE(WEBXR) && PLATFORM(COCOA)
</del><ins>+#if ENABLE(WEBXR) && USE(EMPTYXR)
</ins><span class="cx"> 
</span><del>-#import <WebKitAdditions/PlatformXRAdditions.mm>
</del><ins>+#import <wtf/NeverDestroyed.h>
</ins><span class="cx"> 
</span><ins>+using namespace WebCore;
+
+namespace PlatformXR {
+
+struct Instance::Impl {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    Impl() = default;
+    ~Impl() = default;
+};
+
+Instance& Instance::singleton()
+{
+    static LazyNeverDestroyed<Instance> s_instance;
+    static std::once_flag s_onceFlag;
+    std::call_once(s_onceFlag,
+        [&] {
+            s_instance.construct();
+        });
+    return s_instance.get();
+}
+
+Instance::Instance()
+    : m_impl(makeUniqueRef<Impl>())
+{
+}
+
+void Instance::enumerateImmersiveXRDevices(CompletionHandler<void(const DeviceList& devices)>&& callback)
+{
+    callback({ });
+}
+
+}
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog    2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WebKit/ChangeLog       2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2021-05-13  Dean Jackson  <dino@apple.com>
+
+        [WebXR] Allow WebXR to be tested on PLATFORM(COCOA)
+        https://bugs.webkit.org/show_bug.cgi?id=225578
+
+        Reviewed by Sam Weinig.
+
+        Remove checking for a WebXR feature flag.
+
+        * Shared/WebPreferencesDefaultValues.cpp:
+        (WebKit::defaultWebXREnabled):
+
</ins><span class="cx"> 2021-05-13  Tim Horton  <timothy_horton@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Work around WebCore failing to build due to NDEBUG getting undefined in release
</span></span></pre></div>
<a id="trunkSourceWebKitSharedWebPreferencesDefaultValuescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp (277467 => 277468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp       2021-05-13 23:39:47 UTC (rev 277467)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp  2021-05-14 00:35:23 UTC (rev 277468)
</span><span class="lines">@@ -267,8 +267,6 @@
</span><span class="cx"> {
</span><span class="cx"> #if HAVE(WEBXR_INTERNALS)
</span><span class="cx">     return true;
</span><del>-#elif HAVE(SYSTEM_FEATURE_FLAGS)
-    return isFeatureFlagEnabled("WebXR");
</del><span class="cx"> #else
</span><span class="cx">     return false;
</span><span class="cx"> #endif
</span></span></pre>
</div>
</div>

</body>
</html>