mirror of https://github.com/tc39/test262.git
23 lines
403 B
JavaScript
23 lines
403 B
JavaScript
{0}
|
|
// Converted for Test262 from original Sputnik source
|
|
|
|
ES5Harness.registerTest( {{
|
|
id: "{1}",
|
|
|
|
path: "{2}",
|
|
|
|
description: "{3}",
|
|
|
|
test: function testcase() {{
|
|
try {{
|
|
(function() {{
|
|
{4} {5} }})();
|
|
}} catch (__e__) {{return true /* failure is success */}};
|
|
return false /* but success is failure */
|
|
}},
|
|
|
|
precondition: function precond() {{
|
|
{6}
|
|
}}
|
|
}});
|