mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
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:
parent
8dcab69779
commit
84fe8d675b
Notes:
github-actions[bot]
2024-10-31 09:47:17 +00:00
Author: https://github.com/gmta
Commit: 84fe8d675b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2036
Reviewed-by: https://github.com/tcl3
12 changed files with 174 additions and 7 deletions
11
Tests/LibWeb/Text/expected/HTML/HTMLOrSVGElement-nonce.txt
Normal file
11
Tests/LibWeb/Text/expected/HTML/HTMLOrSVGElement-nonce.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
generic IDL and attribute interaction
|
||||
nonce: "" attribute: null;
|
||||
nonce: "123" attribute: null;
|
||||
nonce: "456" attribute: 456;
|
||||
nonce: "null" attribute: 456;
|
||||
insertion
|
||||
nonce: "foo" attribute: foo;
|
||||
nonce: "foo" attribute: ;
|
||||
cloning
|
||||
nonce: "bar" attribute: bar;
|
||||
nonce: "bar" attribute: bar;
|
Loading…
Add table
Add a link
Reference in a new issue