mirror of
https://github.com/servo/servo.git
synced 2025-10-11 22:10:18 +01:00
Update web-platform-tests to revision c5dd38e18824f16f48b0c1703f43ff33359d9947
This commit is contained in:
parent
74e3a4b0c5
commit
ec9472572a
129 changed files with 2532 additions and 324 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue