aboutsummaryrefslogtreecommitdiffstats
path: root/console/harness/doneprintHandle.js
diff options
context:
space:
mode:
Diffstat (limited to 'console/harness/doneprintHandle.js')
-rw-r--r--console/harness/doneprintHandle.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/console/harness/doneprintHandle.js b/console/harness/doneprintHandle.js
new file mode 100644
index 000000000..317aa9c4e
--- /dev/null
+++ b/console/harness/doneprintHandle.js
@@ -0,0 +1,10 @@
+function __consolePrintHandle__(msg){
+ print(msg);
+}
+
+function $DONE(){
+ if(arguments.length === 0)
+ __consolePrintHandle__('Test262:AsyncTestComplete');
+ else
+ __consolePrintHandle__('Error: ' + arguments[0]);
+} \ No newline at end of file