Update web-platform-tests to revision c5dd38e18824f16f48b0c1703f43ff33359d9947

This commit is contained in:
WPT Sync Bot 2021-01-27 08:22:03 +00:00
parent 74e3a4b0c5
commit ec9472572a
129 changed files with 2532 additions and 324 deletions

View file

@ -403,6 +403,8 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
f = codecs.open('%s/%s%s.html' % (TESTOUTPUTDIR, mapped_name, name_variant), 'w', 'utf-8')
f.write(templates['w3c'] % template_params)
if ISOFFSCREENCANVAS:
timeout = '// META: timeout=%s\n' % test['timeout'] if 'timeout' in test else ''
template_params['timeout'] = timeout
f = codecs.open('%s/%s%s.worker.js' % (TESTOUTPUTDIR, mapped_name, name_variant), 'w', 'utf-8')
f.write(templates['w3cworker'] % template_params)