Chrome.tabs is 'undefined' when referenced from Edge Extension's popup page.

Not reproducible Issue #9279843


Leon Z.
Oct 10, 2016
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

Create an Edge extension. Make sure it has “tabs” permission. In the page that is set as “default_popup” try and reference chrome.tabs. It will always be undefined, making it impossible to interact with the tabs.


0 attachments

    Comments and activity

    • I noticed ‘browser.tabs’ does have a value and can be used. So it seems there’s a difference between the ‘browser.tabs’ and ‘chrome.tabs’ APIs. Should there be?

    • I noticed some extensions adding this line, which seems to solve the problem:

      if (typeof chrome.runtime === "undefined") chrome = browser;
    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To from “Brad E.” to “Akshay P.”

      Changed Assigned To from “Akshay P.” to “Mohit R.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Not reproducible”

      Changed Assigned To to “Vasanth C.”

    • Hello,

      Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge. Please test this behavior in our latest insider build 15063.

      Best Wishes,

      The MS Edge Team

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

    Sign in