Fix android OOM media test bug.

Browser tests kill the GPU process between runs. This quick teardown
leads to memory leaks in other processes supporting Android's
MediaCodec. The leaks accumulate until OOM causes tests to fail.

This CL adds a navigation at the end of the test to a blank page. This
behavior explicitly destroys the media resources and should give
MediaCodec a chance to clean up memory allocated in other processes.

Bug: 727542
Change-Id: I2e0baef820d1c45026cfe21334b9c0a1802d4813
Reviewed-on: https://chromium-review.googlesource.com/547049
Reviewed-by: Chris Watkins <watk@chromium.org>
Commit-Queue: Chrome Cunningham <chcunningham@chromium.org>
Cr-Commit-Position: refs/heads/master@{#482132}
2 files changed