[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)
commit0754c378a7a9cb87f2ca2426f64a94191a38cf7b
treebe5dfba17a3d18e9d1819b54c2850d1dfcc21167
parent6f1909ad84158450800ee51b71e044a50d50fdda
[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: https://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]