mirror of https://github.com/tc39/test262.git
*NOTE: this is a work-in-progress. Need to remove our dependency on a separate 'GlobalScope'
directory next* SputnikConverter: - ES5TestCase.cs * Case of JSON-based property names was wrong. Fixed * Use the tests' 'id' instead of 'path' as the GlobalScopeTests keys * Added 'id' and 'path' as Global Scope test metadata. The correct/clean solution here is to simply use 'path' as the key to GlobalScopeTests, but this refactoring needs to be undertaken later when we can convert the 'normal' test cases over to use 'path' as the key as well * Turns out we cannot depend on the message received by window.onerror to have some form of "syntax" contained within it. Instead, we'll just rely on the regular expression ".", matches any one character, for the short term - SputnikTestCase.cs * Same case issue as for ES5TestCases.cs * Don't trust the Sputnik metadata for the ES5 section name or even test case id to be correct. Instead, generate this information from the file path of the test case TestCasePackager.py: - added a new global, GLOBAL_SCOPE_FILES, which is a list of JS files found directly under test\suite\*.js which include metadata for so-called globally scoped tests. These files are imported directly by the HTML test harness test\suite\*: - regenerated Sputnik tests based on new converter default.html: - import SputnikGlobalScope.js. Really TestCasePackager.py should generate the global scope imports to default.html automatically... website\resources\scripts\testcases\*: - test cases have shuffled from existing *.json files into globalscope.json
This commit is contained in:
parent
06e62f878b
commit
545f2c34a0
|
@ -91,6 +91,7 @@ function BrowserRunner() {
|
||||||
// Set up some globals.
|
// Set up some globals.
|
||||||
win.testRun = testRun;
|
win.testRun = testRun;
|
||||||
win.testFinished = testFinished;
|
win.testFinished = testFinished;
|
||||||
|
win.iframeError = undefined;
|
||||||
//TODO: these should be moved to sta.js
|
//TODO: these should be moved to sta.js
|
||||||
win.SputnikError = SputnikError;
|
win.SputnikError = SputnikError;
|
||||||
win.$ERROR = $ERROR;
|
win.$ERROR = $ERROR;
|
||||||
|
@ -121,21 +122,55 @@ function BrowserRunner() {
|
||||||
doc.writeln("<script type='text/javascript'>" + PickledSimpleTestAPIs + "</script>");
|
doc.writeln("<script type='text/javascript'>" + PickledSimpleTestAPIs + "</script>");
|
||||||
|
|
||||||
|
|
||||||
// Write ES5Harness.registerTest and fnGlobalObject, which returns the global object, and the testFinished call.
|
|
||||||
doc.writeln("<script type='text/javascript'>ES5Harness = {};" +
|
//--Scenario 1: we're dealing with a global scope test case
|
||||||
"ES5Harness.registerTest = function(test) {" +
|
if (GlobalScopeTests[id]!==undefined) {
|
||||||
" var error;" +
|
var testDescrip = GlobalScopeTests[id];
|
||||||
" if(test.precondition && !test.precondition()) {" +
|
|
||||||
" testRun(test.id, test.path, test.description, test.test.toString(),typeof test.precondition !== 'undefined' ? test.precondition.toString() : '', 'fail', 'Precondition Failed');" +
|
//Add an error handler
|
||||||
" } else {" +
|
doc.writeln("<script type='text/javascript'>window.onerror = function(errorMsg, url, lineNumber) {window.iframeError = errorMsg;};" + "</script>");
|
||||||
" var testThis = test.strict===undefined ? window : undefined;" +
|
//Parse and execute the code
|
||||||
" try { var res = test.test.call(testThis); } catch(e) { res = 'fail'; error = e; }" +
|
doc.writeln("<script type='text/javascript'>try{" + code + "}catch(test262RuntimeError){window.iframeError=test262RuntimeError.message || \"None\";}</script>");
|
||||||
" var retVal = /^s/i.test(test.id) ? (res === true || typeof res === 'undefined' ? 'pass' : 'fail') : (res === true ? 'pass' : 'fail');" +
|
|
||||||
" testRun(test.id, test.path, test.description, test.test.toString(), typeof test.precondition !== 'undefined' ? test.precondition.toString() : '', retVal, error);" +
|
//validation
|
||||||
" }" +
|
if (testDescrip.negative!==undefined) { //An exception is expected
|
||||||
"}</script>" +
|
if (win.iframeError===undefined) { //no exception was thrown
|
||||||
"<script type='text/javascript'>" + code + "</script>" +
|
testRun(testDescrip.id, testDescrip.path, testDescrip.description, code, typeof testDescrip.precondition !== 'undefined' ? testDescrip.precondition.toString() : '',
|
||||||
"<script type='text/javascript'>testFinished();</script>")
|
'fail', 'No Exception Thrown');
|
||||||
|
} else if(! (new RegExp(testDescrip.negative, "i").test(win.iframeError))) { //wrong type of exception thrown
|
||||||
|
testRun(testDescrip.id, testDescrip.path, testDescrip.description, code, typeof testDescrip.precondition !== 'undefined' ? testDescrip.precondition.toString() : '',
|
||||||
|
'fail', 'Wrong Type of Exception Thrown');
|
||||||
|
} else {
|
||||||
|
testRun(testDescrip.id, testDescrip.path, testDescrip.description, code, typeof testDescrip.precondition !== 'undefined' ? testDescrip.precondition.toString() : '',
|
||||||
|
'pass', undefined);
|
||||||
|
}
|
||||||
|
} else if (win.iframeError!==undefined) { //Exception was not expected to be thrown
|
||||||
|
testRun(testDescrip.id, testDescrip.path, testDescrip.description, code, typeof testDescrip.precondition !== 'undefined' ? testDescrip.precondition.toString() : '',
|
||||||
|
'fail', 'Unexpected Exception');
|
||||||
|
} else {
|
||||||
|
testRun(testDescrip.id, testDescrip.path, testDescrip.description, code, typeof testDescrip.precondition !== 'undefined' ? testDescrip.precondition.toString() : '',
|
||||||
|
'pass', undefined);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//--Scenario 2: we're dealing with a normal positive(?) test case
|
||||||
|
else {
|
||||||
|
|
||||||
|
// Write ES5Harness.registerTest and fnGlobalObject, which returns the global object, and the testFinished call.
|
||||||
|
doc.writeln("<script type='text/javascript'>ES5Harness = {};" +
|
||||||
|
"ES5Harness.registerTest = function(test) {" +
|
||||||
|
" var error;" +
|
||||||
|
" if(test.precondition && !test.precondition()) {" +
|
||||||
|
" testRun(test.id, test.path, test.description, test.test.toString(),typeof test.precondition !== 'undefined' ? test.precondition.toString() : '', 'fail', 'Precondition Failed');" +
|
||||||
|
" } else {" +
|
||||||
|
" var testThis = test.strict===undefined ? window : undefined;" +
|
||||||
|
" try { var res = test.test.call(testThis); } catch(e) { res = 'fail'; error = e; }" +
|
||||||
|
" var retVal = /^s/i.test(test.id) ? (res === true || typeof res === 'undefined' ? 'pass' : 'fail') : (res === true ? 'pass' : 'fail');" +
|
||||||
|
" testRun(test.id, test.path, test.description, test.test.toString(), typeof test.precondition !== 'undefined' ? test.precondition.toString() : '', retVal, error);" +
|
||||||
|
" }" +
|
||||||
|
"}</script>" +
|
||||||
|
"<script type='text/javascript'>" + code + "</script>");
|
||||||
|
}
|
||||||
|
doc.writeln("<script type='text/javascript'>testFinished();</script>");
|
||||||
doc.close();
|
doc.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u0009x;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u000Bx;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u000Cx;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u0020x;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u00A0x;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
|
||||||
|
if (eval("'\u000Astr\u000Aing\u000A'") === "\u000Astr\u000Aing\u000A") {
|
||||||
|
$ERROR('#1: eval("\'\\u000Astr\\u000Aing\\u000A\'") === "\\u000Astr\\u000Aing\\u000A"');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
//CHECK#1
|
||||||
|
"
|
||||||
|
str
|
||||||
|
ing
|
||||||
|
";
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
|
||||||
|
if (eval("'\u000Dstr\u000Ding\u000D'") === "\u000Dstr\u000Ding\u000D") {
|
||||||
|
$ERROR('#1: eval("\'\\u000Dstr\\u000Ding\\u000D\'") === "\\u000Dstr\\u000Ding\\u000D"');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
//CHECK#1
"
str
ing
";
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
|
||||||
|
if (eval("'\u2028str\u2028ing\u2028'") === "\u2028str\u2028ing\u2028") {
|
||||||
|
$ERROR('#1: eval("\'\\u2028str\\u2028ing\\u2028\'") === "\\u2028str\\u2028ing\\u2028"');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
|
||||||
|
if (eval("'\u2029str\u2029ing\u2029'") === "\u2029str\u2029ing\u2029") {
|
||||||
|
$ERROR('#1: eval("\'\\u2029str\\u2029ing\\u2029\'") === "\\u2029str\\u2029ing\\u2029"');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("// single line \u000A comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("//\u000A single line comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
|
||||||
|
//single
|
||||||
|
line comment
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("// single line \u000D comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("//\u000D single line comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
//single
line comment
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("// single line \u2028 comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("//\u2028 single line comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("// single line \u2029 comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
// CHECK#1
eval("//\u2029 single line comment");
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u000Ax;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u000Dx;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u2028x;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var\u2029x;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
/*CHECK#1/
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
/*CHECK#1*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
var
|
||||||
|
|
||||||
|
/* x */
|
||||||
|
= 1;
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
/*CHECK#1*/
|
||||||
|
|
||||||
|
/* var*/
|
||||||
|
x*/
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
/*CHECK#1*/
|
||||||
|
|
||||||
|
// var /*
|
||||||
|
x*/
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
null = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
true = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
false = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
break = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
for = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
function = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
if = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
in = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
instanceof = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
new = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
return = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
switch = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
this = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
throw = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
case = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
try = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
typeof = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
var = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
void = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
while = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
with = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
catch = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
continue = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
default = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
delete = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
do = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
else = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
finally = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
abstract = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
export = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
extends = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
final = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
float = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
goto = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
implements = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
import = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
int = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
interface = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
long = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
boolean = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
native = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
package = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
private = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
protected = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
public = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
short = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
static = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
super = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
synchronized = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
throws = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
byte = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
transient = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
volatile = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
char = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
class = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
const = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
debugger = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
double = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
enum = 1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
\u007B\u007D;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
1\u002F2;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
\u00281\u0029;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
\u005B\u005D;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
\u003B;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
x = 1;
|
||||||
|
this\u002Ex;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
1\u002C2;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
1\u002B2;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
1\u002D2;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
1\u002A2;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
// Converted for Test262 from original Sputnik source
|
||||||
|
|
||||||
|
//CHECK#1
|
||||||
|
e1
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue