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 c11f7252b2ec09b874125f76d455bc5a943ced07..c8aa8b09db3b45d0e3bae12c7794a7f0aad79b1e 100644 |
--- a/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html |
+++ b/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html |
@@ -45,8 +45,8 @@ sensor_test(sensor => { |
// Throws with insufficient buffer space. |
assert_throws({ name: 'TypeError' }, () => sensorObject.populateMatrix(new Float32Array(15))); |
- // Throws at wrong sensor state. |
- assert_throws({ name: 'InvalidStateError' }, () => sensorObject.populateMatrix(new Float32Array(16))); |
+ // Throws if no orientation data available. |
+ assert_throws({ name: 'NotReadableError' }, () => sensorObject.populateMatrix(new Float32Array(16))); |
sensorObject.start(); |