| Index: content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
|
| diff --git a/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc b/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
|
| index 7e213f01be32b0e21e8e184d43bf74aa9db00ea0..8eb34aa3b0318ebcbbbb3b41b5bd54918b46a062 100644
|
| --- a/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
|
| +++ b/content/browser/webrtc/webrtc_capture_from_element_browsertest.cc
|
| @@ -73,12 +73,23 @@ class WebRtcCaptureFromElementBrowserTest
|
| };
|
|
|
| IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
|
| - VerifyCanvasCaptureColor) {
|
| - MakeTypicalCall("testCanvasCaptureColors();",
|
| + VerifyCanvas2DCaptureColor) {
|
| + MakeTypicalCall("testCanvas2DCaptureColors();",
|
| kCanvasCaptureColorTestHtmlFile);
|
| }
|
|
|
| IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
|
| + VerifyCanvasWebGLCaptureColor) {
|
| +#if !defined(OS_MACOSX)
|
| + // TODO(crbug.com/706009): Make this test pass on mac. Behavior is not buggy
|
| + // (verified manually) on mac, but for some reason this test fails on the mac
|
| + // bot.
|
| + MakeTypicalCall("testCanvasWebGLCaptureColors();",
|
| + kCanvasCaptureColorTestHtmlFile);
|
| +#endif
|
| +}
|
| +
|
| +IN_PROC_BROWSER_TEST_F(WebRtcCaptureFromElementBrowserTest,
|
| VerifyCanvasCapture2DFrames) {
|
| MakeTypicalCall("testCanvasCapture(draw2d);", kCanvasCaptureTestHtmlFile);
|
| }
|
|
|