Remove race from one plug-in test
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jul 2017 16:06:50 +0000 (16:06 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jul 2017 16:06:50 +0000 (16:06 +0000)
commitf66bf27b7cb0690181d552194307f52863c084ae
treeb4cbc6566bdeb553c9ed5203e421733679875b18
parent11cef7b37a35a4ff2bc34bd8288467aaafa21217
Remove race from one plug-in test
https://bugs.webkit.org/show_bug.cgi?id=130653

Reviewed by Antti Koivisto.

* plugins/plugin-remove-readystatechange.html: Updated test to use waitUntilDone/notifyDone
rather than racing. Added a computation of offsetLeft to trigger layout and adding a long
comment explaining why this is both needed and potentially insufficient in the long run.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/plugins/plugin-remove-readystatechange.html