Improve webaudio/audiocontext-close.html stability.

Scheduling the post-GC testing via a timeout handler runs the risk of the
test completing before the test completes. No need for the GC to be
async here; simplify accordingly to avoid the timing issue.

R=haraken
BUG=461762

Review URL: https://codereview.chromium.org/950343005

git-svn-id: svn://svn.chromium.org/blink/trunk@190825 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 51af34bce4283cc2d191e3a9a4e85d3f89a022bb
  1. third_party/