diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 00:56:24 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 00:56:24 +0000 |
commit | f467d03becdffdd9862dacb1feec243781f24952 (patch) | |
tree | 8982da1095ecdcf92a4c8ada323b208d32211f0b /base | |
parent | 645e51066961549cb2bf9ff00d141d2a46a9bb7d (diff) | |
download | chromium_src-f467d03becdffdd9862dacb1feec243781f24952.zip chromium_src-f467d03becdffdd9862dacb1feec243781f24952.tar.gz chromium_src-f467d03becdffdd9862dacb1feec243781f24952.tar.bz2 |
Use a saved copy of the time when pausing media elements.
Since our internal pause is asynchronous and we don't want to hang the render thread, it's possible to have our clock creep ahead. This produces unexpected behaviour when pausing media elements, such as seeing currentTime attribute nudge a little ahead after calling pause().
This so happens to also address layout test flakiness.
BUG=13907
TEST=layout tests, especially video-pause-immediately.html -- a new layout test I wrote and am upstreaming
Review URL: http://codereview.chromium.org/334002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
0 files changed, 0 insertions, 0 deletions