mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Fix javascriptcore test suite
This commit is contained in:
parent
3e94078793
commit
642fd306be
1 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,14 @@
|
|||
var output;
|
||||
try {
|
||||
delete this.console;
|
||||
delete this.console;
|
||||
delete this.setTimeout;
|
||||
delete this.setInterval;
|
||||
delete this.clearTimeout;
|
||||
delete this.clearInterval;
|
||||
delete this.setImmediate;
|
||||
delete this.clearImmediate;
|
||||
|
||||
result = program();
|
||||
if (typeof result == 'undefined' && result !== null) {
|
||||
print('["ok"]');
|
||||
|
|
Loading…
Reference in a new issue