Closed Bug 295916 Opened 20 years ago Closed 20 years ago

Throbber doesn't stop when document.write-ing text/plain content

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla1.8beta3

People

(Reporter: stephend, Assigned: Biesinger)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Build ID: 2005-05-29-05, Windows XP Seamonkey trunk.

Summary: Throbber doesn't stop when document.write-ing text/plain content

Clicking on most of the links found at
https://bugzilla.mozilla.org/attachment.cgi?id=184646 results in the
'busy/document loading' cursor, the progress meter, and sometimes the throbber
to be in an indeterminate state, as if the document hasn't finished loading.

[16:51] <biesi> bz,
http://lxr.mozilla.org/seamonkey/source/content/html/document/src/nsHTMLDocument.cpp#2104
[16:51] <bz> Yeah
[16:51] <biesi> bz, can that if there cause this?
[16:51] <bz> yes
[16:51] <bz> In fact it does
Attached patch possible patch (obsolete) — Splinter Review
maybe this? parser ignores writes that do not write any data. downside: adds a
space where none belongs...
Attached patch real patchSplinter Review
Assignee: general → cbiesinger
Attachment #184825 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #184829 - Flags: superreview?(bzbarsky)
Attachment #184829 - Flags: review?(mrbkap)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.8beta3
oops.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Comment on attachment 184829 [details] [diff] [review]
real patch

r=mrbkap
Attachment #184829 - Flags: review?(mrbkap) → review+
Comment on attachment 184829 [details] [diff] [review]
real patch

sr=bzbarsky
Attachment #184829 - Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 184829 [details] [diff] [review]
real patch

a=shaver
Attachment #184829 - Flags: approval1.8b3? → approval1.8b3+
Checking in content/html/document/src/nsHTMLDocument.cpp;
/cvsroot/mozilla/content/html/document/src/nsHTMLDocument.cpp,v  <-- 
nsHTMLDocument.cpp
new revision: 3.604; previous revision: 3.603
done
Checking in parser/htmlparser/src/nsParser.cpp;
/cvsroot/mozilla/parser/htmlparser/src/nsParser.cpp,v  <--  nsParser.cpp
new revision: 3.365; previous revision: 3.364
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Verified FIXED by clicking on the links found here:

https://bugzilla.mozilla.org/attachment.cgi?id=184646

on Windows XP Seamonkey trunk build 2005-06-02-06.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: