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

Issue 1850733003: Media: Report informational error messages to HTMLMediaElement (Closed)

Created:
4 years, 8 months ago by wolenetz
Modified:
4 years, 8 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, philipj_slow, posciak+watch_chromium.org, avayvod+watch_chromium.org, blink-reviews, jam, mcasas+watch_chromium.org, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-blink_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-media_chromium.org, xhwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@use_locking_in_rendermedialog
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media: Report informational error messages to HTMLMediaElement Caches the most recent (if any) PIPELINE_ERROR and MEDIA_ERROR_LOG_ENTRY MediaLog events and serves their concatenation to HTMLMediaElement as an informative media error message. The next step will be for HTMLMediaElement to report this error message to the devtools console upon transition into error state. Other cumulative improvements to add such messages to MediaError for visibility to web apps, and to clarify the WebMediaPlayer and WebMediaPlayerClient error reporting channel will come later. BUG=472253 Committed: https://crrev.com/4d39cc03fb3af3728b9b91134bff098f6c3d2111 Cr-Commit-Position: refs/heads/master@{#385264}

Patch Set 1 : #

Patch Set 2 : Just rebase. Still need to fix bots and verify. #

Patch Set 3 : Fixed the rebase. Still need to fix bots and verify. #

Patch Set 4 : Fix some compile errors. #

Patch Set 5 : Rebased onto PS5 (final version?) of https://codereview.chromium.org/1846913004/ #

Patch Set 6 : Fix null MediaLogEvent* dereference in RenderMediaLog::AddEvent() #

Total comments: 10

Patch Set 7 : Rebase to ToT, address watk@'s nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -11 lines) Patch
M content/renderer/media/android/webmediaplayer_android.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/html_video_element_capturer_source_unittest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/render_media_log.h View 1 2 3 4 5 6 5 chunks +15 lines, -5 lines 0 comments Download
M content/renderer/media/render_media_log.cc View 1 2 3 4 5 6 3 chunks +42 lines, -6 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/media_log.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/media_log.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayer.h View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850733003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850733003/20001
4 years, 8 months ago (2016-04-01 02:32:13 UTC) #3
wolenetz
Please take a look. This is mostly the Chromium MediaLog side of basic media error ...
4 years, 8 months ago (2016-04-01 02:43:45 UTC) #5
wolenetz
Actually adding reviewers for realz this time. Please see msg#5 for review request.
4 years, 8 months ago (2016-04-01 02:46:16 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/43561)
4 years, 8 months ago (2016-04-01 02:48:00 UTC) #9
wolenetz
On 2016/04/01 02:48:00, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 8 months ago (2016-04-04 18:36:20 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850733003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850733003/80001
4 years, 8 months ago (2016-04-04 20:10:41 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/25976)
4 years, 8 months ago (2016-04-04 20:55:06 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850733003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850733003/100001
4 years, 8 months ago (2016-04-04 21:14:53 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850733003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850733003/120001
4 years, 8 months ago (2016-04-04 21:45:05 UTC) #18
wolenetz
Please review patch set 6: This is mostly the Chromium MediaLog side of basic media ...
4 years, 8 months ago (2016-04-04 21:52:25 UTC) #21
wolenetz
On 2016/04/04 21:52:25, wolenetz wrote: > Please review patch set 6: > > This is ...
4 years, 8 months ago (2016-04-04 23:09:34 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 23:19:28 UTC) #24
watk
lgtm https://codereview.chromium.org/1850733003/diff/120001/content/renderer/media/render_media_log.cc File content/renderer/media/render_media_log.cc (right): https://codereview.chromium.org/1850733003/diff/120001/content/renderer/media/render_media_log.cc#newcode67 content/renderer/media/render_media_log.cc:67: // use in GetLastErrorMessage(); nit: s/;/./ https://codereview.chromium.org/1850733003/diff/120001/content/renderer/media/render_media_log.cc#newcode114 content/renderer/media/render_media_log.cc:114: ...
4 years, 8 months ago (2016-04-04 23:47:25 UTC) #25
wolenetz
Thanks watk@ for review. Others, please review patch set 7: philipj@:third_party/WebKit/* qinmin@:C/R/M/A/* perkj@:C/R/M/{html_video_element_capturer_source_unittest.cc and WebMediaPlayerMS ...
4 years, 8 months ago (2016-04-05 00:23:27 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850733003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850733003/140001
4 years, 8 months ago (2016-04-05 00:25:06 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_TIMED_OUT, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/48189)
4 years, 8 months ago (2016-04-05 06:26:51 UTC) #30
philipj_slow
third_party/WebKit/ LGTM
4 years, 8 months ago (2016-04-05 11:25:07 UTC) #31
perkj_chrome
Sorry - I had missed this. webmediaplayer_ms and html_video_element_capturer_source_unittest.cc lgtm.
4 years, 8 months ago (2016-04-05 12:25:38 UTC) #32
qinmin
lgtm
4 years, 8 months ago (2016-04-05 18:31:07 UTC) #33
wolenetz
On 2016/04/05 18:31:07, qinmin wrote: > lgtm Thanks for reviews. I'll send to CQ shortly.
4 years, 8 months ago (2016-04-05 18:46:41 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850733003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850733003/140001
4 years, 8 months ago (2016-04-05 18:47:12 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 8 months ago (2016-04-05 19:54:50 UTC) #39
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 19:55:44 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4d39cc03fb3af3728b9b91134bff098f6c3d2111
Cr-Commit-Position: refs/heads/master@{#385264}

Powered by Google App Engine
This is Rietveld 408576698