GeckoSession#onExternalResponse is getting called with negative values on response.contentLength
Categories
(GeckoView :: General, defect, P1)
Tracking
(firefox78 fixed)
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: amejia, Assigned: m_kato)
References
Details
(Whiteboard: [geckoview:m78])
Attachments
(1 file)
STP
- Try to download https://osdn.net/projects/manjaro/storage/xfce/19.0.2/manjaro-xfce-19.0.2-200311-linux54.iso/
onExternalResponsegets called with theresponse.contentLengthequal to-1522876416
Updated•5 years ago
|
Comment 1•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
When content length is over 2GB, WebResponseInfo.contentLength is negative
value. Use Long.valueOf instead of Integer.valueOf to pass this value.
Comment 4•5 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 5•5 years ago
|
||
We are still seeing this issue on 79.0.20200615092624 , to simulate just try to download this file
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 6•5 years ago
•
|
||
(In reply to Arturo Mejia from comment #5)
We are still seeing this issue on
79.0.20200615092624, to simulate just try to download this file
Your test is incorrect. -1 is valid for content length for this site (This web server returns unknown length).
Could you test this when web server returns over 4GB value for content-length really?
| Reporter | ||
Comment 7•5 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #6)
(In reply to Arturo Mejia from comment #5)
We are still seeing this issue on
79.0.20200615092624, to simulate just try to download this fileYour test is incorrect. -1 is valid for content length for this site (This web server returns unknown length).
Could you test this when web server returns over 4GB value for content-length really?
Sure no problem!
| Reporter | ||
Comment 8•5 years ago
|
||
The values is as expected with content length larger than 4GB value. I think we can close this bug
Description
•