Index: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/resources/reactions.js |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/resources/reactions.js b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/resources/reactions.js |
index 1d6c48e868b8b5314f1ead999e061fff3b1e3150..b0543bbd428df3460fe24068d794bf2280c7d58c 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/resources/reactions.js |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/resources/reactions.js |
@@ -73,7 +73,7 @@ function testParsingMarkup(testFunction, name) { |
var element = define_new_custom_element(['id']); |
assert_array_equals(element.takeLog().types(), []); |
var instance = testFunction(document, `<${element.name} id="hello" class="foo"></${element.name}>`); |
- assert_equals(Object.getPrototypeOf(instance.querySelector(element.name)), element.class); |
+ assert_equals(Object.getPrototypeOf(instance.querySelector(element.name)), element.class.prototype); |
var logEntries = element.takeLog(); |
assert_array_equals(logEntries.types(), ['constructed', 'attributeChanged']); |
assert_attribute_log_entry(logEntries[1], {name: 'id', oldValue: null, newValue: 'hello', namespace: null}); |