platy
(Mike)
1
Are there any guidelines or considerations for using WebAssembly in WebExtensions? I’m also talking about having them published on AMO.
- Is all the WebExtension functionality available in each of the extension contexts?
- Is there anything to consider to help review apart from including the source and repeatable build instructions?
If you mean a webassembly context, no because there is no API exposed directly to webassembly (like you currently can’t directly access the DOM).
uBlock origin seems to have web assembly parts (uBlock/src/js/wasm at master · gorhill/uBlock · GitHub) which is mostly documented in the ways you’re describing. I don’t think there have been any updates regarding expectations toward web assembly sources specifically (see Source code submission | Firefox Extension Workshop )
platy
(Mike)
3
Great - I’ve got no reason not to give it a try then - Thanks!