Open Bug 1618821 Opened 4 years ago Updated 2 years ago

window.onUnload event not getting triggerd ( XMLHttpRequest not working ) and no debug options are not available for the unload,beforeunload

Categories

(Core :: DOM: Events, defect, P3)

73 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: akash.rk, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36

Steps to reproduce:

after removal of window.open() api support in window.onUnload() , we modified our code to perfom XMLHttpRequest on onUnload.

Actual results:

window.onUnload not getting triggered, debug options to verify also not available.
code working in chrome and IE latest version.

Expected results:

XMLHttpRequest should be completed.

Hi akash.rk,

Thanks for reporting this bug.

Could you share a test page so I can try to reproduce this issue on my end?

In the meantime, I'll add this ticket to the CoreDOM: Events component in the hope that someone with more expertise can take a look and investigate.

Regards,
Virginia

Component: Untriaged → DOM: Events
Flags: needinfo?(akash.rk)
Product: Firefox → Core

Dear reporter, as comment 1 suggested, a simple test case is a help to figure this issue out. Thanks.

Tried to reach out the reporter for further information, waiting on that. P3 for now.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.