mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
JavaScript Test - change eval tests to work around anonfunfix, bug 356247
This commit is contained in:
parent
f49133d34f
commit
ab6818db3a
@ -59,7 +59,7 @@ function test()
|
||||
actual = f + '';
|
||||
compareSource(expect, actual, summary);
|
||||
|
||||
var g = eval(f + '');
|
||||
var g = eval('(' + f + ')');
|
||||
actual = g + '';
|
||||
compareSource(expect, actual, summary);
|
||||
|
||||
@ -68,7 +68,7 @@ function test()
|
||||
actual = f + '';
|
||||
compareSource(expect, actual, summary);
|
||||
|
||||
g = eval(f + '');
|
||||
g = eval('(' + f + ')');
|
||||
actual = g + '';
|
||||
compareSource(expect, actual, summary);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user