After the update to Nightly 8.0a1 I'm finding the following in the error console.
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIJSON.decodeFromStream]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://adblockplus-modules/content/FilterListener.jsm :: <TOP_LEVEL> :: line 104" data: no]
Source File: chrome://adblockplus-modules/content/FilterListener.jsm
Line: 158
APB 1.3.10a 3090 Errors in Nightly 8.0a1
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
Confirmed: Seeing it here too.
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
I don't see it but I guess that the JSON parser simply got stricter (in which case this is a warning that is safe to ignore). Is that a one-time thing? I guess that it goes away once a new cache.js file is written.
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
Actually, I noticed that Ci.nsIJSON.encode() has been removed so the cache file will no longer be written. Too bad, that was the only way to work with JSON in the same way across all supported Firefox versions. I'll fix that later.
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
Turns out it was the same issue - cache.js file couldn't be saved and ended up having zero size. On next browser start it couldn't be read and produced the error message mentioned above.
Fixed: https://hg.adblockplus.org/adblockplus/rev/9b160984b5a9 (new development build will be available in 25 minutes). Nice side-effect: saving cache.js should be faster in Firefox 5 and higher now.
Fixed: https://hg.adblockplus.org/adblockplus/rev/9b160984b5a9 (new development build will be available in 25 minutes). Nice side-effect: saving cache.js should be faster in Firefox 5 and higher now.
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
Side note: I got an auto update for this dev build and that's a first for me. Has something changed? Or have I been missing out on something that always happened? I ask because I'm wondering if I had something wrong in my profile. Thanks
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
IceDogg, Firefox will only auto-update on browser restart, maybe that's the issue. Nothing changed recently, we've had auto-update for development builds for a long time by now.
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
Ok, I was just checking. I bet I haven't been patient enough to allow it to auto-update. I had been away from the PC for a couple of days and that must be what was different. Thanks.
Re: APB 1.3.10a 3090 Errors in Nightly 8.0a1
https://bugzilla.mozilla.org/show_bug.cgi?id=672063
Mozilla reimplemented nsJSON...
Mozilla reimplemented nsJSON...