API test WebKit2.MSEIsPlayingAudio timing out after r200951
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 May 2016 23:19:36 +0000 (23:19 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 May 2016 23:19:36 +0000 (23:19 +0000)
commit8e33c8b4d3cd22f8524859dff1e2e36a2bce3ac7
treeb1fe8755d18dca78d2eb80ec2e7c341e25202eed
parentf93d42d3ad4dfb77256082a8395e522544c07b52
API test WebKit2.MSEIsPlayingAudio timing out after r200951
https://bugs.webkit.org/show_bug.cgi?id=157748

Reviewed by Eric Carlson.

The file-with-mse.html testcase only calls play() once it's own XHR loading is complete; the
"user gesture" check fails at that point.  Call play() up front; playback will begin as soon
as enough data is loaded.

* TestWebKitAPI/Tests/WebKit2/file-with-mse.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2/file-with-mse.html