mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 06:29:43 +00:00
LibWeb: Adapt the parsing of script elements to accommodate TrustedTypes
This commit is contained in:
parent
f7c05013c7
commit
82f56e30ed
Notes:
github-actions[bot]
2025-09-16 08:58:34 +00:00
Author: https://github.com/tete17
Commit: 82f56e30ed
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6058
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue