| <!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> |