vue-cli-plugin-browser-extension icon indicating copy to clipboard operation
vue-cli-plugin-browser-extension copied to clipboard

problem with standalone app in firefox browser

Open xerosanyam opened this issue 5 years ago • 3 comments

App fails to load in firefox, works okay in chrome.

In firefox console, getting chrome is not defined image

xerosanyam avatar Dec 25 '19 12:12 xerosanyam

after removing polyfills.. getting browser is not defined image

xerosanyam avatar Dec 25 '19 12:12 xerosanyam

maybe there's a scaffolding issue. The idea is that you should always have a polyfill (it's supposed to be a no-op in firefox) and always code around using the browser syntax, and not chrome. Which file is this error originating from?

adambullmer avatar Dec 27 '19 16:12 adambullmer

I have the same problem with the standalone. Works in Chrome but not in Safari or Firefox. Seems to be this line " module.exports = wrapAPIs(chrome);" in the browser-polyfill.js. Skärmavbild 2021-02-21 kl  13 00 29

kasslermedmos avatar Feb 21 '21 12:02 kasslermedmos