Changeset 277468 in webkit
- Timestamp:
- May 13, 2021, 5:35:23 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 13 added
- 3 deleted
- 18 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (2 diffs)
-
LayoutTests/fast/canvas/webgl/context-creation-attributes-expected.txt (deleted)
-
LayoutTests/fast/canvas/webgl/context-creation-attributes.html (deleted)
-
LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt (added)
-
LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt (added)
-
LayoutTests/platform/mac-wk1/fast/canvas/webgl/context-creation-attributes-expected.txt (deleted)
-
LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/mac/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/wpe/TestExpectations (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/wtf/PlatformEnableCocoa.h (modified) (1 diff)
-
Source/WTF/wtf/PlatformUse.h (modified) (1 diff)
-
Source/WebCore/Modules/webxr/WebXRInputSource.h (modified) (1 diff)
-
Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.h (modified) (1 diff)
-
Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/Shared/WebPreferencesDefaultValues.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r277462 r277468 1 2021-05-13 Dean Jackson <dino@apple.com> 2 3 [WebXR] Allow WebXR to be tested on PLATFORM(COCOA) 4 https://bugs.webkit.org/show_bug.cgi?id=225578 5 6 Reviewed by Sam Weinig. 7 8 Remove the skip rule for the WebXR directory, and add more 9 specific expected results. 10 11 * TestExpectations: 12 1 13 2021-05-13 Cameron McCormack <heycam@apple.com> 2 14 -
trunk/LayoutTests/TestExpectations
r277430 r277468 3582 3582 3583 3583 webkit.org/b/207262 imported/w3c/web-platform-tests/web-animations/timing-model/animations/sync-start-times.html [ Pass ImageOnlyFailure ] 3584 3585 # WebXR is being implemented3586 webkit.org/b/208988 http/wpt/webxr [ Skip ]3587 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr [ Skip ]3588 3584 3589 3585 webkit.org/b/210963 imported/w3c/web-platform-tests/css/css-animations/animation-important-002.html [ ImageOnlyFailure ] … … 4914 4910 # This webstorage test has timed out since it was imported. 4915 4911 imported/w3c/web-platform-tests/webstorage/document-domain.html [ Skip ] 4912 4913 # WebXR - Missing modules. 4914 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/anchors [ Skip ] 4915 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/ar-module [ Skip ] 4916 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/dom-overlay [ Skip ] 4917 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/gamepads-module [ Skip ] 4918 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/hit-test [ Skip ] 4919 4920 # WebXR - These currently timeout due to missing features. 4921 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_referenceSpace_reset_immersive.https.html [ Skip ] 4922 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_referenceSpace_reset_inline.https.html [ Skip ] 4923 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/getInputPose_pointer.https.html [ Skip ] 4924 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrDevice_disconnect_ends.https.html [ Skip ] 4925 webkit.org/b/208988 http/wpt/webxr/xrSession_ended_by_system.https.html [ Skip ] 4926 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_input_source_recreation.https.html [ Skip ] 4927 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_input_sources_change.https.html [ Skip ] 4928 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_session_select.https.html [ Skip ] 4929 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/events_session_squeeze.https.html [ Skip ] 4930 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_data_valid.https.html [ Skip ] 4931 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_match.https.html [ Skip ] 4932 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrViewport_valid.https.html [ Skip ] 4933 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrRigidTransform_inverse.https.html [ Skip ] 4934 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https.html [ Skip ] 4935 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_sameObject.https.html [ Skip ] 4936 4937 # WebXR - expected to fail. 4938 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https.html [ Skip ] 4939 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https.html [ Skip ] 4940 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffset.https.html [ Skip ] 4941 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_requestReferenceSpace_features.https.html [ Skip ] 4942 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_sameObject.https.html [ Skip ] 4943 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_viewer_referenceSpace.https.html [ Skip ] 4944 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/getInputPose_handedness.https.html [ Skip ] 4945 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https.html [ Skip ] 4946 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_requiredFeatures_unknown.https.html [ Skip ] 4947 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrInputSource_add_remove.https.html [ Skip ] 4948 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrInputSource_emulatedPosition.https.html [ Skip ] 4949 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_eyes.https.html [ Skip ] 4950 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrView_oneframeupdate.https.html [ Skip ] 4951 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_draw.https.html [ Skip ] 4952 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer.https.html [ Skip ] 4953 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https.html [ Skip ] 4954 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrSession_cancelAnimationFrame_invalidhandle.https.html [ Skip ] 4955 webkit.org/b/208988 imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https.html [ Skip ] -
trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
r267988 r277468 31 31 navigator.vendorSub is OK 32 32 navigator.webdriver is OK 33 navigator.xr is OK 33 34 navigator.appCodeName is OK 34 35 navigator.appName is OK … … 59 60 navigator.vendorSub is OK 60 61 navigator.webdriver is OK 62 navigator.xr is OK 61 63 -
trunk/LayoutTests/imported/w3c/ChangeLog
r277430 r277468 1 2021-05-13 Dean Jackson <dino@apple.com> 2 3 [WebXR] Allow WebXR to be tested on PLATFORM(COCOA) 4 https://bugs.webkit.org/show_bug.cgi?id=225578 5 6 Reviewed by Sam Weinig. 7 8 New expected results. 9 10 * web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt: Added. 11 * web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt: Added. 12 * web-platform-tests/webxr/webxr-supported-by-feature-policy-expected.txt: Added. 13 * web-platform-tests/webxr/webxr_availability.http.sub-expected.txt: Added. 14 * web-platform-tests/webxr/webxr_feature_policy.https-expected.txt: Added. 15 * web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt: Added. 16 * web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt: Added. 17 * web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt: Added. 18 * web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt: Added. 19 * web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt: Added. 20 * web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt: Added. 21 * web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt: Added. 22 * web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt: Added. 23 1 24 2021-05-13 Martin Robinson <mrobinson@webkit.org> 2 25 -
trunk/LayoutTests/imported/w3c/web-platform-tests/webxr/idlharness.https.window-expected.txt
r267649 r277468 134 134 PASS XRView interface: attribute projectionMatrix 135 135 PASS XRView interface: attribute transform 136 PASS XRView interface: attribute recommendedViewportScale 137 PASS XRView interface: operation requestViewportScale(double?) 136 138 PASS XRViewport interface: existence and properties of interface object 137 139 PASS XRViewport interface object length -
trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt
r268735 r277468 23 23 navigator.vendorSub is OK 24 24 navigator.webdriver is OK 25 navigator.xr is OK 25 26 navigator.appCodeName is OK 26 27 navigator.appName is OK … … 45 46 navigator.vendorSub is OK 46 47 navigator.webdriver is OK 48 navigator.xr is OK 47 49 -
trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt
r271204 r277468 34 34 navigator.vendorSub is OK 35 35 navigator.webdriver is OK 36 navigator.xr is OK 36 37 navigator.appCodeName is OK 37 38 navigator.appName is OK … … 67 68 navigator.vendorSub is OK 68 69 navigator.webdriver is OK 70 navigator.xr is OK 69 71 -
trunk/LayoutTests/platform/mac/TestExpectations
r277455 r277468 2193 2193 webkit.org/b/223759 [ BigSur Debug ] http/tests/security/webaudio-render-remote-audio-blocked-no-crossorigin-redirect.html [ Pass Timeout ] 2194 2194 2195 webkit.org/b/222239 fast/canvas/webgl/context-creation-attributes.html [ Pass Failure ]2196 2195 webkit.org/b/222239 fast/canvas/webgl/webgl2-texture-upload-enums.html [ Pass Failure ] 2197 2196 webkit.org/b/222239 webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders.html [ Pass Failure ] -
trunk/LayoutTests/platform/mac/fast/dom/navigator-detached-no-crash-expected.txt
r267988 r277468 27 27 navigator.vendorSub is OK 28 28 navigator.webdriver is OK 29 navigator.xr is OK 29 30 navigator.appCodeName is OK 30 31 navigator.appName is OK … … 52 53 navigator.vendorSub is OK 53 54 navigator.webdriver is OK 55 navigator.xr is OK 54 56 -
trunk/LayoutTests/platform/wpe/TestExpectations
r277223 r277468 1024 1024 fast/canvas/toDataURL-supportedTypes.html [ Failure ] 1025 1025 fast/canvas/webgl/antialiasing-enabled.html [ Failure ] 1026 fast/canvas/webgl/context-creation-attributes.html [ Failure ]1027 1026 fast/canvas/webgl/multisample-resolve-consistency.html [ Failure ] 1028 1027 fast/canvas/webgl/premultiplyalpha-test.html [ Failure ] -
trunk/Source/WTF/ChangeLog
r277449 r277468 1 2021-05-13 Dean Jackson <dino@apple.com> 2 3 [WebXR] Allow WebXR to be tested on PLATFORM(COCOA) 4 https://bugs.webkit.org/show_bug.cgi?id=225578 5 6 Reviewed by Sam Weinig. 7 8 Compile-time enabled on all Cocoa platforms. 9 10 * wtf/PlatformEnableCocoa.h: 11 1 12 2021-05-13 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/Source/WTF/wtf/PlatformEnableCocoa.h
r276887 r277468 600 600 #endif 601 601 602 #if !defined(ENABLE_WEBXR) && HAVE(WEBXR_INTERNALS)602 #if !defined(ENABLE_WEBXR) 603 603 #define ENABLE_WEBXR 1 604 604 #endif -
trunk/Source/WTF/wtf/PlatformUse.h
r277099 r277468 323 323 #define USE_OPENXR 0 324 324 #define USE_IOSURFACE_FOR_XR_LAYER_DATA 1 325 #if !defined(HAVE_WEBXR_INTERNALS) && !HAVE(WEBXR_INTERNALS) 326 #define USE_EMPTYXR 1 327 #endif 325 328 #endif 326 329 -
trunk/Source/WebCore/Modules/webxr/WebXRInputSource.h
r277251 r277468 63 63 WebXRSpace* gripSpace() const { return m_gripSpace.get(); } 64 64 const Vector<String>& profiles() const { return m_source.profiles; }; 65 double connectTime() const { return m_connectTime; } 65 66 #if ENABLE(GAMEPAD) 66 67 const Gamepad* gamepad() const { return m_gamepad.ptr(); } -
trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.h
r275835 r277468 26 26 #pragma once 27 27 28 #if ENABLE(WEBXR) && PLATFORM(COCOA)28 #if ENABLE(WEBXR) && USE(EMPTYXR) 29 29 #include "PlatformXR.h" 30 #include <WebKitAdditions/PlatformXRAdditions.h>31 30 #endif -
trunk/Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm
r270159 r277468 27 27 #import "PlatformXRCocoa.h" 28 28 29 #if ENABLE(WEBXR) && PLATFORM(COCOA)29 #if ENABLE(WEBXR) && USE(EMPTYXR) 30 30 31 #import <WebKitAdditions/PlatformXRAdditions.mm> 31 #import <wtf/NeverDestroyed.h> 32 33 using namespace WebCore; 34 35 namespace PlatformXR { 36 37 struct Instance::Impl { 38 WTF_MAKE_FAST_ALLOCATED; 39 public: 40 Impl() = default; 41 ~Impl() = default; 42 }; 43 44 Instance& Instance::singleton() 45 { 46 static LazyNeverDestroyed<Instance> s_instance; 47 static std::once_flag s_onceFlag; 48 std::call_once(s_onceFlag, 49 [&] { 50 s_instance.construct(); 51 }); 52 return s_instance.get(); 53 } 54 55 Instance::Instance() 56 : m_impl(makeUniqueRef<Impl>()) 57 { 58 } 59 60 void Instance::enumerateImmersiveXRDevices(CompletionHandler<void(const DeviceList& devices)>&& callback) 61 { 62 callback({ }); 63 } 64 65 } 32 66 33 67 #endif -
trunk/Source/WebKit/ChangeLog
r277464 r277468 1 2021-05-13 Dean Jackson <dino@apple.com> 2 3 [WebXR] Allow WebXR to be tested on PLATFORM(COCOA) 4 https://bugs.webkit.org/show_bug.cgi?id=225578 5 6 Reviewed by Sam Weinig. 7 8 Remove checking for a WebXR feature flag. 9 10 * Shared/WebPreferencesDefaultValues.cpp: 11 (WebKit::defaultWebXREnabled): 12 1 13 2021-05-13 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
r276566 r277468 268 268 #if HAVE(WEBXR_INTERNALS) 269 269 return true; 270 #elif HAVE(SYSTEM_FEATURE_FLAGS)271 return isFeatureFlagEnabled("WebXR");272 270 #else 273 271 return false;
Note:
See TracChangeset
for help on using the changeset viewer.