onerror seems not to be called in that case. I've update comment 0 with a full testcase that you can run on your own.
Bug 1594917 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
onerror seems not to be called in that case. I've updated comment 0 with a full testcase that you can run on your own.