mirror of
https://github.com/servo/servo.git
synced 2025-06-17 12:54:28 +00:00
It's now set through the intermediate InterfaceConstructorBehavior structure, which lets us improve the abstraction around NonCallbackInterfaceObjectClass a bit better. When the interface's constructor is supposed to always throw, the error for calling `Foo()` without new is "Illegal constructor.". when the interface actually defines an interface, the error is instead "This constructor needs to be called with `new`.". |
||
---|---|---|
.. | ||
codegen | ||
callback.rs | ||
cell.rs | ||
conversions.rs | ||
error.rs | ||
global.rs | ||
inheritance.rs | ||
interface.rs | ||
js.rs | ||
mod.rs | ||
num.rs | ||
proxyhandler.rs | ||
refcounted.rs | ||
reflector.rs | ||
str.rs | ||
structuredclone.rs | ||
trace.rs | ||
utils.rs | ||
weakref.rs | ||
xmlname.rs |