| Index: third_party/WebKit/LayoutTests/custom-elements/spec/resources/custom-elements-helpers.js
|
| diff --git a/third_party/WebKit/LayoutTests/custom-elements/spec/resources/custom-elements-helpers.js b/third_party/WebKit/LayoutTests/custom-elements/spec/resources/custom-elements-helpers.js
|
| index 50fe9722bcf7216a69e1243fe57c666f01e4720d..44871eebc43604f643334e41d47565b3f60a97e3 100644
|
| --- a/third_party/WebKit/LayoutTests/custom-elements/spec/resources/custom-elements-helpers.js
|
| +++ b/third_party/WebKit/LayoutTests/custom-elements/spec/resources/custom-elements-helpers.js
|
| @@ -65,7 +65,7 @@ function assert_reports(w, expected_error, func, description) {
|
| } finally {
|
| w.onerror = old_onerror;
|
| }
|
| - assert_equals(1, errors.length);
|
| + assert_equals(errors.length, 1, 'only one error should have been reported');
|
| // assert_throws has an error expectation matcher that can only be
|
| // accessed by throwing the error
|
| assert_throws(expected_error, () => { throw errors[0]; });
|
|
|