mirror of
https://github.com/roytam1/mozilla45esr.git
synced 2026-05-26 15:11:09 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user