1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-26 01:15:37 +00:00

[spidermonkey] window.self returns true

This commit is contained in:
Witold Filipczyk 2021-09-13 13:45:54 +02:00
parent fad6b38091
commit 186146f169

View File

@ -510,13 +510,9 @@ window_get_property_self(JSContext *ctx, unsigned int argc, JS::Value *vp)
#endif
JS::CallArgs args = CallArgsFromVp(argc, vp);
JS::RootedObject hobj(ctx, &args.thisv().toObject());
args.rval().setObject(*hobj);
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
#endif
return false;
return true;
}
static bool