mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Update web-platform-tests to revision 097043b336e46876e281ddec3bb014fe9c480128
This commit is contained in:
parent
ecd32570c0
commit
b68253eac0
405 changed files with 9164 additions and 3050 deletions
|
@ -554,6 +554,7 @@ class MockXRInputSource {
|
|||
this.handedness_ = fakeInputSourceInit.handedness;
|
||||
this.target_ray_mode_ = fakeInputSourceInit.targetRayMode;
|
||||
this.setPointerOrigin(fakeInputSourceInit.pointerOrigin);
|
||||
this.setProfiles(fakeInputSourceInit.profiles);
|
||||
|
||||
this.primary_input_pressed_ = false;
|
||||
if (fakeInputSourceInit.selectionStarted != null) {
|
||||
|
@ -593,7 +594,8 @@ class MockXRInputSource {
|
|||
}
|
||||
|
||||
setProfiles(profiles) {
|
||||
// Profiles are not yet implemented by chromium
|
||||
this.desc_dirty_ = true;
|
||||
this.profiles_ = profiles;
|
||||
}
|
||||
|
||||
setGripOrigin(transform, emulatedPosition = false) {
|
||||
|
@ -762,6 +764,8 @@ class MockXRInputSource {
|
|||
|
||||
input_desc.pointerOffset = this.pointer_offset_;
|
||||
|
||||
input_desc.profiles = this.profiles_;
|
||||
|
||||
input_state.description = input_desc;
|
||||
|
||||
this.desc_dirty_ = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue