mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +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
|
|
@ -36,6 +36,8 @@ class WaiveXrayWrapper : public js::CrossCompartmentWrapper {
|
|||
JS::MutableHandle<JSObject*> objp) const override;
|
||||
virtual bool nativeCall(JSContext* cx, JS::IsAcceptableThis test,
|
||||
JS::NativeImpl impl, const JS::CallArgs& args) const override;
|
||||
virtual bool hasInstance(JSContext* cx, JS::HandleObject wrapper,
|
||||
JS::MutableHandleValue v, bool* bp) const override;
|
||||
virtual bool getPropertyDescriptor(JSContext* cx, JS::Handle<JSObject*> wrapper,
|
||||
JS::Handle<jsid> id,
|
||||
JS::MutableHandle<JS::PropertyDescriptor> desc) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue