[fx][core][js] WebExtension: merge with 0053e9898b