Update web-platform-tests to revision b'b6f6bf16fe6069aed53d28af86a79b8ff4963844'

This commit is contained in:
WPT Sync Bot 2023-02-15 01:36:04 +00:00
parent 0720f4f736
commit 8bfdc02dd8
590 changed files with 11442 additions and 3709 deletions

View file

@ -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,