diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-02-25 09:38:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 08:38:28 +0000 |
commit | c844ed232a86fef873dc661de60e282fdb86c0d3 (patch) | |
tree | c1d4afd298f68d88acf646036eaba67e412b13cf /components/script | |
parent | 864a5edb0b18f85937d351a0244942bed1b7227d (diff) | |
download | servo-c844ed232a86fef873dc661de60e282fdb86c0d3.tar.gz servo-c844ed232a86fef873dc661de60e282fdb86c0d3.zip |
servoshell: Fall back to PNG format when outputting an image (#35648)
A recent change, #35538 added the ability to dump different output image
formats. Unfortunately, this necessitated adding a file extension to the
output image for WPT tests. This had two problems:
1. The original change never landed properly in WPT for unknown reasons.
2. It interfered with the way that temporary files were cleaned up
during WPT runs.
This change modifies the image dumping code to fall back to PNG format
when there is no valid file extension on the output image and reverts
the change made to the WPT runner.
Fixes #35635.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions