mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix jsapi-test and jsreftest added by 28be8df0deb7 (r=burning)
This commit is contained in:
parent
c9e1bf13c0
commit
454b198b26
@ -1,7 +1,7 @@
|
||||
#include "tests.h"
|
||||
|
||||
JSPrincipals system_principals = {
|
||||
NULL, NULL, NULL, 1, NULL, NULL
|
||||
(char *)"", NULL, NULL, 1, NULL, NULL
|
||||
};
|
||||
|
||||
JSClass global_class = {
|
||||
|
@ -41,18 +41,19 @@ var summary = 'Array.apply maximum arguments';
|
||||
var actual = '';
|
||||
var expect = '';
|
||||
|
||||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
reportCompare(true, true, "");
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
if (getMaxArgs)
|
||||
if (this.getMaxArgs)
|
||||
test(getMaxArgs());
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
function test(length)
|
||||
{
|
||||
enterFunc ('test');
|
||||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
|
||||
|
||||
var a = new Array();
|
||||
a[length - 2] = 'length-2';
|
||||
|
Loading…
Reference in New Issue
Block a user