js-tests are incompatible with testRunner.waitUntilDone(), yet there are hundreds of tests that mix these techniques. The common symptom is that TEST COMPLETE is printed before the test is complete. But there may be more, including flakiness. Some of these tests are malformed in other ways, such as using js-test-pre.js without js-test-post.js.
Created attachment 310681 [details] proposed patch
Comment on attachment 310681 [details] proposed patch rs=me
Comment on attachment 310681 [details] proposed patch Rejecting attachment 310681 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 310681, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: .webkit.org/git/WebKit dbd4584..7c5c449 master -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 217148 = dbd4584443870cc224a699c54c990aee659f7abc r217149 = 7c5c4496c93dce138fa915f47bf12790ad2b7f22 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.webkit.org/results/3778831
Comment on attachment 310681 [details] proposed patch Clearing flags on attachment: 310681 Committed r217171: <http://trac.webkit.org/changeset/217171>
All reviewed patches have been landed. Closing bug.
js-test.js is an out-of-date merge of js-test-pre.js and js-test-post.js.
It's the better one to use in new tests. If some functions were only added to -pre, they should be added to js-test.js too.