|
Make MediaSession per frame as an attribute of Navigator
This CL makes MediaSession non user-constructible, and make it as
an attribute of window.navigator, thus MediaSession is one object
per frame. This CL also adds back the removed browser tests as
layout tests using a mock blink::mojom::MediaSessionService in js.
This CL also made MediaSession enabled in tests so no need for
virtual tests anymore.
Spec URL: https://wicg.github.io/mediasession/
BUG= 643190, 646490, 653894
Committed: https://crrev.com/dbbe70b8977af46a3c33d2b1c42123f7e5d5b98b
Cr-Commit-Position: refs/heads/master@{#424702}
Total comments: 50
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+314 lines, -80 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/VirtualTestSuites
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-and-gced-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/media/mediasession/mediaimage.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/media/mediasession/mediaimage-expected.txt
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/media/mediasession/mediasession-constructor.html
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/media/mediasession/mediasession-constructor-expected.txt
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata-expected.txt
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/media/mediasession/mojo/file-image-removed.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/media/mediasession/mojo/metadata-propagated.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/media/mediasession/mojo/metadata-propagated-twice.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/mediasessionservice-mock.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/utils.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/media/mediasession/mojo/set-null-metadata.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/LayoutTests/media/mediasession/navigator-mediasession.html
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/README.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/mediaimage-expected.txt
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/mediasessionmetadata-expected.txt
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
|
4 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediasession/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediasession/MediaSession.idl
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.h
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.idl
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/modules_idl_files.gni
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 52 (37 generated)
|