Skip to content

Commit

Permalink
Demix securitypolicyviolation event from GlobalEventHandlers (#16728)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Jul 14, 2022
1 parent fe66b60 commit 27a44d6
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 39 deletions.
39 changes: 39 additions & 0 deletions api/Document.json
Original file line number Diff line number Diff line change
Expand Up @@ -6443,6 +6443,45 @@
}
}
},
"securitypolicyviolation_event": {
"__compat": {
"description": "<code>securitypolicyviolation</code> 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
},
"oculus": "mirror",
"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",
Expand Down
5 changes: 4 additions & 1 deletion api/Element.json
Original file line number Diff line number Diff line change
Expand Up @@ -6138,7 +6138,10 @@
"__compat": {
"description": "<code>securitypolicyviolation</code> 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"
Expand Down
38 changes: 0 additions & 38 deletions api/GlobalEventHandlers.json
Original file line number Diff line number Diff line change
Expand Up @@ -1045,44 +1045,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
},
"oculus": "mirror",
"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
}
}
},
"onslotchange": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/GlobalEventHandlers/onslotchange",
Expand Down
37 changes: 37 additions & 0 deletions api/WorkerGlobalScope.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,43 @@
}
}
},
"securitypolicyviolation_event": {
"__compat": {
"description": "<code>securitypolicyviolation</code> 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
},
"oculus": "mirror",
"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",
Expand Down

0 comments on commit 27a44d6

Please sign in to comment.