1
2
3
4
5
6
7
8
9
10
11
12
media / test / data / cleaner.html [blame]
<!DOCTYPE html>
<script type="text/javascript">
// The "cleaning" is done by navigating to the page after a test has run in
// another page (e.g. player.html). This is only done on android as a workaround
// for MediaCodec memory leaks that result from fast shutdown of GPU process
// between tests. Navigating to this page destroys media resources used in the
// previous page and the timeout gives MediaCodec a chance to clean up.
// See http://crbug.com/727542
setTimeout(function() {
document.title = 'CLEAN';
}, 200);
</script>