MozillaZine

Inline installation of web extensions - firefox

Talk about add-ons and extension development.
nakul_ojha
 
Posts: 1
Joined: August 3rd, 2017, 6:33 am

Post Posted August 3rd, 2017, 6:44 am

I have created a web extension and trying to install it using installTrigger. But it always gives "corrupt extension" error with following error in browser console.

1501766965319 addons.xpi WARN Download of https://<SERVER>/m/forget_it-2.1-an+fx.xpi failed: [Exception... "Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [nsIZipReader.open]" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: loadManifest/< :: line 5671" data: no] Stack trace: loadManifest/<()@resource://gre/modules/addons/XPIProvider.jsm:5671 < TaskImpl_run()@resource://gre/modules/Task.jsm:319 < TaskImpl()@resource://gre/modules/Task.jsm:277 < createAsyncFunction/asyncFunction()@resource://gre/modules/Task.jsm:252 < Task_spawn()@resource://gre/modules/Task.jsm:166 < loadManifest()@resource://gre/modules/addons/XPIProvider.jsm:5667 < onStopRequest()@resource://gre/modules/addons/XPIProvider.jsm:6493


Please help.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 4 guests