RESOLVED FIXED 21524
Remove race condition in fast/encoding/script-in-head.html
https://bugs.webkit.org/show_bug.cgi?id=21524
Summary Remove race condition in fast/encoding/script-in-head.html
Pam Greene (IRC:pamg)
Reported 2008-10-10 10:46:43 PDT
The fast/encoding/script-in-head.html test has a race condition: the page may be dumped before the dynamically generated <script> tag is executed. Likewise, the document.write() may be buffered, leading to unreliable results. (Buffering document.write() may be a bug itself, but since it's not related to what this is testing, we should work around it here if we can.)
Attachments
Fixes test (1.68 KB, patch)
2008-10-10 10:49 PDT, Pam Greene (IRC:pamg)
darin: review+
Pam Greene (IRC:pamg)
Comment 1 2008-10-10 10:49:00 PDT
Created attachment 24266 [details] Fixes test Expected results are unchanged.
Darin Adler
Comment 2 2008-10-10 14:04:40 PDT
Comment on attachment 24266 [details] Fixes test r=me
Adam Barth
Comment 3 2008-10-12 13:45:45 PDT
I'll land this.
Adam Barth
Comment 4 2008-10-12 18:58:48 PDT
Fixed in r37547.
Note You need to log in before you can comment on or make changes to this bug.