mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Align instanceof with the final ES6 spec.
This commit is contained in:
parent
254178f8e9
commit
becadd3588
11 changed files with 79 additions and 18 deletions
|
|
@ -482,6 +482,8 @@ class XrayWrapper : public Base {
|
|||
JS::AutoIdVector& props) const override;
|
||||
|
||||
virtual bool getBuiltinClass(JSContext* cx, JS::HandleObject wapper, js::ESClass* cls) const override;
|
||||
virtual bool hasInstance(JSContext* cx, JS::HandleObject wrapper,
|
||||
JS::MutableHandleValue v, bool* bp) const override;
|
||||
virtual const char* className(JSContext* cx, JS::HandleObject proxy) const override;
|
||||
|
||||
static const XrayWrapper singleton;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue