mirror of https://github.com/tc39/test262.git
Unlike the current sputnikLib.js, framework.js cannot define $ERROR
etc, because the substitution logic in test262.py operates on the source after prepending framework.js. The plan is to replace sputnikLib.js with framework.js. Also, the substitution logic in test262.py should probably be fixed to apply the substitution before prepending.
This commit is contained in:
parent
a2ca5b512b
commit
77450b53f2
|
@ -17,17 +17,6 @@ function testPrint(message) {
|
|||
|
||||
}
|
||||
|
||||
function $PRINT(message) {
|
||||
testPrint(message);
|
||||
}
|
||||
function $INCLUDE(message) { }
|
||||
function $ERROR(message) {
|
||||
testFailed(message);
|
||||
}
|
||||
function $FAIL(message) {
|
||||
testFailed(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* It is not yet clear that runTestCase should pass the global object
|
||||
* as the 'this' binding in the call to testcase.
|
||||
|
|
Loading…
Reference in New Issue