Index: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/DOMTokenList.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/DOMTokenList.html b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/DOMTokenList.html |
index 38006d3e77d9e8eab734754332f8a603bf88d99b..e8c26df498ffafc473ce90dfb86ec6cd23651305 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/DOMTokenList.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/DOMTokenList.html |
@@ -89,8 +89,10 @@ test(function () { |
instance.setAttribute('class', 'hello world'); |
assert_array_equals(element.takeLog().types(), ['constructed', 'attributeChanged']); |
instance.classList.remove('foo'); |
- assert_array_equals(element.takeLog().types(), []); |
-}, 'remove on DOMTokenList must not enqueue an attributeChanged reaction when removing a non-existent value from an attribute'); |
+ var logEntries = element.takeLog(); |
+ assert_array_equals(logEntries.types(), ['attributeChanged']); |
+ assert_attribute_log_entry(logEntries.last(), {name: 'class', oldValue: 'hello world', newValue: 'hello world', namespace: null}); |
+}, 'remove on DOMTokenList must enqueue an attributeChanged reaction even when removing a non-existent value from an attribute'); |
test(function () { |
var element = define_new_custom_element(['title']); |