NS_ERROR_IN_PROGRESS error in netCacheReader.js #8003

Closed
umanamente opened this Issue Mar 23, 2016 · 11 comments

Projects

None yet

5 participants

@umanamente

I have tons of NS_ERROR_IN_PROGRESS messages in my console:

NS_ERROR_IN_PROGRESS: Component returned failure code: 0x804b000f (NS_ERROR_IN_PROGRESS) [nsICacheEntry.dataSize] 

In netCacheReader.js:307:0

I have Firefox 45.0.1 (also occured in previous versions)

@janodvarko
Member

What Firebug version do you use?
Honza

@umanamente

2.0.15 (latest)

@markusp72

+1
FB 2.0.16
FF 45.0.1

@lserni
lserni commented Apr 2, 2016

Same versions as markusp72, same symptoms. They disappear if I either disable the browser cache, or the whole Network tab altogether.

The exact error says,
NS_ERROR_IN_PROGRESS: Component returned failure code: 0x804b000f (NS_ERROR_IN_PROGRESS) [nsICacheEntry.dataSize]

and is reported in netCacheReader.js at line 307 (where it does actually attempt to access descriptor.datasize).

@lserni
lserni commented Apr 13, 2016

I have wrapped the assignment in netCacheReader.js inside a try block, and the error has disappeared.

Of course I had to set extension signature checking to false, or Firefox would have rejected the tampered package (this also means that the error will reappear in Firefox v47 when the signature checking will be made mandatory).

@janodvarko
Member

Can you send PR?

Honza

@lserni
lserni commented May 8, 2016

I'm really sorry, Honza. I thought I had signed up for notifications but somehow yours never did reach me. I'm not too conversant with git or github, so I can't quickly whip up a pull request. However the modification I did was in

firebug/extension/content/firebug/net/netCacheReader.js

where I changed

value: descriptor.dataSize

in line 307 with

value: descriptorDataSize

then, at line 290, I declared descriptorDataSize and assigned it descriptior.dataSize within a try block, setting it to zero in case of failure. Funnily enough, I did not see that zero pop up anywhere - it's just as if the code was executed twice, the first time throwing an error, the second time filling in the expected values. But understand that I haven't debugged it at all, this is only my impression.

@janodvarko janodvarko self-assigned this May 9, 2016
@janodvarko
Member

Thanks for the update!

Patch committed.

Honza

@janodvarko janodvarko closed this May 9, 2016
@envision

Great to have a fix for this. I've seen these for a long time but looked up to this only now...

@envision
envision commented Jun 1, 2016

@janodvarko I'm still getting a ton of these errors (for every API request made by a front page app) and have Firebug 2.0.16, was this supposed to be fixed already in this version?

Component returned failure code: 0x804b000f (NS_ERROR_IN_PROGRESS) [nsICacheEntry.dataSize]
@janodvarko
Member

It's fixed in Firebug 2.0.17 that has been just released.

Honza

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment