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;
|
var output;
|
||||||
try {
|
try {
|
||||||
delete this.console;
|
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();
|
result = program();
|
||||||
if (typeof result == 'undefined' && result !== null) {
|
if (typeof result == 'undefined' && result !== null) {
|
||||||
print('["ok"]');
|
print('["ok"]');
|
||||||
|
|
Loading…
Add table
Reference in a new issue