Open
Bug 1104873
Opened 11 years ago
Updated 2 years ago
80 ms delay fetching images after html body with local website
Categories
(Core :: Networking: HTTP, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: peterrham, Unassigned)
Details
(Keywords: testcase, Whiteboard: [necko-backlog])
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36
Steps to reproduce:
load test website
Actual results:
html body loads immediately (in < 10 ms)
fetching net resources pauses for 80 ms (this is the issue)
first and only image referenced downloads
Expected results:
There should be no delay between fetching the html body and the image.
Severity: normal → trivial
OS: Mac OS X → All
Priority: -- → P5
Hardware: x86 → x86_64
If you host this web page on a local to your box web site (so that the first page loads in less than 50 ms or so), then you can reproduce this.
This might not be a bug, but perhaps undocumented feature or behavior. I notice that internet explore loads the image immediately while chrome has similar behavior to firefox where there's a delay before the image is fetched.
Updated•11 years ago
|
Severity: trivial → normal
Flags: needinfo?(gijskruitbosch+bugs)
Keywords: testcase
Priority: P5 → --
Product: Firefox → Core
Here's a tcpdump output which shows the delay between the ack of the .htmfile and the http get of the image.
Comment 5•11 years ago
|
||
this is kind of interesting.. ODA happens quickly, but OnStop trails quite a ways after that even though the ODA filled out the h1 content length. It might just be the main thread dealing with that data.
honza likes this kind of problem.
peter - this is an nspr log.
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging
2014-11-25 19:22:18.962185 UTC - 126793600[7f8d0645f4a0]: uri=http://localhost/test_one_image.html
2014-11-25 19:22:19.023440 UTC - 126793600[7f8d0645f4a0]: nsHttpChannel::OnStartRequest [this=7f8cd4c91800 request=7f8cd4d8a1c0 status=0]
2014-11-25 19:22:19.023450 UTC - 126793600[7f8d0645f4a0]: nsHttpChannel::ProcessResponse [this=7f8cd4c91800 httpStatus=200]
2014-11-25 19:22:19.082263 UTC - 126793600[7f8d0645f4a0]: nsInputStreamPump::RetargetDeliveryTo [this=d4d8a1c0 aNewTarget=7f8ce3f80a60] success listener [7f8cd4c91bf0] rv[0]
2014-11-25 19:22:19.082290 UTC - 126793600[7f8d0645f4a0]: HttpBaseChannel::DoApplyContentConversions [this=7f8cd4c91800]
2014-11-25 19:22:19.082312 UTC - 126793600[7f8d0645f4a0]: converter removed 'gzip' content-encoding
2014-11-25 19:22:19.082453 UTC - -477104384[7f8ce4a6d5e0]: nsHttpChannel::OnDataAvailable [this=7f8cd4c91800 request=7f8cd4d8a1c0 offset=0 count=195]
2014-11-25 19:22:19.540061 UTC - 126793600[7f8d0645f4a0]: sending progress and status notification [this=7f8cd4c91800 status=804b0006 progress=195/195]
2014-11-25 19:22:19.541435 UTC - 126793600[7f8d0645f4a0]: nsHttpChannel::OnStopRequest [this=7f8cd4c91800 request=7f8cd4d8a1c0 status=0]
2014-11-25 19:22:19.540644 UTC - 126793600[7f8d0645f4a0]: nsHttpChannel::Init [this=7f8cd82bc000]
2014-11-25 19:22:19.540941 UTC - 126793600[7f8d0645f4a0]: uri=http://localhost/empty_square_normal.gif
Component: Untriaged → Networking: HTTP
Updated•11 years ago
|
Flags: needinfo?(gijskruitbosch+bugs)
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 7•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 8•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•