I'm trying to port a Chrome extension Firefox add-on using the WebExtensions API . In chrome extension I am using
src: url('chrome-extension://__MSG_@@extension_id__/css/fonts/webFonts/font-awesome/fontawesome-webfont.eot?v=4.5.0');
to include fonts. What should I use in Firefox WebExtension?
Since I can't use browser.extension.getURL() in a CSS file, how can I use @font-face with a local font file?