288.1 is a way less forgiving version compared to the previous ones. Make sure all your variables are defined, and that yout DOM references are valid. Though the previous versions would just ingore such issues, this one - and thats a good thing since we are forced to make our extensions stable & valid - will not, resulting in crashes.
I spent more than an hour debugging extensions after this release came out, and I was amazed so many things were not done right, still they just worked. What's frustrating is that there is no kind of pre-logging or any other way to debug those crashes. Still, you can alwaty apply the traditional "alert and return" methodology. Good luck. On Jan 10, 8:03 pm, Manticore <[email protected]> wrote: > Hi, > > I've been debugging my extension now for hours and haven't been able > to pinpoint the problem to a certain method or even file, thus making > it quite hard to describe the problem here. I'll try to describe as > detailed as I can. > > The crashings started after the dev updated from version 266 to 288.1. > The extension was working fully on the 266 version and hasn't been > changed since. > > I have tried disabling methods/features one after one to see if it > helps, and these are things that have helped (but didn't solve > totally): > - Removed a method that calls the background page from popup before > 'load' has fired. > - Removed 'unload' handler that calls a method in background page. > - Removed timers from background page. > - Removing sendRequest calls from bg. > > It's really hard to know why the extension is crashing as it just > disappears without any exceptions shown. Is there any log file saved > somewhere where I can read the exceptions? > > Are there any major (or minor, for that matter) changes to the > extension system between 266 to 288.1? > > Another weird behavior is that sometimes when my extension crashes, > another (to me random) extension crashes too. > > The extension I'm talking about > is:https://chrome.google.com/extensions/detail/hgjdhckebbdoobhniheihpdog... > > I realize I'm very diffuse here, but I will appreciate any help I can > get.
-- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
