Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Apr 18, 2022

Fixed #23906.

Description

Only use ImageBitmapLoader when the version of Firefox is => 98.

Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't we have code in ImageBitmapLoader to feature-detect support, at one point? Did that just not work because failure cases in Firefox were hard to detect?

Fine to keep UA-sniffing for now though, thanks!

Copy link
Collaborator

@takahirox takahirox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, if it's ok for others to add a version detection code, too, thanks.

Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏

@mrdoob mrdoob added this to the r140 milestone Apr 20, 2022
@mrdoob mrdoob merged commit 54e04e5 into mrdoob:dev Apr 20, 2022
@mrdoob
Copy link
Owner

mrdoob commented Apr 20, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…oob#23909)

* GLTFLoader: Honor Firefox version when checking for ImageBitmap.

* GLTFLoader: Clarify ImageBitmap check.

* GLTFLoader: Clean up.

* GLTFLoader: More clean up.
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.

ImageBitmapLoader (GLTFLoader) fails in Firefox ESR

4 participants