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

Unified Diff: third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl

Issue 1420223002: Disallow assigning a MediaSession after the resource has been selected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull expected file from the bots Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl
diff --git a/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl b/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl
index 14b2fe511fc20e501fc17470cfddfa5aecb345af..1810f851857d214d0c4c86c252124a8e15fe4293 100644
--- a/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl
+++ b/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl
@@ -8,5 +8,5 @@
TypeChecking=Interface,
RuntimeEnabled=MediaSession,
] partial interface HTMLMediaElement {
- attribute MediaSession? session;
+ [RaisesException=Setter] attribute MediaSession? session;
};
« no previous file with comments | « third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698