Index: third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html |
diff --git a/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html b/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html |
index 69b98748efb55d4e85b8e55e9c53b965f3859f0b..054bb7095187ce4ab417c8e5b1484ef350470839 100644 |
--- a/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html |
+++ b/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html |
@@ -17,8 +17,6 @@ |
description("Tests that accessible inline text boxes update when a static text node changes."); |
- var notificationCalled = false; |
- |
if (window.accessibilityController) { |
testRunner.waitUntilDone(); |
window.jsTestIsAsync = true; |
@@ -37,12 +35,6 @@ |
// Wait for a notification on the element before checking the new state. |
axStaticText.addNotificationListener(function(notification) { |
- // The notification might be called before or after the document |
- // load event. This test allows either cases and ignore subsequent |
- // notifications after the first notification. |
- if (notificationCalled) { |
- return; |
- } |
// Make sure the inline text boxes changed. |
shouldBe("axStaticText.childrenCount", "3"); |
window.axInlineAfter0 = axStaticText.childAtIndex(0); |
@@ -54,8 +46,6 @@ |
// Make sure the old object pointing to the second text box is no longer valid. |
shouldBe("axInlineBefore1.name", "''"); |
- |
- notificationCalled = true; |
finishJSTest(); |
}); |
} |