New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NS_ERROR_IN_PROGRESS error in netCacheReader.js #8003

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

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

This comment has been minimized.

Show comment
Hide comment
@janodvarko

janodvarko Mar 28, 2016

Member

What Firebug version do you use?
Honza

Member

janodvarko commented Mar 28, 2016

What Firebug version do you use?
Honza

@umanamente

This comment has been minimized.

Show comment
Hide comment
@umanamente

umanamente Mar 28, 2016

2.0.15 (latest)

2.0.15 (latest)

@markusp72

This comment has been minimized.

Show comment
Hide comment
@markusp72

markusp72 Apr 1, 2016

+1
FB 2.0.16
FF 45.0.1

+1
FB 2.0.16
FF 45.0.1

@lserni

This comment has been minimized.

Show comment
Hide comment
@lserni

lserni 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 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

This comment has been minimized.

Show comment
Hide comment
@lserni

lserni 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).

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

This comment has been minimized.

Show comment
Hide comment
@janodvarko

janodvarko Apr 13, 2016

Member

Can you send PR?

Honza

Member

janodvarko commented Apr 13, 2016

Can you send PR?

Honza

@lserni

This comment has been minimized.

Show comment
Hide comment
@lserni

lserni 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.

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

This comment has been minimized.

Show comment
Hide comment
@janodvarko

janodvarko May 9, 2016

Member

Thanks for the update!

Patch committed.

Honza

Member

janodvarko commented May 9, 2016

Thanks for the update!

Patch committed.

Honza

@janodvarko janodvarko closed this May 9, 2016

@envision

This comment has been minimized.

Show comment
Hide comment
@envision

envision May 14, 2016

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

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

@envision

This comment has been minimized.

Show comment
Hide comment
@envision

envision 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]

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

This comment has been minimized.

Show comment
Hide comment
@janodvarko

janodvarko Jun 8, 2016

Member

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

Honza

Member

janodvarko commented Jun 8, 2016

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