mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 00:04:58 +00:00
LibWeb: Remove hacky old ways of running <script> element contents
Now that we're using the new HTML parser, we don't have to do the weird "run the script when inserted into the document, uhh, or when the text content of the script element changes" dance. Instead, we just follow the spec, and scripts run the way they should.
This commit is contained in:
parent
c33d17d363
commit
3a5af6ef61
3 changed files with 3 additions and 65 deletions
|
@ -36,9 +36,6 @@ public:
|
|||
HTMLScriptElement(Document&, const FlyString& tag_name);
|
||||
virtual ~HTMLScriptElement() override;
|
||||
|
||||
virtual void inserted_into(Node&) override;
|
||||
virtual void children_changed() override;
|
||||
|
||||
bool is_non_blocking() const { return m_non_blocking; }
|
||||
bool is_ready_to_be_parser_executed() const { return m_ready_to_be_parser_executed; }
|
||||
bool failed_to_load() const { return m_failed_to_load; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue