servo/components/script/dom/bindings/codegen
Gae24 5ba8054b69
refactor CGClassConstructHook to use handwritten constructors (#33614)
* extract generated class constructor hook into handwritten functions

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* downcast to window only when it's actually used

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* simplify downcast

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* rename htmlconstructor to constructor, include call_default_constructor in it

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

---------

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
2024-10-09 12:33:44 +00:00
..
api.html.template Generate a list of supported DOM APIs from parsed WebIDLs. 2016-07-15 18:13:09 -04:00
apis.html.template Generate a list of supported DOM APIs from parsed WebIDLs. 2016-07-15 18:13:09 -04:00
Bindings.conf Replace CanGc::note() calls with arguments in components/script/dom (#33692) 2024-10-08 12:58:09 +00:00
CodegenRust.py refactor CGClassConstructHook to use handwritten constructors (#33614) 2024-10-09 12:33:44 +00:00
Configuration.py Propagate CanGc from Document::new() (#33386) 2024-09-09 22:38:01 +00:00
interface.html.template Generate a list of supported DOM APIs from parsed WebIDLs. 2016-07-15 18:13:09 -04:00
property.html.template Generate a list of supported DOM APIs from parsed WebIDLs. 2016-07-15 18:13:09 -04:00
run.py Revert "script: implement AbortController (#31361)" (#32243) 2024-05-07 06:23:14 +00:00