mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
partly import changes from tenfourfox:
- #482: better bidi M1358275 M1392181 M1428774 + backbugs (e88a717ab) - M1739352 M1732572(partial) M1717318(partial) M1586061 (03ffdeadb) - M1737515 M1737470(no tests) +TLDs, tzdata (fd2b82f13)
This commit is contained in:
parent
5b0d1f871a
commit
34231f343b
10 changed files with 311 additions and 278 deletions
|
|
@ -258,6 +258,9 @@ public:
|
|||
{
|
||||
JSXrayTraits& self = JSXrayTraits::singleton;
|
||||
JS::RootedObject holder(cx, self.ensureHolder(cx, wrapper));
|
||||
if (!holder) {
|
||||
return false;
|
||||
}
|
||||
if (self.getProtoKey(holder) == JSProto_Function)
|
||||
return baseInstance.call(cx, wrapper, args);
|
||||
|
||||
|
|
@ -274,6 +277,9 @@ public:
|
|||
JS::MutableHandleObject protop)
|
||||
{
|
||||
JS::RootedObject holder(cx, ensureHolder(cx, wrapper));
|
||||
if (!holder) {
|
||||
return false;
|
||||
}
|
||||
JSProtoKey key = getProtoKey(holder);
|
||||
if (isPrototype(holder)) {
|
||||
JSProtoKey protoKey = js::InheritanceProtoKeyForStandardClass(key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue