fixes #17159
build js
given this could potentially be a bc break for some users, should we mention this change in the developer changelog?
guess that makes sense. will add it to the changelog
Actually I misread the PR, it doesn't need an entry in the developer changelog. I'll remove it and merge.