mirror of
https://github.com/servo/servo.git
synced 2025-10-17 08:49:21 +01:00
Update web-platform-tests to revision b'b6f6bf16fe6069aed53d28af86a79b8ff4963844'
This commit is contained in:
parent
0720f4f736
commit
8bfdc02dd8
590 changed files with 11442 additions and 3709 deletions
|
@ -304,12 +304,12 @@ def _generate_test(test: Mapping[str, str], templates: Mapping[str, str],
|
|||
|
||||
if is_offscreen_canvas:
|
||||
pathlib.Path(f'{test_path}.html').write_text(
|
||||
templates['w3coffscreencanvas'] % template_params, 'utf-8')
|
||||
templates['offscreen'] % template_params, 'utf-8')
|
||||
pathlib.Path(f'{test_path}.worker.js').write_text(
|
||||
templates['w3cworker'] % template_params, 'utf-8')
|
||||
templates['worker'] % template_params, 'utf-8')
|
||||
else:
|
||||
pathlib.Path(f'{test_path}.html').write_text(
|
||||
templates['w3ccanvas'] % template_params, 'utf-8')
|
||||
templates['element'] % template_params, 'utf-8')
|
||||
|
||||
|
||||
def genTestUtils(TESTOUTPUTDIR: str, IMAGEOUTPUTDIR: str, TEMPLATEFILE: str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue