mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Adapt the parsing of script elements to accommodate TrustedTypes
This commit is contained in:
committed by
Jelle Raaijmakers
parent
f7c05013c7
commit
82f56e30ed
Notes:
github-actions[bot]
2025-09-16 08:58:34 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/82f56e30edd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6058 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/gmta ✅
@@ -76,6 +76,8 @@ public:
|
||||
|
||||
virtual WebIDL::ExceptionOr<void> cloned(Node&, bool) const override;
|
||||
|
||||
void set_string_text(Utf16String const& value) { m_script_text = value; }
|
||||
|
||||
protected:
|
||||
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#implicitly-potentially-render-blocking
|
||||
virtual bool is_implicitly_potentially_render_blocking() const override;
|
||||
|
||||
Reference in New Issue
Block a user