Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix invalid video poster image loading from panicking #31447

Merged
merged 1 commit into from Feb 29, 2024

Conversation

sebsebmc
Copy link
Contributor

This fixes #31438. When an image is loaded from cache, it will load a placeholder if the url is not a valid image url. This may be unexpected when using the image cache and specifying UsePlaceholder::No but that has no effect on loading an image not in the cache.


  • There are tests for these changes OR
  • These changes do not require tests because ___

I didnt spot any WPT tests for this so maybe one needs to be made?

This fixed servo#31438. When an image is loaded from cache, it will
load a placeholder if the url is not a valid image url. This
may be unexpected when using the image cache and specifying
UsePlaceholder::No but that has no effect on loading an image
not in the cache.

Signed-off-by: Sebastian C <sebsebmc@gmail.com>
@mrobinson mrobinson added this pull request to the merge queue Feb 28, 2024
Merged via the queue into servo:main with commit 51b3313 Feb 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when poster attribute for video element cannot be loaded
2 participants