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

Confirmed Issue #13415427 • Assigned to Irfan A.

Details

Author
V S.
Created
Aug 24, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
41.16273
Reports
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):
https://bugs.chromium.org/p/chromium/issues/detail?id=36400

Attachments

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”

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

Sign in