Failed to pop up my extension transfered from Chrome to Edge, seems edge doesn't support chrome.debugger.attach.

Won’t fix Issue #18845415

Details

Author
shuqian l.
Created
Aug 30, 2018
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

I converted my local extension in Edge Extension Convertor Toolkit, following https://docs.microsoft.com/en-us/microsoft-edge/extensions/guides/porting-chrome-extensions. But after loading to Edge, it couldn’t be pop up. By debugging the background.js which has the pop up logic, got error below. Is it because we don’t support chrome.debugger? I didn’t find it in https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API.

Do we have an alternative solution to solve the issue?

Debug Error:
SCRIPT5007: Unable to get property ‘attach’ of undefined or null reference
background.js (6,3)

Code:
browser.browserAction.onClicked.addListener(function(tab) {
browser.debugger.attach({tabId:tab.id}, version,
onAttach.bind(null, tab.id));

browser.tabs.executeScript({file: "content.js"});
});

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mahesh J.”

      Changed Title from “Failed to pop up my extension transfered from Chrome to Edge, seems edge doesn't support chrome.debugger.attach.” to “Failed to pop up my extension transfered from Chrome to Edge, seems edge doesn't support chrome.debugger.attach.”

      Changed Status to “Won’t fix”

    • Hi Shuqian!

      Thank you for contacting us about this issue! We have resolved this issue as “Won’t Fix” because we
      have made a decision to scope bug fixing on the current Edge product to
      critical security and reliability issues, and the minimum necessary to service
      in-market customers (RS4 and RS5), in order to focus on high quality delivery
      of the new Edge
      based on open source
      .

      Zach

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

    Sign in