Browse Source

Add manually enabled hack to promise testing

pull/1904/head
Sami Vaarala 7 years ago
parent
commit
a2ac6bb4db
  1. 4
      util/runtest.py

4
util/runtest.py

@ -429,6 +429,10 @@ def prepare_ecmascript_testcase(data, meta):
if meta.get('use_strict', False): if meta.get('use_strict', False):
data = "'use strict'; " + data data = "'use strict'; " + data
# Manually enabled Promise hack.
if False:
data = data + '\n' + "if (typeof Promise === 'function' && typeof Promise.runQueue === 'function') { Promise.runQueue(); }"
return data return data
# Similar preparation for API testcases. # Similar preparation for API testcases.

Loading…
Cancel
Save