mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Implement slot validation for HTMLScriptElement
This should be the last section missing in the TrustedType spec.
This commit is contained in:
parent
1d1182cad8
commit
901afee50b
Notes:
github-actions[bot]
2025-12-01 08:55:48 +00:00
Author: https://github.com/tete17
Commit: 901afee50b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6630
Reviewed-by: https://github.com/gmta ✅
6 changed files with 567 additions and 33 deletions
|
|
@ -92,6 +92,9 @@ private:
|
|||
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
|
||||
|
||||
// https://www.w3.org/TR/trusted-types/#prepare-script-text
|
||||
WebIDL::ExceptionOr<void> prepare_script_text();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#prepare-the-script-element
|
||||
void prepare_script();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue