mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibWeb: Check if scripting is disabled before running script
This is not a full check, it's just enough to prevent script execution in DOMParser.
This commit is contained in:
parent
ce314c54bd
commit
0ea50d44bf
3 changed files with 13 additions and 1 deletions
|
@ -163,6 +163,8 @@ public:
|
|||
|
||||
bool is_host_including_inclusive_ancestor_of(const Node&) const;
|
||||
|
||||
bool is_scripting_disabled() const;
|
||||
|
||||
// Used for dumping the DOM Tree
|
||||
void serialize_tree_as_json(JsonObjectSerializer<StringBuilder>&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue