From 47cd284cde66e3f08a158ec895af9d0db8d8fe4b Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sun, 19 Jun 2022 02:28:32 -0700 Subject: [PATCH 1/6] Demix securitypolicyviolation event from GlobalEventHandlers --- api/Document.json | 38 ++++++++++++++++++++++++++++++++++++ api/GlobalEventHandlers.json | 37 ----------------------------------- api/HTMLElement.json | 38 ++++++++++++++++++++++++++++++++++++ api/Window.json | 38 ++++++++++++++++++++++++++++++++++++ 4 files changed, 114 insertions(+), 37 deletions(-) diff --git a/api/Document.json b/api/Document.json index cca75069db73e4..84c9d39d2c2cf7 100644 --- a/api/Document.json +++ b/api/Document.json @@ -7019,6 +7019,44 @@ } } }, + "securitypolicyviolation_event": { + "__compat": { + "description": "securitypolicyviolation event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event", + "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation", + "support": { + "chrome": { + "version_added": "97" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "93" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "opera": "mirror", + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": "preview" + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "selectedStyleSheetSet": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/selectedStyleSheetSet", diff --git a/api/GlobalEventHandlers.json b/api/GlobalEventHandlers.json index 1075a3af499460..9671d6d3dbe52b 100644 --- a/api/GlobalEventHandlers.json +++ b/api/GlobalEventHandlers.json @@ -2890,43 +2890,6 @@ } } }, - "onsecuritypolicyviolation": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onsecuritypolicyviolation", - "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation", - "support": { - "chrome": { - "version_added": "97" - }, - "chrome_android": "mirror", - "edge": "mirror", - "firefox": { - "version_added": "93" - }, - "firefox_android": "mirror", - "ie": { - "version_added": false - }, - "opera": "mirror", - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": "preview" - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, "onseeked": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onseeked", diff --git a/api/HTMLElement.json b/api/HTMLElement.json index fe4c2270d3487e..f1cba56e5dfcb5 100644 --- a/api/HTMLElement.json +++ b/api/HTMLElement.json @@ -2231,6 +2231,44 @@ } } }, + "securitypolicyviolation_event": { + "__compat": { + "description": "securitypolicyviolation event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/securitypolicyviolation_event", + "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation", + "support": { + "chrome": { + "version_added": "97" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "93" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "opera": "mirror", + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": "preview" + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "spellcheck": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck", diff --git a/api/Window.json b/api/Window.json index 460995efe074e2..8538d71ca29564 100644 --- a/api/Window.json +++ b/api/Window.json @@ -5596,6 +5596,44 @@ } } }, + "securitypolicyviolation_event": { + "__compat": { + "description": "securitypolicyviolation event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/securitypolicyviolation_event", + "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation", + "support": { + "chrome": { + "version_added": "97" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "93" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "opera": "mirror", + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": "preview" + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": false + } + } + }, "self": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/self", From 20c97b033ce096a3783a073df34a784046e89ba8 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 7 Jul 2022 02:09:22 -0700 Subject: [PATCH 2/6] Add to WorkerGlobalScope (already exists on Document/Element) --- api/WorkerGlobalScope.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/api/WorkerGlobalScope.json b/api/WorkerGlobalScope.json index aa99235e04986e..84956204332944 100644 --- a/api/WorkerGlobalScope.json +++ b/api/WorkerGlobalScope.json @@ -422,6 +422,42 @@ } } }, + "securitypolicyviolation_event": { + "__compat": { + "description": "securitypolicyviolation event", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event", + "spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-securitypolicyviolation", + "support": { + "chrome": { + "version_added": "41" + }, + "chrome_android": "mirror", + "edge": { + "version_added": "15" + }, + "firefox": { + "version_added": "63" + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "10" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": false, + "standard_track": true, + "deprecated": true + } + } + }, "self": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self", From 7c6fff8f5fcef5aef9b65307faaecdee9e724132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 7 Jul 2022 14:12:24 +0200 Subject: [PATCH 3/6] Update HTMLElement.json --- api/HTMLElement.json | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/api/HTMLElement.json b/api/HTMLElement.json index 3525515bf95c4d..907d069e9559a1 100644 --- a/api/HTMLElement.json +++ b/api/HTMLElement.json @@ -2231,44 +2231,6 @@ } } }, - "securitypolicyviolation_event": { - "__compat": { - "description": "securitypolicyviolation event", - "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/securitypolicyviolation_event", - "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation", - "support": { - "chrome": { - "version_added": "97" - }, - "chrome_android": "mirror", - "edge": "mirror", - "firefox": { - "version_added": "93" - }, - "firefox_android": "mirror", - "ie": { - "version_added": false - }, - "opera": "mirror", - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": "preview" - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, "spellcheck": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck", From 1790ef7eef88b398cf43be75995a78cec4d7432d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 7 Jul 2022 14:12:53 +0200 Subject: [PATCH 4/6] Update Window.json --- api/Window.json | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/api/Window.json b/api/Window.json index ad5280b87cebe8..4f8a464b6c8ca0 100644 --- a/api/Window.json +++ b/api/Window.json @@ -5596,44 +5596,6 @@ } } }, - "securitypolicyviolation_event": { - "__compat": { - "description": "securitypolicyviolation event", - "mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/securitypolicyviolation_event", - "spec_url": "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation", - "support": { - "chrome": { - "version_added": "97" - }, - "chrome_android": "mirror", - "edge": "mirror", - "firefox": { - "version_added": "93" - }, - "firefox_android": "mirror", - "ie": { - "version_added": false - }, - "opera": "mirror", - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": "preview" - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, "self": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/self", From 89b3384ed9d77dbfb13060fbf2e2a7ad7cbcf08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 7 Jul 2022 14:14:39 +0200 Subject: [PATCH 5/6] Update Element.json --- api/Element.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/Element.json b/api/Element.json index 1829e591b8fc4b..c79fdecb443e71 100644 --- a/api/Element.json +++ b/api/Element.json @@ -5538,7 +5538,10 @@ "__compat": { "description": "securitypolicyviolation event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/Element/securitypolicyviolation_event", - "spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-securitypolicyviolation", + "spec_url": [ + "https://html.spec.whatwg.org/multipage/indices.html#event-securitypolicyviolation", + "https://html.spec.whatwg.org/multipage/webappapis.html#handler-onsecuritypolicyviolation" + ], "support": { "chrome": { "version_added": "41" From a37f662006f5f92f1b32ec62629829857d1539cf Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sun, 10 Jul 2022 05:42:04 -0700 Subject: [PATCH 6/6] Set Oculus to mirror --- api/Document.json | 1 + api/WorkerGlobalScope.json | 1 + 2 files changed, 2 insertions(+) diff --git a/api/Document.json b/api/Document.json index 15a06dcb8aa7c8..ae80e4421f15fc 100644 --- a/api/Document.json +++ b/api/Document.json @@ -7042,6 +7042,7 @@ "ie": { "version_added": false }, + "oculus": "mirror", "opera": "mirror", "opera_android": { "version_added": false diff --git a/api/WorkerGlobalScope.json b/api/WorkerGlobalScope.json index 3447740d77018c..55618848fc71b5 100644 --- a/api/WorkerGlobalScope.json +++ b/api/WorkerGlobalScope.json @@ -452,6 +452,7 @@ "ie": { "version_added": false }, + "oculus": "mirror", "opera": "mirror", "opera_android": "mirror", "safari": {