So this is no longer an issue since bug 1773264 was fixed in Firefox 103. But the current behavior is not WebDriver spec conforming as bug 1805146 shows. Nevertheless we can close this bug as fixed by bug 1805146.
Bug 1453779 Comment 14 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
So this is no longer an issue since bug 1773264 was fixed in Firefox 103. But the current behavior is not WebDriver spec conforming as bug 1805146 shows. Nevertheless we can close this bug as fixed by bug 1773264.