Closed Bug 1502726 Opened 5 years ago Closed 5 years ago
.browser and window .chrome are undefined in content script
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: In content script of any extension the objects chrome and browser are defined. But window.chrome and window.browser are undefined. Expected results: window.chrome should be defined and equal to chrome, window.browser should be equal to browser.
oops, sorry I completely misunderstood.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → DUPLICATE
Component: Untriaged → General
Product: Firefox → WebExtensions
You need to log in before you can comment on or make changes to this bug.