Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Issue 2104643002: MediaCaptureFromElement: add content_browsertests (Closed)

Created:
4 years, 5 months ago by mcasas
Modified:
4 years, 5 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, phoglund+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, tnakamura+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaCaptureFromElement: add content_browsertests This CL turns webrtc_canvas_capture_browsertest.cc into webrtc_capture_from_element_browsertest.cc, (note that they all come out of the same W3C spec). It also adds a parameterized browser test CaptureFromMediaElement that creates a MediaStream out of a given media file played back in a <video>/<audio> element. The test(s) pass when there is a certain minimal amount of data flowing. BUG=619926 TBR=emircan@chromium.org Committed: https://crrev.com/c3bfd1da6fa3b657ecd6758a2da4fa09dd983781 Cr-Commit-Position: refs/heads/master@{#402923}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : tommi@s nits #

Patch Set 3 : Allow <video>/<audio>.play() for tests when not initiated by user gesture. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -51 lines) Patch
D content/browser/media/webrtc/webrtc_canvas_capture_browsertest.cc View 1 chunk +0 lines, -35 lines 0 comments Download
A + content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc View 1 2 1 chunk +53 lines, -11 lines 0 comments Download
M content/content_tests.gypi View 5 chunks +4 lines, -4 lines 0 comments Download
M content/test/data/media/canvas_capture_color.html View 1 chunk +1 line, -1 line 0 comments Download
A content/test/data/media/video_audio_element_capture_test.html View 1 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
mcasas
emircan@ PTAL phoglund@ PTAL/RS plz
4 years, 5 months ago (2016-06-27 22:26:59 UTC) #5
phoglund_chromium
Sorry, I'm out until july 5 or so, so I recommend finding another reviewer for ...
4 years, 5 months ago (2016-06-28 13:01:38 UTC) #6
mcasas
tommi@ RS ISO phoglund please.
4 years, 5 months ago (2016-06-28 14:35:49 UTC) #8
tommi (sloooow) - chröme
lgtm % minor things https://codereview.chromium.org/2104643002/diff/40001/content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc File content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc (right): https://codereview.chromium.org/2104643002/diff/40001/content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc#newcode28 content/browser/media/webrtc/webrtc_capture_from_element_browsertest.cc:28: fix whitespace (will "git cl ...
4 years, 5 months ago (2016-06-29 07:52:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2104643002/80001
4 years, 5 months ago (2016-06-29 15:03:51 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/95832)
4 years, 5 months ago (2016-06-29 16:15:45 UTC) #16
mcasas
Sending comments. The new test fails on Android because of: [INFO:CONSOLE(47)] "Failed to execute 'play' ...
4 years, 5 months ago (2016-06-29 18:22:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2104643002/100001
4 years, 5 months ago (2016-06-29 19:11:30 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 5 months ago (2016-06-29 20:24:10 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 20:27:41 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c3bfd1da6fa3b657ecd6758a2da4fa09dd983781
Cr-Commit-Position: refs/heads/master@{#402923}

Powered by Google App Engine
This is Rietveld 408576698