Make the resize-events test not flaky.

resize-events calls setTimeout many time in turn after calling
testRunner.waitUntilDone(). It seems to cause test timed out. So this patch
changes resize-events to use setTimeout one time to avoid flaky.

BUG=239483
TEST=fast/events/resize-events.html

Review URL: https://chromiumcodereview.appspot.com/15023009

git-svn-id: svn://svn.chromium.org/blink/trunk@151154 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed