[chromium] platform/chromium/accessibility/other-aria-attribute-change-sends-notifica...
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Nov 2012 21:28:37 +0000 (21:28 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Nov 2012 21:28:37 +0000 (21:28 +0000)
commita6bd98ae03f8b656de6b002da333b70f38d3c4a2
tree718592a77bfb03e3bcbd1862c4ec2170e4547a8b
parent63a2d4109a91bbc8bd716e26060c48d7bb5aa6af
[chromium] platform/chromium/accessibility/other-aria-attribute-change-sends-notification.html failing
https://bugs.webkit.org/show_bug.cgi?id=100887

Reviewed by Ojan Vafai.

The tests were racing the load time of js-test-post.js and the test completion.
Previously, js-test-post.js would already be in the cache, so it would always load first.
Now that we clear the cache, sometimes js-test-post.js would run after the other test output.
Fix this by setting window.jsTestIsAsync = true and calling finishJSTest() when the test
ends (this delays the js-test-post.js output until finishJSTest() is called).

* platform/chromium/TestExpectations:
* platform/chromium/accessibility/is-ignored-change-sends-notification-expected.txt:
* platform/chromium/accessibility/is-ignored-change-sends-notification.html:
* platform/chromium/accessibility/other-aria-attribute-change-sends-notification-expected.txt:
* platform/chromium/accessibility/other-aria-attribute-change-sends-notification.html:
* platform/chromium/accessibility/text-change-notification-expected.txt:
* platform/chromium/accessibility/text-change-notification.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@133347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/chromium/accessibility/is-ignored-change-sends-notification-expected.txt
LayoutTests/platform/chromium/accessibility/is-ignored-change-sends-notification.html
LayoutTests/platform/chromium/accessibility/other-aria-attribute-change-sends-notification-expected.txt
LayoutTests/platform/chromium/accessibility/other-aria-attribute-change-sends-notification.html
LayoutTests/platform/chromium/accessibility/text-change-notification-expected.txt
LayoutTests/platform/chromium/accessibility/text-change-notification.html