Port onDisconnect event is not fired if the port was created from an Extension Page

Issue #19011773 • Assigned to Mahesh J.

Details

Author
Giorgiana P.
Created
Sep 17, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
17.17134
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps:
1.Load the attached extension
2.Inspect the background page
3.Open the options page
4.Close the options page

Expected result:
You should see the connected and disconnected messages in the console.

Actual result:
Only the connected message is displayed.

In Chrome (68) and Firefox (62) the onDisconnect event is triggered when the options page is closed.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Mahesh J.”

You need to sign in to your Microsoft account to add a comment.

Sign in