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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl

Issue 2347103003: Implement the MediaStreamTrackEvent constructor (Closed)
Patch Set: update webexposed Created 4 years, 3 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
Index: third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl b/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl
index c080798fdd4f131c13de370b6770cdc934170308..36b7115220e5e6695be8b2974893abcdc1eade12 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaStreamTrackEvent.idl
@@ -22,8 +22,11 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/mediacapture-main/#mediastreamtrackevent
+
[
- NoInterfaceObject
+ Exposed=Window,
+ Constructor(DOMString type, MediaStreamTrackEventInit eventInitDict),
] interface MediaStreamTrackEvent : Event {
- readonly attribute MediaStreamTrack track;
+ [SameObject] readonly attribute MediaStreamTrack track;
};

Powered by Google App Engine
This is Rietveld 408576698