mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibWeb: Implement slot validation for HTMLScriptElement
This should be the last section missing in the TrustedType spec.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
1d1182cad8
commit
901afee50b
Notes:
github-actions[bot]
2025-12-01 08:55:48 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/901afee50b7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6630 Reviewed-by: https://github.com/gmta ✅
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user