Ah you’ve stumbled across a bug I filed with Mozilla a few months ago but wasn’t able to follow up on for lack of time (it’s not my primary browser and I’m not a web dev primarily):
https://bugzilla.mozilla.org/show_bug.cgi?id=1448682I encourage affected people to follow up on bugzilla.