Import WebIDL/Function.idl where TimerHandler uses Function, and let the bindings generator handle it through the normal callback-function path. This removes the special C++ mapping for Function and makes TimerHandler use GC::Root<CallbackType>, matching the generated binding type when IDL files are parsed together.
2 lines
88 B
Text
2 lines
88 B
Text
// https://webidl.spec.whatwg.org/#Function
|
|
callback Function = any (any... arguments);
|