@@ -1686,6 +1686,12 @@ Worker.prototype.webkitPostMessage = function(message, transferOrOptions) {};
1686
1686
*/
1687
1687
Worker . prototype . onmessage ;
1688
1688
1689
+ /**
1690
+ * @type {?function(!MessageEvent) }
1691
+ * @see https://developer.mozilla.org/docs/Web/API/Worker/messageerror_event
1692
+ */
1693
+ Worker . prototype . onmessageerror ;
1694
+
1689
1695
/**
1690
1696
* Sent when the worker thread encounters an error.
1691
1697
* @type {?function(!ErrorEvent): void }
@@ -2331,6 +2337,15 @@ HTMLMediaElement.prototype.buffered;
2331
2337
/** @type {?MediaStream } */
2332
2338
HTMLMediaElement . prototype . srcObject ;
2333
2339
2340
+ /** @type {boolean } */
2341
+ HTMLMediaElement . prototype . defaultMuted ;
2342
+
2343
+ /** @type {boolean } */
2344
+ HTMLMediaElement . prototype . disableRemotePlayback ;
2345
+
2346
+ /** @type {boolean } */
2347
+ HTMLMediaElement . prototype . preservesPitch ;
2348
+
2334
2349
/**
2335
2350
* Loads the media element.
2336
2351
* @return {undefined }
@@ -2358,6 +2373,12 @@ HTMLMediaElement.prototype.oncanplaythrough;
2358
2373
/** @type {?function(!Event) } */
2359
2374
HTMLMediaElement . prototype . ondurationchange ;
2360
2375
2376
+ /** @type {?function(!MediaEncryptedEvent) } */
2377
+ HTMLMediaElement . prototype . onencrypted ;
2378
+
2379
+ /** @type {?function(!Event) } */
2380
+ HTMLMediaElement . prototype . onwaitingforkey ;
2381
+
2361
2382
/** @type {?function(!Event) } */
2362
2383
HTMLMediaElement . prototype . onemptied ;
2363
2384
@@ -2619,6 +2640,12 @@ TextTrack.prototype.addCue = function(cue) {};
2619
2640
*/
2620
2641
TextTrack . prototype . removeCue = function ( cue ) { } ;
2621
2642
2643
+ /**
2644
+ * @type {?function(!Event) }
2645
+ * @see https://developer.mozilla.org/docs/Web/API/TextTrack/cuechange_event
2646
+ */
2647
+ TextTrack . prototype . oncuechange ;
2648
+
2622
2649
/**
2623
2650
* @const {TextTrackCueList}
2624
2651
*/
@@ -2635,6 +2662,30 @@ TextTrack.prototype.cues;
2635
2662
*/
2636
2663
TextTrack . prototype . id ;
2637
2664
2665
+ /**
2666
+ * @type {string }
2667
+ * @see https://developer.mozilla.org/docs/Web/API/TextTrack/inBandMetadataTrackDispatchType
2668
+ */
2669
+ TextTrack . prototype . inBandMetadataTrackDispatchType ;
2670
+
2671
+ /**
2672
+ * @type {string }
2673
+ * @see https://developer.mozilla.org/docs/Web/API/TextTrack/kind
2674
+ */
2675
+ TextTrack . prototype . kind ;
2676
+
2677
+ /**
2678
+ * @type {string }
2679
+ * @see https://developer.mozilla.org/docs/Web/API/TextTrack/label
2680
+ */
2681
+ TextTrack . prototype . label ;
2682
+
2683
+ /**
2684
+ * @type {string }
2685
+ * @see https://developer.mozilla.org/docs/Web/API/TextTrack/language
2686
+ */
2687
+ TextTrack . prototype . language ;
2688
+
2638
2689
/**
2639
2690
* @type {string }
2640
2691
*/
@@ -2835,6 +2886,9 @@ HTMLVideoElement.prototype.videoWidth;
2835
2886
/** @type {number } */
2836
2887
HTMLVideoElement . prototype . videoHeight ;
2837
2888
2889
+ /** @type {boolean } */
2890
+ HTMLVideoElement . prototype . playsInline ;
2891
+
2838
2892
/** @type {string } */
2839
2893
HTMLVideoElement . prototype . poster ;
2840
2894
@@ -3073,6 +3127,12 @@ MessagePort.prototype.close = function() {};
3073
3127
*/
3074
3128
MessagePort . prototype . onmessage ;
3075
3129
3130
+ /**
3131
+ * @type {?function(!MessageEvent<*>): void }
3132
+ * @see https://developer.mozilla.org/docs/Web/API/MessagePort/messageerror_event
3133
+ */
3134
+ MessagePort . prototype . onmessageerror ;
3135
+
3076
3136
// HTML5 MessageEvent class
3077
3137
/**
3078
3138
* @typedef {Window|MessagePort|ServiceWorker }
@@ -3269,6 +3329,12 @@ BroadcastChannel.prototype.removeEventListener = function(
3269
3329
*/
3270
3330
BroadcastChannel . prototype . onmessage ;
3271
3331
3332
+ /**
3333
+ * @type {?function(!MessageEvent<*>) }
3334
+ * @see https://developer.mozilla.org/docs/Web/API/BroadcastChannel/messageerror_event
3335
+ */
3336
+ BroadcastChannel . prototype . onmessageerror ;
3337
+
3272
3338
/**
3273
3339
* The name of the channel.
3274
3340
* @type {string }
@@ -5007,6 +5073,13 @@ ShadowRoot.prototype.innerHTML;
5007
5073
ShadowRoot . prototype . styleSheets ;
5008
5074
5009
5075
5076
+ /**
5077
+ * @param {!GetHTMLOptions= } options
5078
+ * @return {string }
5079
+ * @see https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML
5080
+ */
5081
+ ShadowRoot . prototype . getHTML = function ( options ) { } ;
5082
+
5010
5083
/**
5011
5084
* @typedef {string }
5012
5085
* @see https://dom.spec.whatwg.org/#enumdef-shadowrootmode
@@ -5826,6 +5899,12 @@ Navigator.prototype.setAppBadge = function(contents) {};
5826
5899
*/
5827
5900
Navigator . prototype . clearAppBadge = function ( ) { } ;
5828
5901
5902
+ /**
5903
+ * @type {boolean }
5904
+ * @see https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled
5905
+ */
5906
+ Navigator . prototype . pdfViewerEnabled ;
5907
+
5829
5908
/**
5830
5909
* @constructor
5831
5910
* @implements NavigatorBadge
0 commit comments