NEW 25469
JS layout tests should support layoutTestController.waitUntilDone/notifyDone.
https://bugs.webkit.org/show_bug.cgi?id=25469
Summary JS layout tests should support layoutTestController.waitUntilDone/notifyDone.
Ojan Vafai
Reported 2009-04-29 15:53:17 PDT
Currently tests like platform/win/fast/forms/textarea-metrics-expected.txt that use setTimeout print the SUCCESS line before actually running the test.
Attachments
Ojan Vafai
Comment 1 2009-04-29 16:21:21 PDT
eseidel's better description from #webkit: the fast/js tests function by including a <Script> tag after your test script which checks to make sure your test script parsed correctly. Instead, we should have a function which that last script calls when you're not waitUntilDone. when you are waitUntilDone then it should not do anything, and you can call the "I'm done" function manually
Note You need to log in before you can comment on or make changes to this bug.