mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 688646 - Followup fix to make recent test changes feature-test for shell-only functionality. r=orange
This commit is contained in:
parent
66bf666abc
commit
7c296f5d20
@ -152,15 +152,17 @@ actual = F2.call(null);
|
||||
expect = F2.call();
|
||||
addThis();
|
||||
|
||||
/*
|
||||
* Function.prototype.call gets lexical globals, not caller globals
|
||||
*/
|
||||
status = inSection(11);
|
||||
actual = g2 = newGlobal('new-compartment');
|
||||
g2.eval("boundMethod = Function('return this');");
|
||||
expect = g2.boundMethod.call();
|
||||
addThis();
|
||||
|
||||
if (typeof newGlobal === "function")
|
||||
{
|
||||
/*
|
||||
* Function.prototype.call gets lexical globals, not caller globals
|
||||
*/
|
||||
status = inSection(11);
|
||||
actual = g2 = newGlobal('new-compartment');
|
||||
g2.eval("boundMethod = Function('return this');");
|
||||
expect = g2.boundMethod.call();
|
||||
addThis();
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user