https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 95a4dac471e2eb2811555819a623676b597b5997 authored by kritisingh1 on 14 March 2018, 19:47:02 UTC
stops using wrappedJSObject in marionette executor
Tip revision: 95a4dac
remoteplayback.idl
[Exposed=Window]
interface RemotePlayback : EventTarget {
    Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
    Promise<void> cancelWatchAvailability(optional long id);

    readonly attribute RemotePlaybackState state;

             attribute EventHandler        onconnecting;
             attribute EventHandler        onconnect;
             attribute EventHandler        ondisconnect;

    Promise<void> prompt();
};

enum RemotePlaybackState {
    "connecting",
    "connected",
    "disconnected"
};

callback RemotePlaybackAvailabilityCallback = void (boolean available);

partial interface HTMLMediaElement {
    [SameObject]
    readonly attribute RemotePlayback remote;

    [CEReactions]
             attribute boolean        disableRemotePlayback;
};
back to top