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

Issue 1206283002: Add MediaSession runtime flag along with stub MediaSession object (Closed)

Created:
5 years, 6 months ago by davve
Modified:
5 years, 5 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add MediaSession runtime flag along with stub MediaSession object Implementation of the MediaSession specification will happen behind the runtime flag 'MediaSession'. Add a virtual testsuite for running tests with MediaSession flag. This way we don't have to have the flag enabled when running LayoutTests in general, only when running MediaSession tests. Intent to implement: https://groups.google.com/a/chromium.org/d/msg/blink-dev/dLWDxYgxzQ8/vXt0ntWFNBwJ BUG=497735 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198049

Patch Set 1 #

Patch Set 2 : Tighten DEPS file for module #

Patch Set 3 : Tighten DEPS file for module (re-upload) #

Total comments: 2

Patch Set 4 : Merged https://codereview.chromium.org/1208963002/ #

Patch Set 5 : Add OWNERS and fix idl "coding style" #

Total comments: 4

Patch Set 6 : Fix title and add instanceof assert to test #

Total comments: 5

Patch Set 7 : Add licence header #

Patch Set 8 : Add dummy warning to test, move comment to test and update stale expected file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -0 lines) Patch
M LayoutTests/VirtualTestSuites View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/media/mediasession/mediasession-constructor.html View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/media/mediasession/mediasession-constructor-expected.txt View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/virtual/mediasession/media/mediasession/README.txt View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
A Source/modules/mediasession/DEPS View 1 1 chunk +7 lines, -0 lines 0 comments Download
A Source/modules/mediasession/MediaSession.h View 1 chunk +27 lines, -0 lines 0 comments Download
A Source/modules/mediasession/MediaSession.cpp View 1 chunk +27 lines, -0 lines 0 comments Download
A Source/modules/mediasession/MediaSession.idl View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
A Source/modules/mediasession/OWNERS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
davve
The basic stubs for MediaSession.activate() and MediaSession.release(). There are outstanding issues about these two, so ...
5 years, 6 months ago (2015-06-25 15:22:00 UTC) #2
davve
On 2015/06/25 15:22:00, David Vest wrote: > The basic stubs for MediaSession.activate() and MediaSession.release(). There ...
5 years, 6 months ago (2015-06-25 15:24:29 UTC) #3
philipj_slow
Merging this with https://codereview.chromium.org/1208963002/ would make sense I think. modules/mediasession will also need OWNERS, and ...
5 years, 6 months ago (2015-06-26 11:56:59 UTC) #5
philipj_slow
https://codereview.chromium.org/1206283002/diff/80001/LayoutTests/media/mediasession/mediasession-constructor.html File LayoutTests/media/mediasession/mediasession-constructor.html (right): https://codereview.chromium.org/1206283002/diff/80001/LayoutTests/media/mediasession/mediasession-constructor.html#newcode2 LayoutTests/media/mediasession/mediasession-constructor.html:2: <title>Test that the media session constructor exists</title> Maybe just ...
5 years, 6 months ago (2015-06-26 12:34:41 UTC) #6
davve
PTAL https://codereview.chromium.org/1206283002/diff/40001/Source/modules/mediasession/MediaSession.idl File Source/modules/mediasession/MediaSession.idl (right): https://codereview.chromium.org/1206283002/diff/40001/Source/modules/mediasession/MediaSession.idl#newcode5 Source/modules/mediasession/MediaSession.idl:5: interface MediaSession { On 2015/06/26 11:56:59, philipj wrote: ...
5 years, 6 months ago (2015-06-26 12:50:50 UTC) #7
philipj_slow
LGTM \o/ Anton and Mounir, do you want to review as well? There will probably ...
5 years, 6 months ago (2015-06-26 12:58:36 UTC) #8
mlamouri (slow - plz ping)
lgtm with comment addressed https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt File LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt (right): https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt#newcode3 LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt:3: Harness: the test ran to ...
5 years, 5 months ago (2015-06-29 10:28:31 UTC) #9
mlamouri (slow - plz ping)
On 2015/06/26 at 12:58:36, philipj wrote: > LGTM \o/ > > Anton and Mounir, do ...
5 years, 5 months ago (2015-06-29 10:28:51 UTC) #10
davve
https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt File LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt (right): https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt#newcode3 LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt:3: Harness: the test ran to completion. On 2015/06/29 10:28:31, ...
5 years, 5 months ago (2015-06-29 10:45:52 UTC) #11
mlamouri (slow - plz ping)
https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt File LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt (right): https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt#newcode3 LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt:3: Harness: the test ran to completion. On 2015/06/29 at ...
5 years, 5 months ago (2015-06-29 10:52:40 UTC) #12
davve
https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt File LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt (right): https://codereview.chromium.org/1206283002/diff/100001/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt#newcode3 LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt:3: Harness: the test ran to completion. On 2015/06/29 10:52:39, ...
5 years, 5 months ago (2015-06-29 11:16:10 UTC) #13
davve
On 2015/06/29 11:16:10, David Vest wrote: > Should I file a bug on that (where?) ...
5 years, 5 months ago (2015-06-30 09:11:05 UTC) #14
philipj_slow
On 2015/06/30 09:11:05, David Vest wrote: > On 2015/06/29 11:16:10, David Vest wrote: > > ...
5 years, 5 months ago (2015-06-30 09:42:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1206283002/140001
5 years, 5 months ago (2015-06-30 09:42:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1206283002/140001
5 years, 5 months ago (2015-06-30 09:51:00 UTC) #21
commit-bot: I haz the power
5 years, 5 months ago (2015-06-30 10:50:41 UTC) #22
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198049

Powered by Google App Engine
This is Rietveld 408576698