Closed
Bug 321782
Opened 19 years ago
Closed 19 years ago
After a <script> or <link> in a document.write, content is not parsed
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: mrbkap, Unassigned)
References
()
Details
(Keywords: regression)
STEPS TO REPRODUCE:
*) Go to the URL in the URL field.
*) Click on link 2
*) Click "test"
ACTUAL RESULTS: An alert box appears. No content appears in the content area.
EXPECTED RESULTS: An alert box appears, content appears in the content area, the window has a title.
backlink: bug 321558 attachment 206870 [details]
is this similar? bug 204497 - script issue
Reporter | ||
Comment 3•19 years ago
|
||
I took a look at this today. The problem is the call to document.close() coming right after the document.write() terminates the parser. I think we need to check if the parser is blocked in nsHTMLDocument::Close and if it is remember that we've been closed, and have the parser call DidBuildModel after it's done parsing or something like that.
Comment 4•19 years ago
|
||
So this is also fallout from bug 319123 (like bug 321781)? Would it make sense to address both together?
Updated•19 years ago
|
Reporter | ||
Comment 5•19 years ago
|
||
This was fixed by the checkin for bug 321781.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•