WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
298503
[WPE][GTK] Build without webxr is broken
https://bugs.webkit.org/show_bug.cgi?id=298503
Summary
[WPE][GTK] Build without webxr is broken
Philippe Normand
Reported
2025-09-06 10:58:07 PDT
/var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:36:20: error: no member named 'Device' in namespace 'PlatformXR' 36 | static PlatformXR::Device::FeatureList toFeatureList(WebKitXRSessionFeatures features) | ~~~~~~~~~~~~^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:38:17: error: no member named 'Device' in namespace 'PlatformXR' 38 | PlatformXR::Device::FeatureList result; | ~~~~~~~~~~~~^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:38:37: error: use of undeclared identifier 'result'; did you mean 'WTF::Result'? 38 | PlatformXR::Device::FeatureList result; | ^~~~~~ | WTF::Result /var/home/phil/WebKit/WebKitBuild/GTK/Release/WTF/Headers/wtf/CheckedArithmetic.h:277:42: note: 'WTF::Result' declared here 277 | template <typename U, typename V> struct Result : ResultBase<typename RemoveChecked<U>::CleanType, typename RemoveChecked<V>::CleanType> { | ^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:40:35: error: no member named 'SessionFeature' in namespace 'PlatformXR' 40 | result.append(PlatformXR::SessionFeature::ReferenceSpaceTypeViewer); | ~~~~~~~~~~~~^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:42:35: error: no member named 'SessionFeature' in namespace 'PlatformXR' 42 | result.append(PlatformXR::SessionFeature::ReferenceSpaceTypeLocal); | ~~~~~~~~~~~~^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:44:35: error: no member named 'SessionFeature' in namespace 'PlatformXR' 44 | result.append(PlatformXR::SessionFeature::ReferenceSpaceTypeLocalFloor); | ~~~~~~~~~~~~^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:46:35: error: no member named 'SessionFeature' in namespace 'PlatformXR' 46 | result.append(PlatformXR::SessionFeature::ReferenceSpaceTypeBoundedFloor); | ~~~~~~~~~~~~^ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitXRPermissionRequest.cpp:48:35: error: no member named 'SessionFeature' in namespace 'PlatformXR' 48 | result.append(PlatformXR::SessionFeature::ReferenceSpaceTypeUnbounded); | ~~~~~~~~~~~~^ 8 errors generated.
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2025-09-06 11:00:18 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/50413
EWS
Comment 2
2025-09-06 11:02:41 PDT
Committed
299665@main
(10b6be824893): <
https://commits.webkit.org/299665@main
> Reviewed commits have been landed. Closing PR #50413 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug