| Index: third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js b/third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js
|
| index ee27f2b8f05134cf2c02c7b46560e6d2371be44b..6cfa0f38676a1d419498d6c8aeccc48e63288582 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js
|
| @@ -63,3 +63,10 @@ function assert_array_almost_equals(actual, expected) {
|
| function assert_matrix_almost_equals(actual, expected) {
|
| assert_array_almost_equals(actual.toFloat64Array(), expected.toFloat64Array());
|
| }
|
| +
|
| +function assert_point_equals(actual, expected) {
|
| + assert_equals(actual.x, expected.x, "actual.x is different with expected.x");
|
| + assert_equals(actual.y, expected.y, "actual.y is different with expected.y");
|
| + assert_equals(actual.z, expected.z, "actual.z is different with expected.z");
|
| + assert_equals(actual.w, expected.w, "actual.w is different with expected.w");
|
| +}
|
|
|