| OLD | NEW |
| (Empty) | |
| 1 enum RemotePlaybackState { |
| 2 "connecting", |
| 3 "connected", |
| 4 "disconnected" |
| 5 }; |
| 6 |
| 7 callback RemotePlaybackAvailabilityCallback = void(boolean available); |
| 8 |
| 9 interface RemotePlayback : EventTarget { |
| 10 readonly attribute RemotePlaybackState state; |
| 11 attribute EventHandler onconnecting; |
| 12 attribute EventHandler onconnect; |
| 13 attribute EventHandler ondisconnect; |
| 14 |
| 15 Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback)
; |
| 16 Promise<void> cancelWatchAvailability(optional long id); |
| 17 Promise<void> prompt(); |
| 18 }; |
| 19 |
| 20 partial interface HTMLMediaElement { |
| 21 readonly attribute RemotePlayback remote; |
| 22 attribute boolean disableRemotePlayback; |
| 23 }; |
| OLD | NEW |