Closed
Bug 307406
Opened 19 years ago
Closed 4 years ago
Parser interrupted while data is still being transfered will not be resumed without more data arriving
Categories
(Core :: DOM: HTML Parser, defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
mozilla1.9alpha1
People
(Reporter: mozilla, Unassigned)
Details
Attachments
(1 file)
|
5.37 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050815 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050815 Firefox/1.0.6 When the HTML Parser is interrupted, while the whole page hasn't been transfered yet, it won't resume before more data arrives. This is a problem for pages that rely on "html streaming"/"incremental rendering", because the incomplete page will not always be rendered up to the point it has been transfered, but only up to the parser interruption. Reproducible: Always Steps to Reproduce:
Comment 1•19 years ago
|
||
I think we can always post a parser continue event when we're interrupted, and then it becomes a race between more data arriving or us hitting our parser continue event. Are there any pitfalls I might be missing?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•19 years ago
|
||
Is it ok if we run out of data while a continue parsing event is up? If so, sounds like this should Just Work.
Comment 3•19 years ago
|
||
I'm not sure how that would happen. My plan was to revoke the parser continue event if there was an OnDataAvailable call before we received the new event. We could also just ignore a parser continue event once we've hit EOF (this should be fairly easy to detect).
Updated•19 years ago
|
Assignee: parser → mrbkap
Priority: -- → P3
QA Contact: mrbkap → parser
Target Milestone: --- → mozilla1.9alpha
Comment 5•19 years ago
|
||
This needs some more cleanup before it's ready for reviews. I'm not really sure how to test that this patch won't be doing bad things, but it seems to work. Is there a testcase I can use to make sure it's doing the right thing wrt loading all content, even if the parser gets interrupted in the middle of a chunk?
Updated•19 years ago
|
Status: NEW → ASSIGNED
Updated•15 years ago
|
Assignee: mrbkap → nobody
Comment 6•15 years ago
|
||
This is a mass change. Every comment has "assigned-to-new" in it. I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Comment 7•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: P3 → P5
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•