Layout Test plugins/access-after-page-destroyed.html is flaky
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Sep 2013 21:07:27 +0000 (21:07 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Sep 2013 21:07:27 +0000 (21:07 +0000)
commita8d3a248254fe2fb93e49834e749604449caa37a
tree9c234e9f1a60954606e9dbeab97773cb5baa78fc
parent8d72afbfae44c2c7e63f586c9ca1f3cec023cd4f
Layout Test plugins/access-after-page-destroyed.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=121976

Reviewed by Anders Carlsson.

Clean up the test.

* plugins/access-after-page-destroyed-2-expected.txt: Added.
* plugins/access-after-page-destroyed-2.html: Copied from LayoutTests/plugins/access-after-page-destroyed.html.
This was testing two distinct issues, the second one unfittingly piled onto the first.
Split the test in two.

* plugins/access-after-page-destroyed-expected.txt:
* plugins/access-after-page-destroyed.html:
Modernized the test with js-test scripts, added a gc() call for predictability,
changed the test to fail quickly in the flaky case.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/plugins/access-after-page-destroyed-2-expected.txt [new file with mode: 0644]
LayoutTests/plugins/access-after-page-destroyed-2.html [new file with mode: 0644]
LayoutTests/plugins/access-after-page-destroyed-expected.txt
LayoutTests/plugins/access-after-page-destroyed.html