Index: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-multiply.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-multiply.html b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-multiply.html |
index bc66520191d0424cbbaf580a93183ab67ea70e82..bc1eec893875a8cf67273d32c912055b9aecc005 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-multiply.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-multiply.html |
@@ -26,6 +26,7 @@ test(function() { |
assert_false(matrix.is2D); |
assert_false(matrix.isIdentity); |
assert_array_equals(matrix.toFloat64Array(), result.toFloat64Array()); |
+ assert_throws(new TypeError(), () => { matrix.multiplySelf({a: 2, m11: 3}) }); |
}, "DOMMatrix.multiply(other) and DOMMatrix.multiplySelf(other)"); |
test(function() { |
@@ -48,5 +49,6 @@ test(function() { |
var result = matrix.preMultiplySelf(other); |
assert_3d_matrix_equals(result, [16, 2, 0, 0, 38, 4, 0, 0, 4, 0, 3, 0, 62, 6, 1, 1]); |
assert_array_equals(matrix.toFloat64Array(), result.toFloat64Array()); |
+ assert_throws(new TypeError(), () => { matrix.preMultiplySelf({b: 3, m12: 2}) }); |
}, "DOMMatrix.preMultiplySelf(other)"); |
</script> |