when an extension is reloaded, its content scripts should replace its previous content scripts

Confirmed Issue #13415427 • Assigned to Mahesh J.


V S.
Aug 24, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce: reload an extension that uses content scripts (example attached)
Expected: Content scripts event handlers are removed, message ports closed, its objects are GC’d, and the new content script is executed.
Got: Nothing happens, the content script keeps running until the tab is reloaded. Also, if no content script was running yet, none is executed.

Firefox implements this:
https://bugzilla.mozilla.org/show_bug.cgi?id=1273221 and others
Chrome does not (yet, I hope):


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi,

    Thank you for the submission.  The behavior you are seeing is per current design.  We will consider this for future modification and will leave the ticket open.

    Appreciate the support,

    The MS Edge Team

  • Microsoft Edge Team

    Changed Assigned To to “Akshay P.”

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

    Changed Status to “Confirmed”

    Changed Assigned To from “Irfan A.” to “Mahesh J.”

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

Sign in