1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibJS: Implement support for the [[IsHTMLDDA]] internal slot

Best regards from Annex B and document.all :^)
This commit is contained in:
Linus Groh 2021-06-20 17:08:29 +01:00
parent f2aa5efbeb
commit e9388408db
2 changed files with 15 additions and 0 deletions

View file

@ -110,6 +110,9 @@ public:
virtual bool is_native_function() const { return false; }
virtual bool is_lexical_environment() const { return false; }
// B.3.7 The [[IsHTMLDDA]] Internal Slot, https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
virtual bool is_htmldda() const { return false; }
virtual const char* class_name() const override { return "Object"; }
virtual void visit_edges(Cell::Visitor&) override;