Revert "HACK: abort from further processing JSOP_SUPERBASE if allowSuperProperty() is false, fix accessing apple.com."

This reverts commit ff899a755e.
This commit is contained in:
2023-09-01 08:02:23 +08:00
parent b6f52f51cf
commit d7099fa2e8
-1
View File
@@ -3851,7 +3851,6 @@ END_CASE(JSOP_INITHOMEOBJECT)
CASE(JSOP_SUPERBASE)
{
JSFunction& superEnvFunc = GetSuperEnvFunction(cx, REGS);
if(!superEnvFunc.allowSuperProperty()) goto error;
MOZ_ASSERT(superEnvFunc.allowSuperProperty());
MOZ_ASSERT(superEnvFunc.nonLazyScript()->needsHomeObject());
const Value& homeObjVal = superEnvFunc.getExtendedSlot(FunctionExtended::METHOD_HOMEOBJECT_SLOT);