Fix race in fast/loader/onunload-form-submit-crash.html
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Sep 2013 21:15:29 +0000 (21:15 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Sep 2013 21:15:29 +0000 (21:15 +0000)
commit3c5c352256ccf1fe1a6f1f8ca8198cbf100b08b9
treeab0fa74b9f269a900844bac2299cf54f9248f7cb
parent31a51620924085bd3e9082d7a3a3721a2ad4afbf
Fix race in fast/loader/onunload-form-submit-crash.html
https://bugs.webkit.org/show_bug.cgi?id=121122

Reviewed by Alexey Proskuryakov.

Merge https://chromium.googlesource.com/chromium/blink/+/c7ab0900c147f9a2f4c69d62b6460f98abc5d796

The setTimeout was sometimes firing before the form was parsed, so document.myForm would be null.

* fast/loader/onunload-form-submit-crash.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/loader/onunload-form-submit-crash.html