Index: third_party/WebKit/LayoutTests/accessibility/aom.html |
diff --git a/third_party/WebKit/LayoutTests/accessibility/aom.html b/third_party/WebKit/LayoutTests/accessibility/aom.html |
index c77de58b0073e0c4b805175188f0138cc2d43e33..0c308068986b227bb5fa8d28fa60d6b674f970dc 100644 |
--- a/third_party/WebKit/LayoutTests/accessibility/aom.html |
+++ b/third_party/WebKit/LayoutTests/accessibility/aom.html |
@@ -20,14 +20,14 @@ if (window.internals) |
test(function(t) { |
var button = document.getElementById("button"); |
assert_equals(button.nodeType, Node.ELEMENT_NODE); |
- assert_not_equals(button.accessibleNode, null); |
+ assert_true(Boolean(button.accessibleNode)); |
}, "DOM Elements have an AccessibleNode"); |
aleventhal
2017/04/17 20:58:19
This was passing when it shouldn't, because access
|
test(function(t) { |
var button = document.getElementById("button"); |
var staticText = button.firstChild; |
assert_equals(staticText.nodeType, Node.TEXT_NODE); |
- assert_not_equals(staticText.accessibleNode, null); |
+ assert_false(Boolean(staticText.accessibleNode)); |
}, "DOM Text nodes do not have an AccessibleNode."); |
aleventhal
2017/04/17 20:58:19
The description of this test is opposite from what
|
test(function(t) { |