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.
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.”
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.
The MS Edge Team