LibWeb: Adapt the parsing of script elements to accommodate TrustedTypes

This commit is contained in:
Tete17 2025-08-06 15:21:30 +02:00 committed by Jelle Raaijmakers
commit 82f56e30ed
Notes: github-actions[bot] 2025-09-16 08:58:34 +00:00
2 changed files with 6 additions and 0 deletions

View file

@ -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;