This bug happens because when we report deceptive site, the original website is closed. However, the website calls `setTimeout` to change its `window.location.href` before `unload`, the network request to the report website is then canceled. The url is set to the new URL in the `settimeout` function. POC is here: https://dimidl.github.io/bug/bug_1612533.html
Bug 1612533 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.
This bug happens because when we report deceptive site, Firefox tries to close the original website and then switch the [reporting page](https://safebrowsing.google.com/safebrowsing/report_phish/). However, the website calls `setTimeout` to change its `window.location.href` before unload (`onbeforeunload`), the network request to the reporting page is then canceled. The URL is set to the new URL in the `settimeout` function. POC is here: https://dimidl.github.io/bug/bug_1612533.html