mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Add WebXR's XRSystem
This commit is contained in:
Notes:
github-actions[bot]
2026-01-10 23:02:14 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/52781cc2fd9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6816 Reviewed-by: https://github.com/shannonbooth ✅
12
Tests/LibWeb/Text/input/WebXR/sessionSupported.html
Normal file
12
Tests/LibWeb/Text/input/WebXR/sessionSupported.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
asyncTest(async (done) => {
|
||||
if (await navigator.xr.isSessionSupported('inline')) {
|
||||
println("PASS: Inline sessions are supported.");
|
||||
} else {
|
||||
println("FAIL: Inline sessions are not supported.");
|
||||
}
|
||||
done();
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user