Looks like you were right! There is a bug which was recently fixed. Explains why the current code didn't seem wrong to me :)
Bug 1713974 Comment 4 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Looks like you were right! There is a bug which was recently fixed. Explains why the current code didn't seem wrong to me :) Edit: this is fixed in Firefox 89, which was released last week.