mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +00:00
[JSCRIPT_WINETEST] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
8dba275bd6
commit
e68a367aa6
6 changed files with 13 additions and 37 deletions
|
@ -294,6 +294,7 @@ obj = new Date();
|
|||
ok(!obj.hasOwnProperty('getTime'), "obj.hasOwnProperty('getTime') is true");
|
||||
ok(!Date.hasOwnProperty('getTime'), "Date.hasOwnProperty('getTime') is true");
|
||||
ok(Date.prototype.hasOwnProperty('getTime'), "Date.prototype.hasOwnProperty('getTime') is false");
|
||||
ok(!("now" in Date), "now found in Date");
|
||||
|
||||
obj = new Number();
|
||||
ok(!obj.hasOwnProperty('toFixed'), "obj.hasOwnProperty('toFixed') is true");
|
||||
|
@ -908,6 +909,8 @@ arr = [,,,,,];
|
|||
tmp = arr.pop();
|
||||
ok(arr.length === 5, "arr.length = " + arr.length);
|
||||
ok(tmp === undefined, "tmp = " + tmp);
|
||||
tmp = [1,2,,,].pop();
|
||||
ok(tmp === undefined, "tmp = " + tmp);
|
||||
|
||||
function PseudoArray() {
|
||||
this[0] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue