| 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 114e1b00bc6ffb268a28a110e75a443962c4ef7d..14fd646a956ad04debaeaeebd55505f0317d006b 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
|
| @@ -43,3 +43,8 @@ function assert_array_equals_callback_invocations(actual, expected, description)
|
| assert_array_equals(actual[i][2], expected[i][2], callback + ' should be invoked with the arguments ' + expected[i][2]);
|
| }
|
| }
|
| +
|
| +function assert_is_upgraded(element, className, description) {
|
| + assert_true(element.matches(':defined'), description);
|
| + assert_equals(Object.getPrototypeOf(element), className.prototype, description);
|
| +}
|
|
|