[chromium] Add a layout test for losing the compositor context with a video playing
authorjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 21:47:51 +0000 (21:47 +0000)
committerjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 21:47:51 +0000 (21:47 +0000)
commitfe554f699767236b1658b932306c3345fc55584e
treebe5dfba17a3d18e9d1819b54c2850d1dfcc21167
parent747ac632f80f577f16ad27a32def63730e7253dc
[chromium] Add a layout test for losing the compositor context with a video playing
https://bugs.webkit.org/show_bug.cgi?id=78060

Reviewed by Eric Carlson.

Adds a test to prevent regressions with video playback when we lose the compositor context. This test loads up a
video, forces a frame to be displayed, simulates a lost context, then finishes the test (which causes another
frame to be displayed).

Prior to r106610 this test times out in debug and crashes in ASAN.

* platform/chromium/compositing/lost-compositor-context-with-video-expected.png: Added.
* platform/chromium/compositing/lost-compositor-context-with-video-expected.txt: Added.
* platform/chromium/compositing/lost-compositor-context-with-video.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium/compositing/lost-compositor-context-with-video-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium/compositing/lost-compositor-context-with-video-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium/compositing/lost-compositor-context-with-video.html [new file with mode: 0644]