mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 816924d8a73ac20159d2ec8e2d14dfc2e882cb17
This commit is contained in:
parent
8dc7a25893
commit
dffc3b3bdd
28 changed files with 289 additions and 146 deletions
|
@ -340,12 +340,15 @@ class MockRuntime {
|
|||
this.environmentProviderBinding_.close();
|
||||
}
|
||||
|
||||
closeDataProvider() {
|
||||
this.dataProviderBinding_.close();
|
||||
}
|
||||
|
||||
updateSessionGeometry(frame_size, display_rotation) {
|
||||
// This function must exist to ensure that calls to it do not crash, but we
|
||||
// do not have any use for this data at present.
|
||||
}
|
||||
|
||||
|
||||
// Utility function
|
||||
requestRuntimeSession(sessionOptions) {
|
||||
return this.runtimeSupportsSession(sessionOptions).then((result) => {
|
||||
|
@ -366,7 +369,7 @@ class MockRuntime {
|
|||
|
||||
let dataProviderPtr = new device.mojom.XRFrameDataProviderPtr();
|
||||
let dataProviderRequest = mojo.makeRequest(dataProviderPtr);
|
||||
let dataProviderBinding = new mojo.Binding(
|
||||
this.dataProviderBinding_ = new mojo.Binding(
|
||||
device.mojom.XRFrameDataProvider, this, dataProviderRequest);
|
||||
|
||||
let clientRequest = mojo.makeRequest(this.sessionClient_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue