I am working on a webextension that will inject some ui in some pages. this ui will mostly be inside an iframe to better isolate css.
the problem I have is that I can do browser calls from inside the iframe scripts on chrome (I am also using webextension-polyfill) but in firefox I get browser is not defined error.
Am I missing something?
it seems like the errors I get are a firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1443253
a relevant comment on the bug page says