browser.runtime.addMessageListener() breaks communication between background script and content script

Confirmed Issue #13597331 • Assigned to Irfan A.

Details

Author
vivek s.
Created
Sep 6, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce the issue:

  1. Extract this zip file
  2. Install this extension by selecting this extracted folder (enter “about:flags” url to enable extension developer features)
  3. It will open new tab
  4. Press F12 (this will open console)
  5. ‘bye’ will be printed repeatedly with 3 sec delay
  6. Now pull out the this tab from the window
  7. ‘undefined’ will be printed in console instead of ‘bye’

Attachments

Comments and activity

  • Note:- When we remove the below function browser.runtime.addMessageListener() - from the content script issue seems to be resolved

  • Win10 Version :- 1703 - 15063.540
    Edge version :- 40.15063.0.0

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Akshay P.”

    Changed Assigned To from “Akshay P.” to “Irfan A.”

    Changed Status to “Confirmed”

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

Sign in