mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 05:55:36 +02:00
Revise opera crash exclusions to exclude only the test that causes the crash
This commit is contained in:
parent
43b58c99d0
commit
5a935ed229
@ -1,8 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<excludeList>
|
<excludeList>
|
||||||
<test id="S10.4.2.1_A1">Opera crash - to be investigated</test>
|
<test id="S10.4.2.1_A1">Opera12pre-alpha1116 crash - to be investigated</test>
|
||||||
<test id="S15.3.4.5_A5">Opera crash - to be investigated</test>
|
|
||||||
<test id="S8.6.2_A8">Opera crash - to be investigated</test>
|
|
||||||
|
|
||||||
<test id="10.4.2-2-c-1">JS to JSON conversion issue</test>
|
<test id="10.4.2-2-c-1">JS to JSON conversion issue</test>
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ function construct(f, args) {
|
|||||||
var bound = Function.prototype.bind.apply(f, [null].concat(args));
|
var bound = Function.prototype.bind.apply(f, [null].concat(args));
|
||||||
return new bound();
|
return new bound();
|
||||||
}
|
}
|
||||||
var d = construct(Date, [1957, 5, 27]);
|
var d = construct(Date, [1957, 4, 27]);
|
||||||
if (Object.prototype.toString.call(d) !== '[object Date]') {
|
if (Object.prototype.toString.call(d) !== '[object Date]') {
|
||||||
$ERROR('Using the Date constructor via .bind did not create a Date.');
|
$ERROR('Using the Date constructor via .bind did not create a Date.');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user