LibWeb: Implement HTMLOrSVGElement.nonce

There are two FIXMEs remaining that depend on a functional
PolicyContainer, which we ignore for now and always behave like a CSP is
set.
This commit is contained in:
Jelle Raaijmakers 2024-10-29 13:27:01 +01:00
commit 84fe8d675b
Notes: github-actions[bot] 2024-10-31 09:47:17 +00:00
12 changed files with 174 additions and 7 deletions

View file

@ -1,7 +1,7 @@
// https://html.spec.whatwg.org/#htmlorsvgelement
interface mixin HTMLOrSVGElement {
[SameObject] readonly attribute DOMStringMap dataset;
[FIXME] attribute DOMString nonce; // intentionally no [CEReactions]
attribute DOMString nonce; // intentionally no [CEReactions]
[CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute long tabIndex;