| Index: third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
|
| diff --git a/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html b/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
|
| index 90065cffdcbd2c0bd78a7e894b112b4e7876416e..4349d2b720492e1cb315877a011269444c70a701 100644
|
| --- a/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
|
| +++ b/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
|
| @@ -48,6 +48,11 @@ sensor_test(sensor => {
|
| // Throws if no orientation data available.
|
| assert_throws({ name: 'NotReadableError' }, () => sensorObject.populateMatrix(new Float32Array(16)));
|
|
|
| + if (window.SharedArrayBuffer) {
|
| + // Throws if passed SharedArrayBuffer view.
|
| + assert_throws({ name: 'TypeError' }, () => sensorObject.populateMatrix(new Float32Array(new SharedArrayBuffer(16))));
|
| + }
|
| +
|
| sensorObject.start();
|
|
|
| return sensor.mockSensorProvider.getCreatedSensor()
|
|
|