diff options
author | Moonchild <moonchild@palemoon.org> | 2021-04-19 20:47:29 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-04-19 20:47:29 +0000 |
commit | f3c4230348601056aea9b11b202e8f93821b5b3a (patch) | |
tree | efb7a26701e3adb1be0a57754ddf7bf6e4531b7e /dom/webidl/HTMLLinkElement.webidl | |
parent | a3a9680cef6c0dcc951f8a13937d82679053b25d (diff) | |
download | uxp-f3c4230348601056aea9b11b202e8f93821b5b3a.tar.gz |
[DOM] Add missing IDL definitions for CSP .nonce attributes.
Apparently Mozilla completely spaced out on this when adding the CSP nonce
mechanism, potentially causing web compat issues if scripting relies on
being able to get/set nonces through DOM and/or causing CSP policy check
issues if websites try to "hide" nonces.
Diffstat (limited to 'dom/webidl/HTMLLinkElement.webidl')
-rw-r--r-- | dom/webidl/HTMLLinkElement.webidl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/HTMLLinkElement.webidl b/dom/webidl/HTMLLinkElement.webidl index 4fa40d04d0..0089ab84e6 100644 --- a/dom/webidl/HTMLLinkElement.webidl +++ b/dom/webidl/HTMLLinkElement.webidl @@ -27,6 +27,8 @@ interface HTMLLinkElement : HTMLElement { [CEReactions, SetterThrows, Pure] attribute DOMString media; [CEReactions, SetterThrows, Pure] + attribute DOMString nonce; + [CEReactions, SetterThrows, Pure] attribute DOMString hreflang; [CEReactions, SetterThrows, Pure] attribute DOMString type; |