From 5435decab8fe54febb549e91db76a71c5e3a4cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 13:05:18 +0100 Subject: [PATCH 01/16] Update Picture-in-Picture API compat data These changes were prepared by @gsouquet in another PR: https://github.com/mdn/browser-compat-data/pull/7028 Closes https://github.com/mdn/browser-compat-data/pull/7028. Co-authored-by: Germain Co-authored-by: Daniel D. Beck --- api/Document.json | 66 ++- api/HTMLVideoElement.json | 384 ++++++++++++------ api/PictureInPicture.json | 332 --------------- api/PictureInPictureEvent.json | 218 ++++++++++ api/PictureInPictureWindow.json | 198 ++++++++- .../DocumentOrShadowRoot__Document.json | 71 ++++ 6 files changed, 794 insertions(+), 475 deletions(-) delete mode 100644 api/PictureInPicture.json create mode 100644 api/PictureInPictureEvent.json diff --git a/api/Document.json b/api/Document.json index 7f69eacb49cce6..84edf08a03b101 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4632,10 +4632,34 @@ }, "exitPictureInPicture": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/exitPictureInPicture", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -4655,7 +4679,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -8555,10 +8579,34 @@ }, "pictureInPictureEnabled": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -8578,7 +8626,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -8594,7 +8642,7 @@ } }, "status": { - "experimental": false, + "experimental": true, "standard_track": true, "deprecated": false } diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index 16b77bfafa33b0..ba696fc9a61de6 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -49,15 +49,39 @@ }, "autoPictureInPicture": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/autoPictureInPicture", "support": { - "chrome": { - "version_added": false - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, "edge": { - "version_added": false + "version_added": "79" }, "firefox": { "version_added": false @@ -69,10 +93,10 @@ "version_added": false }, "opera": { - "version_added": false + "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -88,7 +112,7 @@ } }, "status": { - "experimental": false, + "experimental": true, "standard_track": true, "deprecated": false } @@ -143,10 +167,34 @@ }, "disablePictureInPicture": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -166,8 +214,80 @@ "version_added": "56" }, "opera_android": { + "version_added": null + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "enterpictureinpicture_event": { + "__compat": { + "description": "enterpictureinpicture event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event", + "support": { + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { "version_added": false }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": null + }, "safari": { "version_added": "13.1" }, @@ -182,7 +302,7 @@ } }, "status": { - "experimental": false, + "experimental": true, "standard_track": true, "deprecated": false } @@ -298,39 +418,63 @@ } } }, - "mozDecodedFrames": { + "leavepictureinpicture_event": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozDecodedFrames", + "description": "leavepictureinpicture event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event", "support": { - "chrome": { - "version_added": false - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, "edge": { - "version_added": false + "version_added": "79" }, "firefox": { - "version_added": "5" + "version_added": false }, "firefox_android": { - "version_added": "5" + "version_added": false }, "ie": { "version_added": false }, "opera": { - "version_added": false + "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { - "version_added": false + "version_added": "13.1" }, "safari_ios": { - "version_added": false + "version_added": "13.4" }, "samsunginternet_android": { "version_added": false @@ -340,15 +484,15 @@ } }, "status": { - "experimental": false, - "standard_track": false, - "deprecated": true + "experimental": true, + "standard_track": true, + "deprecated": false } } }, - "mozFrameDelay": { + "mozDecodedFrames": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozFrameDelay", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozDecodedFrames", "support": { "chrome": { "version_added": false @@ -394,9 +538,9 @@ } } }, - "mozHasAudio": { + "mozFrameDelay": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozHasAudio", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozFrameDelay", "support": { "chrome": { "version_added": false @@ -408,10 +552,10 @@ "version_added": false }, "firefox": { - "version_added": "15" + "version_added": "5" }, "firefox_android": { - "version_added": "15" + "version_added": "5" }, "ie": { "version_added": false @@ -442,9 +586,9 @@ } } }, - "mozPaintedFrames": { + "mozHasAudio": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozPaintedFrames", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozHasAudio", "support": { "chrome": { "version_added": false @@ -456,10 +600,10 @@ "version_added": false }, "firefox": { - "version_added": "5" + "version_added": "15" }, "firefox_android": { - "version_added": "5" + "version_added": "15" }, "ie": { "version_added": false @@ -490,9 +634,9 @@ } } }, - "mozParsedFrames": { + "mozPaintedFrames": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozParsedFrames", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozPaintedFrames", "support": { "chrome": { "version_added": false @@ -538,9 +682,9 @@ } } }, - "mozPresentedFrames": { + "mozParsedFrames": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozPresentedFrames", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozParsedFrames", "support": { "chrome": { "version_added": false @@ -586,9 +730,9 @@ } } }, - "msIsStereo3D": { + "mozPresentedFrames": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/msIsStereo3D", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/mozPresentedFrames", "support": { "chrome": { "version_added": false @@ -597,17 +741,16 @@ "version_added": false }, "edge": { - "version_added": "12", - "version_removed": "79" + "version_added": false }, "firefox": { - "version_added": false + "version_added": "5" }, "firefox_android": { - "version_added": false + "version_added": "5" }, "ie": { - "version_added": "10" + "version_added": false }, "opera": { "version_added": false @@ -631,21 +774,23 @@ "status": { "experimental": false, "standard_track": false, - "deprecated": false + "deprecated": true } } }, - "onenterpictureinpicture": { + "msIsStereo3D": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/msIsStereo3D", "support": { "chrome": { - "version_added": "69" + "version_added": false }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "79" + "version_added": "12", + "version_removed": "79" }, "firefox": { "version_added": false @@ -654,19 +799,19 @@ "version_added": false }, "ie": { - "version_added": false + "version_added": "10" }, "opera": { - "version_added": "56" + "version_added": false }, "opera_android": { "version_added": false }, "safari": { - "version_added": "13.1" + "version_added": false }, "safari_ios": { - "version_added": "13.4" + "version_added": false }, "samsunginternet_android": { "version_added": false @@ -677,17 +822,41 @@ }, "status": { "experimental": false, - "standard_track": true, + "standard_track": false, "deprecated": false } } }, "onleavepictureinpicture": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -707,7 +876,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -723,54 +892,7 @@ } }, "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, - "playsInline": { - "__compat": { - "support": { - "chrome": { - "version_added": "75" - }, - "chrome_android": { - "version_added": "75" - }, - "edge": { - "version_added": "79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "62" - }, - "opera_android": { - "version_added": "54" - }, - "safari": { - "version_added": "10" - }, - "safari_ios": { - "version_added": "10" - }, - "samsunginternet_android": { - "version_added": "11.0" - }, - "webview_android": { - "version_added": "75" - } - }, - "status": { - "experimental": false, + "experimental": true, "standard_track": true, "deprecated": false } @@ -781,16 +903,16 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/poster", "support": { "chrome": { - "version_added": "1" + "version_added": true }, "chrome_android": { - "version_added": "18" + "version_added": true }, "edge": { "version_added": "12" }, "firefox": { - "version_added": "3.6" + "version_added": "4" }, "firefox_android": { "version_added": "4" @@ -802,7 +924,7 @@ "version_added": "10.5" }, "opera_android": { - "version_added": "11" + "version_added": true }, "safari": { "version_added": "3.1" @@ -811,10 +933,10 @@ "version_added": "2" }, "samsunginternet_android": { - "version_added": "1.0" + "version_added": true }, "webview_android": { - "version_added": "1" + "version_added": true } }, "status": { @@ -826,10 +948,34 @@ }, "requestPictureInPicture": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -849,7 +995,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -865,7 +1011,7 @@ } }, "status": { - "experimental": false, + "experimental": true, "standard_track": true, "deprecated": false } diff --git a/api/PictureInPicture.json b/api/PictureInPicture.json deleted file mode 100644 index 3f2b311c82b272..00000000000000 --- a/api/PictureInPicture.json +++ /dev/null @@ -1,332 +0,0 @@ -{ - "api": { - "PictureInPicture": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPicture", - "support": { - "chrome": { - "version_added": "69", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "chrome_android": { - "version_added": false - }, - "edge": { - "version_added": "≤79", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "firefox": { - "version_added": null - }, - "firefox_android": { - "version_added": null - }, - "ie": { - "version_added": null - }, - "opera": { - "version_added": false - }, - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": null - }, - "safari_ios": { - "version_added": null - }, - "samsunginternet_android": { - "version_added": false - }, - "webview_android": { - "version_added": false - } - }, - "status": { - "experimental": true, - "standard_track": false, - "deprecated": false - } - }, - "height": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPicture/height", - "support": { - "chrome": { - "version_added": "69", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "chrome_android": { - "version_added": false - }, - "edge": { - "version_added": "≤79", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "firefox": { - "version_added": null - }, - "firefox_android": { - "version_added": null - }, - "ie": { - "version_added": null - }, - "opera": { - "version_added": false - }, - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": null - }, - "safari_ios": { - "version_added": null - }, - "samsunginternet_android": { - "version_added": false - }, - "webview_android": { - "version_added": false - } - }, - "status": { - "experimental": true, - "standard_track": false, - "deprecated": false - } - } - }, - "onresize": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPicture/onresize", - "support": { - "chrome": { - "version_added": "69", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "chrome_android": { - "version_added": false - }, - "edge": { - "version_added": "≤79", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "firefox": { - "version_added": null - }, - "firefox_android": { - "version_added": null - }, - "ie": { - "version_added": null - }, - "opera": { - "version_added": false - }, - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": null - }, - "safari_ios": { - "version_added": null - }, - "samsunginternet_android": { - "version_added": false - }, - "webview_android": { - "version_added": false - } - }, - "status": { - "experimental": true, - "standard_track": false, - "deprecated": false - } - } - }, - "width": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPicture/width", - "support": { - "chrome": { - "version_added": "69", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "chrome_android": { - "version_added": false - }, - "edge": { - "version_added": "≤79", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - }, - "firefox": { - "version_added": null - }, - "firefox_android": { - "version_added": null - }, - "ie": { - "version_added": null - }, - "opera": { - "version_added": false - }, - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": null - }, - "safari_ios": { - "version_added": null - }, - "samsunginternet_android": { - "version_added": false - }, - "webview_android": { - "version_added": false - } - }, - "status": { - "experimental": true, - "standard_track": false, - "deprecated": false - } - } - } - } - } -} diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json new file mode 100644 index 00000000000000..f612423cb67641 --- /dev/null +++ b/api/PictureInPictureEvent.json @@ -0,0 +1,218 @@ +{ + "api": { + "PictureInPictureEvent": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent", + "support": { + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": null + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + }, + "PictureInPictureEvent": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent/PictureInPictureEvent", + "description": "PictureInPictureEvent() constructor", + "support": { + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": null + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, + "pictureInPictureWindow": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent/pictureInPictureWindow", + "support": { + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": null + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + } + } + } +} diff --git a/api/PictureInPictureWindow.json b/api/PictureInPictureWindow.json index dee1f6db76986e..1a895aa824bac4 100644 --- a/api/PictureInPictureWindow.json +++ b/api/PictureInPictureWindow.json @@ -2,10 +2,34 @@ "api": { "PictureInPictureWindow": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -25,7 +49,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -48,10 +72,34 @@ }, "height": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/height", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -71,7 +119,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" @@ -95,10 +143,34 @@ }, "onresize": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/onresize", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -118,8 +190,80 @@ "version_added": "56" }, "opera_android": { + "version_added": null + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { "version_added": false }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, + "resize_event": { + "__compat": { + "description": "resize event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/resize_event", + "support": { + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": null + }, "safari": { "version_added": "13.1" }, @@ -142,10 +286,34 @@ }, "width": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/width", "support": { - "chrome": { - "version_added": "69" - }, + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], "chrome_android": { "version_added": false }, @@ -165,7 +333,7 @@ "version_added": "56" }, "opera_android": { - "version_added": false + "version_added": null }, "safari": { "version_added": "13.1" diff --git a/api/_mixins/DocumentOrShadowRoot__Document.json b/api/_mixins/DocumentOrShadowRoot__Document.json index f562fac2387534..960df7db11b14d 100644 --- a/api/_mixins/DocumentOrShadowRoot__Document.json +++ b/api/_mixins/DocumentOrShadowRoot__Document.json @@ -444,6 +444,77 @@ } } }, + "pictureInPictureElement": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/DocumentOrShadowRoot/pictureInPictureElement", + "support": { + "chrome": [ + { + "version_added": "69", + "version_removed": "72", + "flags": [ + { + "type": "preference", + "name": "enable-experimental-web-platform-features", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-surfaces-for-videos", + "value_to_set": "enabled" + }, + { + "type": "preference", + "name": "enable-picture-in-picture", + "value_to_set": "enabled" + } + ] + }, + { + "version_added": "72" + } + ], + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": null + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "pointerLockElement": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement", From b65fe584bcac288204b3c86cb36e552089e7c9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 13:18:42 +0100 Subject: [PATCH 02/16] fix order --- api/Document.json | 12 +++++------ api/HTMLVideoElement.json | 36 ++++++++++++++++----------------- api/PictureInPictureEvent.json | 18 ++++++++--------- api/PictureInPictureWindow.json | 30 +++++++++++++-------------- 4 files changed, 48 insertions(+), 48 deletions(-) diff --git a/api/Document.json b/api/Document.json index 84edf08a03b101..93441a41a3c837 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4635,6 +4635,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/exitPictureInPicture", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -4655,9 +4658,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -8582,6 +8582,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -8602,9 +8605,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index ba696fc9a61de6..8f2abac5f64ed5 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -52,6 +52,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/autoPictureInPicture", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -72,9 +75,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -170,6 +170,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -190,9 +193,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -242,6 +242,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -262,9 +265,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -424,6 +424,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -444,9 +447,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -832,6 +832,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -852,9 +855,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -951,6 +951,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -971,9 +974,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index f612423cb67641..4727ed65e8e3e9 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -5,6 +5,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -25,9 +28,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -76,6 +76,9 @@ "description": "PictureInPictureEvent() constructor", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -96,9 +99,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -147,6 +147,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent/pictureInPictureWindow", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -167,9 +170,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { diff --git a/api/PictureInPictureWindow.json b/api/PictureInPictureWindow.json index 1a895aa824bac4..843ac248d05915 100644 --- a/api/PictureInPictureWindow.json +++ b/api/PictureInPictureWindow.json @@ -5,6 +5,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -25,9 +28,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -75,6 +75,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/height", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -95,9 +98,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -146,6 +146,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/onresize", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -166,9 +169,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -218,6 +218,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/resize_event", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -238,9 +241,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { @@ -289,6 +289,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/width", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -309,9 +312,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { From 7bf2c76091c426ed410b3a32c698699b52d5107a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 13:22:14 +0100 Subject: [PATCH 03/16] Set opera_android to false like chrome_android --- api/Document.json | 4 ++-- api/HTMLVideoElement.json | 12 ++++++------ api/PictureInPictureEvent.json | 6 +++--- api/PictureInPictureWindow.json | 10 +++++----- api/_mixins/DocumentOrShadowRoot__Document.json | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/api/Document.json b/api/Document.json index 93441a41a3c837..bb36c37fffe41b 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4679,7 +4679,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -8626,7 +8626,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index 8f2abac5f64ed5..4fd8f5fb54db34 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -96,7 +96,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -214,7 +214,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -286,7 +286,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -468,7 +468,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -876,7 +876,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -995,7 +995,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index 4727ed65e8e3e9..f36741a0e4f80b 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -49,7 +49,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -120,7 +120,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -191,7 +191,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" diff --git a/api/PictureInPictureWindow.json b/api/PictureInPictureWindow.json index 843ac248d05915..3d3e16ad72ad2d 100644 --- a/api/PictureInPictureWindow.json +++ b/api/PictureInPictureWindow.json @@ -49,7 +49,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -119,7 +119,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -190,7 +190,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -262,7 +262,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" @@ -333,7 +333,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" diff --git a/api/_mixins/DocumentOrShadowRoot__Document.json b/api/_mixins/DocumentOrShadowRoot__Document.json index 960df7db11b14d..f20094da6c60e0 100644 --- a/api/_mixins/DocumentOrShadowRoot__Document.json +++ b/api/_mixins/DocumentOrShadowRoot__Document.json @@ -493,7 +493,7 @@ "version_added": "56" }, "opera_android": { - "version_added": null + "version_added": false }, "safari": { "version_added": "13.1" From 28921f2ea91130b3e39b190ebd1e725cb8db3a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 13:45:14 +0100 Subject: [PATCH 04/16] fix order --- api/_mixins/DocumentOrShadowRoot__Document.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/_mixins/DocumentOrShadowRoot__Document.json b/api/_mixins/DocumentOrShadowRoot__Document.json index f20094da6c60e0..5fa259d5356cca 100644 --- a/api/_mixins/DocumentOrShadowRoot__Document.json +++ b/api/_mixins/DocumentOrShadowRoot__Document.json @@ -449,6 +449,9 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/DocumentOrShadowRoot/pictureInPictureElement", "support": { "chrome": [ + { + "version_added": "72" + }, { "version_added": "69", "version_removed": "72", @@ -469,9 +472,6 @@ "value_to_set": "enabled" } ] - }, - { - "version_added": "72" } ], "chrome_android": { From 9ed3a571fa9b843994210c79f86ef64697a0d967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 15:23:12 +0100 Subject: [PATCH 05/16] Update using mdn-bcd-collector and manual simplifcation --- api/Document.json | 58 +-------- api/HTMLVideoElement.json | 120 ++---------------- api/PictureInPictureEvent.json | 24 ++-- api/PictureInPictureWindow.json | 116 ++--------------- .../DocumentOrShadowRoot__Document.json | 29 +---- 5 files changed, 47 insertions(+), 300 deletions(-) diff --git a/api/Document.json b/api/Document.json index bb36c37fffe41b..4ef140191f2a5a 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4634,32 +4634,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/exitPictureInPicture", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -8581,32 +8558,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index 4fd8f5fb54db34..95fde592936dab 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -51,37 +51,14 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/autoPictureInPicture", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": false + }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "79" + "version_added": false }, "firefox": { "version_added": false @@ -93,7 +70,7 @@ "version_added": false }, "opera": { - "version_added": "56" + "version_added": false }, "opera_android": { "version_added": false @@ -169,32 +146,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -831,32 +785,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -950,32 +881,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index f36741a0e4f80b..2c47325d6ae463 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -6,7 +6,7 @@ "support": { "chrome": [ { - "version_added": "72" + "version_added": "85" }, { "version_added": "69", @@ -34,7 +34,7 @@ "version_added": false }, "edge": { - "version_added": "79" + "version_added": "85" }, "firefox": { "version_added": false @@ -52,10 +52,10 @@ "version_added": false }, "safari": { - "version_added": "13.1" + "version_added": false }, "safari_ios": { - "version_added": "13.4" + "version_added": false }, "samsunginternet_android": { "version_added": false @@ -77,7 +77,7 @@ "support": { "chrome": [ { - "version_added": "72" + "version_added": "85" }, { "version_added": "69", @@ -105,7 +105,7 @@ "version_added": false }, "edge": { - "version_added": "79" + "version_added": "85" }, "firefox": { "version_added": false @@ -123,10 +123,10 @@ "version_added": false }, "safari": { - "version_added": "13.1" + "version_added": false }, "safari_ios": { - "version_added": "13.4" + "version_added": false }, "samsunginternet_android": { "version_added": false @@ -148,7 +148,7 @@ "support": { "chrome": [ { - "version_added": "72" + "version_added": "85" }, { "version_added": "69", @@ -176,7 +176,7 @@ "version_added": false }, "edge": { - "version_added": "79" + "version_added": "85" }, "firefox": { "version_added": false @@ -194,10 +194,10 @@ "version_added": false }, "safari": { - "version_added": "13.1" + "version_added": false }, "safari_ios": { - "version_added": "13.4" + "version_added": false }, "samsunginternet_android": { "version_added": false diff --git a/api/PictureInPictureWindow.json b/api/PictureInPictureWindow.json index 3d3e16ad72ad2d..69fe354da99253 100644 --- a/api/PictureInPictureWindow.json +++ b/api/PictureInPictureWindow.json @@ -4,32 +4,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -74,32 +51,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/height", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -145,32 +99,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/onresize", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -288,32 +219,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/width", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, diff --git a/api/_mixins/DocumentOrShadowRoot__Document.json b/api/_mixins/DocumentOrShadowRoot__Document.json index 5fa259d5356cca..e9b20323d6298c 100644 --- a/api/_mixins/DocumentOrShadowRoot__Document.json +++ b/api/_mixins/DocumentOrShadowRoot__Document.json @@ -448,32 +448,9 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/DocumentOrShadowRoot/pictureInPictureElement", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, From 936804f9798c8607889c45f831a611c112346ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 15:41:36 +0100 Subject: [PATCH 06/16] manually fix foo_event entries --- api/HTMLVideoElement.json | 58 ++++----------------------------- api/PictureInPictureWindow.json | 29 ++--------------- 2 files changed, 9 insertions(+), 78 deletions(-) diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index 95fde592936dab..c21a3150a3c282 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -195,32 +195,9 @@ "description": "enterpictureinpicture event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, @@ -377,32 +354,9 @@ "description": "leavepictureinpicture event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, diff --git a/api/PictureInPictureWindow.json b/api/PictureInPictureWindow.json index 69fe354da99253..ee999ad6e501f9 100644 --- a/api/PictureInPictureWindow.json +++ b/api/PictureInPictureWindow.json @@ -148,32 +148,9 @@ "description": "resize event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/resize_event", "support": { - "chrome": [ - { - "version_added": "72" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, From 0c2d189e128490b79b85258201eff217406111bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 15:49:07 +0100 Subject: [PATCH 07/16] Represent EnterPictureInPictureEvent->PictureInPictureEvent rename https://storage.googleapis.com/chromium-find-releases-static/618.html#618ec90b2829710535f3d41f8b61a787a43f13bc --- api/HTMLVideoElement.json | 12 ++-- api/PictureInPictureEvent.json | 123 +++++++++++++-------------------- 2 files changed, 54 insertions(+), 81 deletions(-) diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index c21a3150a3c282..0a657572b77792 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -355,13 +355,13 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event", "support": { "chrome": { - "version_added": "69" + "version_added": "85" }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "79" + "version_added": "85" }, "firefox": { "version_added": false @@ -373,7 +373,7 @@ "version_added": false }, "opera": { - "version_added": "56" + "version_added": "71" }, "opera_android": { "version_added": false @@ -740,13 +740,13 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", "support": { "chrome": { - "version_added": "69" + "version_added": "85" }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "79" + "version_added": "85" }, "firefox": { "version_added": false @@ -758,7 +758,7 @@ "version_added": false }, "opera": { - "version_added": "56" + "version_added": "71" }, "opera_android": { "version_added": false diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index 2c47325d6ae463..897e6eb0997066 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -10,32 +10,23 @@ }, { "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] + "version_removed": "85", + "alternative_name": "EnterPictureInPictureEvent" } ], "chrome_android": { "version_added": false }, - "edge": { - "version_added": "85" - }, + "edge": [ + { + "version_added": "85" + }, + { + "version_added": "69", + "version_removed": "85", + "alternative_name": "EnterPictureInPictureEvent" + } + ], "firefox": { "version_added": false }, @@ -45,9 +36,16 @@ "ie": { "version_added": false }, - "opera": { - "version_added": "56" - }, + "opera": [ + { + "version_added": "71" + }, + { + "version_added": "56", + "version_removed": "71", + "alternative_name": "EnterPictureInPictureEvent" + } + ], "opera_android": { "version_added": false }, @@ -81,32 +79,23 @@ }, { "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] + "version_removed": "85", + "alternative_name": "EnterPictureInPictureEvent" } ], "chrome_android": { "version_added": false }, - "edge": { - "version_added": "85" - }, + "edge": [ + { + "version_added": "85" + }, + { + "version_added": "69", + "version_removed": "85", + "alternative_name": "EnterPictureInPictureEvent" + } + ], "firefox": { "version_added": false }, @@ -116,9 +105,16 @@ "ie": { "version_added": false }, - "opera": { - "version_added": "56" - }, + "opera": [ + { + "version_added": "71" + }, + { + "version_added": "56", + "version_removed": "71", + "alternative_name": "EnterPictureInPictureEvent" + } + ], "opera_android": { "version_added": false }, @@ -146,37 +142,14 @@ "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent/pictureInPictureWindow", "support": { - "chrome": [ - { - "version_added": "85" - }, - { - "version_added": "69", - "version_removed": "72", - "flags": [ - { - "type": "preference", - "name": "enable-experimental-web-platform-features", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-surfaces-for-videos", - "value_to_set": "enabled" - }, - { - "type": "preference", - "name": "enable-picture-in-picture", - "value_to_set": "enabled" - } - ] - } - ], + "chrome": { + "version_added": "69" + }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "85" + "version_added": "69" }, "firefox": { "version_added": false From 022d8188055454669a4c56452bd89777c396950b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 15:53:03 +0100 Subject: [PATCH 08/16] Undo leavepictureinpicture event changes The events were originally fired, just with a plain Event and not the PictureInPictureEvent interface, which was then called EnterPictureInPictureEvent and used only for enterpictureinpicture. --- api/HTMLVideoElement.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index 0a657572b77792..c21a3150a3c282 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -355,13 +355,13 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event", "support": { "chrome": { - "version_added": "85" + "version_added": "69" }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "85" + "version_added": "79" }, "firefox": { "version_added": false @@ -373,7 +373,7 @@ "version_added": false }, "opera": { - "version_added": "71" + "version_added": "56" }, "opera_android": { "version_added": false @@ -740,13 +740,13 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", "support": { "chrome": { - "version_added": "85" + "version_added": "69" }, "chrome_android": { "version_added": false }, "edge": { - "version_added": "85" + "version_added": "79" }, "firefox": { "version_added": false @@ -758,7 +758,7 @@ "version_added": false }, "opera": { - "version_added": "71" + "version_added": "56" }, "opera_android": { "version_added": false From bbeedf4ae99c32be99817de278a0709832d7fa92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 15:58:20 +0100 Subject: [PATCH 09/16] Add ShadowRoot.pictureInPictureElement --- .../DocumentOrShadowRoot__Document.json | 3 +- .../DocumentOrShadowRoot__ShadowRoot.json | 49 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/api/_mixins/DocumentOrShadowRoot__Document.json b/api/_mixins/DocumentOrShadowRoot__Document.json index e9b20323d6298c..4fd8cd5aa120c5 100644 --- a/api/_mixins/DocumentOrShadowRoot__Document.json +++ b/api/_mixins/DocumentOrShadowRoot__Document.json @@ -446,7 +446,8 @@ }, "pictureInPictureElement": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/DocumentOrShadowRoot/pictureInPictureElement", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement", + "spec_url": "https://w3c.github.io/picture-in-picture/#documentorshadowroot-extension", "support": { "chrome": { "version_added": "69" diff --git a/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json b/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json index 49b18b6d66ffe0..ee9dc1e1276aee 100644 --- a/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json +++ b/api/_mixins/DocumentOrShadowRoot__ShadowRoot.json @@ -373,6 +373,55 @@ } } }, + "pictureInPictureElement": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/ShadowRoot/pictureInPictureElement", + "spec_url": "https://w3c.github.io/picture-in-picture/#documentorshadowroot-extension", + "support": { + "chrome": { + "version_added": "69" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "pointerLockElement": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/ShadowRoot/pointerLockElement", From 4ffb91a1a0a1ea96d15b928280b0407ad544717e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:05:25 +0100 Subject: [PATCH 10/16] add spec URLs --- api/Document.json | 2 ++ api/HTMLVideoElement.json | 4 ++++ api/PictureInPictureEvent.json | 1 + api/PictureInPictureWindow.json | 1 + 4 files changed, 8 insertions(+) diff --git a/api/Document.json b/api/Document.json index 4ef140191f2a5a..8eb3a16314733e 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4633,6 +4633,7 @@ "exitPictureInPicture": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/exitPictureInPicture", + "spec_url": "https://w3c.github.io/picture-in-picture/#document-extensions", "support": { "chrome": { "version_added": "69" @@ -8557,6 +8558,7 @@ "pictureInPictureEnabled": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled", + "spec_url": "https://w3c.github.io/picture-in-picture/#document-extensions", "support": { "chrome": { "version_added": "69" diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index c21a3150a3c282..c1819f5de78593 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -50,6 +50,7 @@ "autoPictureInPicture": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/autoPictureInPicture", + "spec_url": "https://w3c.github.io/picture-in-picture/#htmlvideoelement-extensions", "support": { "chrome": { "version_added": false @@ -145,6 +146,7 @@ "disablePictureInPicture": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture", + "spec_url": "https://w3c.github.io/picture-in-picture/#htmlvideoelement-extensions", "support": { "chrome": { "version_added": "69" @@ -738,6 +740,7 @@ "onleavepictureinpicture": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", + "spec_url": "https://w3c.github.io/picture-in-picture/#htmlvideoelement-extensions", "support": { "chrome": { "version_added": "69" @@ -834,6 +837,7 @@ "requestPictureInPicture": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture", + "spec_url": "https://w3c.github.io/picture-in-picture/#htmlvideoelement-extensions", "support": { "chrome": { "version_added": "69" diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index 897e6eb0997066..b1e31569218292 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -3,6 +3,7 @@ "PictureInPictureEvent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent", + "spec_url": "https://w3c.github.io/picture-in-picture/#event-types", "support": { "chrome": [ { diff --git a/api/PictureInPictureWindow.json b/api/PictureInPictureWindow.json index ee999ad6e501f9..a2a1b52379e240 100644 --- a/api/PictureInPictureWindow.json +++ b/api/PictureInPictureWindow.json @@ -3,6 +3,7 @@ "PictureInPictureWindow": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow", + "spec_url": "https://w3c.github.io/picture-in-picture/#interface-picture-in-picture-window", "support": { "chrome": { "version_added": "69" From 93b61d838a6db79e5e1675a849a4687382fd848d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:07:11 +0100 Subject: [PATCH 11/16] add onenterpictureinpicture --- api/HTMLVideoElement.json | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index c1819f5de78593..6d5fa08b96d7e6 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -737,6 +737,55 @@ } } }, + "onenterpictureinpicture": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onenterpictureinpicture", + "spec_url": "https://w3c.github.io/picture-in-picture/#htmlvideoelement-extensions", + "support": { + "chrome": { + "version_added": "69" + }, + "chrome_android": { + "version_added": false + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "56" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": "13.1" + }, + "safari_ios": { + "version_added": "13.4" + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "onleavepictureinpicture": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/onleavepictureinpicture", From d8e2fa6340f9daf6ad6053ae872248a92bfecb62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:08:37 +0100 Subject: [PATCH 12/16] fix Edge versions --- api/PictureInPictureEvent.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index b1e31569218292..d43b350ef611e3 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -23,7 +23,7 @@ "version_added": "85" }, { - "version_added": "69", + "version_added": "79", "version_removed": "85", "alternative_name": "EnterPictureInPictureEvent" } @@ -92,7 +92,7 @@ "version_added": "85" }, { - "version_added": "69", + "version_added": "79", "version_removed": "85", "alternative_name": "EnterPictureInPictureEvent" } @@ -150,7 +150,7 @@ "version_added": false }, "edge": { - "version_added": "69" + "version_added": "79" }, "firefox": { "version_added": false From 4dfb30410a4cd5ed32d8d96d647958e5f9f5635a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:10:58 +0100 Subject: [PATCH 13/16] experimental: false --- api/Document.json | 2 +- api/HTMLVideoElement.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/Document.json b/api/Document.json index 8eb3a16314733e..bc24bf87fb7be9 100644 --- a/api/Document.json +++ b/api/Document.json @@ -8598,7 +8598,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index 6d5fa08b96d7e6..a02221f4350072 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -90,7 +90,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } @@ -186,7 +186,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } @@ -235,7 +235,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } @@ -394,7 +394,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } @@ -780,7 +780,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } @@ -829,7 +829,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } @@ -926,7 +926,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } From 012265d3e6965d65f87c88535f58054a96dec300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:12:40 +0100 Subject: [PATCH 14/16] Restore playsInline (merge gone wrong?) --- api/HTMLVideoElement.json | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index a02221f4350072..fe1b3d10ecd4e9 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -835,6 +835,53 @@ } } }, + "playsInline": { + "__compat": { + "support": { + "chrome": { + "version_added": "75" + }, + "chrome_android": { + "version_added": "75" + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "62" + }, + "opera_android": { + "version_added": "54" + }, + "safari": { + "version_added": "10" + }, + "safari_ios": { + "version_added": "10" + }, + "samsunginternet_android": { + "version_added": "11.0" + }, + "webview_android": { + "version_added": "75" + } + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "poster": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/poster", From 658d3244f919bf80f3a844214944d1cf97bd4dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:13:05 +0100 Subject: [PATCH 15/16] Restore poster versions (merge gone wrong?) --- api/HTMLVideoElement.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/HTMLVideoElement.json b/api/HTMLVideoElement.json index fe1b3d10ecd4e9..aac2f2cedb29b7 100644 --- a/api/HTMLVideoElement.json +++ b/api/HTMLVideoElement.json @@ -887,16 +887,16 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/poster", "support": { "chrome": { - "version_added": true + "version_added": "1" }, "chrome_android": { - "version_added": true + "version_added": "18" }, "edge": { "version_added": "12" }, "firefox": { - "version_added": "4" + "version_added": "3.6" }, "firefox_android": { "version_added": "4" @@ -908,7 +908,7 @@ "version_added": "10.5" }, "opera_android": { - "version_added": true + "version_added": "11" }, "safari": { "version_added": "3.1" @@ -917,10 +917,10 @@ "version_added": "2" }, "samsunginternet_android": { - "version_added": true + "version_added": "1.0" }, "webview_android": { - "version_added": true + "version_added": "1" } }, "status": { From 479dbf7a3385f4de83551d903297f36a81e6c245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Mar 2021 16:16:18 +0100 Subject: [PATCH 16/16] Represent EnterPictureInPictureEvent support in Safari --- api/PictureInPictureEvent.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/api/PictureInPictureEvent.json b/api/PictureInPictureEvent.json index d43b350ef611e3..a60080f6e8ceed 100644 --- a/api/PictureInPictureEvent.json +++ b/api/PictureInPictureEvent.json @@ -51,10 +51,12 @@ "version_added": false }, "safari": { - "version_added": false + "version_added": "13.1", + "alternative_name": "EnterPictureInPictureEvent" }, "safari_ios": { - "version_added": false + "version_added": "13.4", + "alternative_name": "EnterPictureInPictureEvent" }, "samsunginternet_android": { "version_added": false @@ -120,10 +122,12 @@ "version_added": false }, "safari": { - "version_added": false + "version_added": "13.1", + "alternative_name": "EnterPictureInPictureEvent" }, "safari_ios": { - "version_added": false + "version_added": "13.4", + "alternative_name": "EnterPictureInPictureEvent" }, "samsunginternet_android": { "version_added": false @@ -168,10 +172,10 @@ "version_added": false }, "safari": { - "version_added": false + "version_added": "13.1" }, "safari_ios": { - "version_added": false + "version_added": "13.4" }, "samsunginternet_android": { "version_added": false