Closed
Bug 46392
Opened 26 years ago
Closed 26 years ago
Page displayes completely blank (javascript overwriting content)
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: andrewmeier, Assigned: harishd)
References
()
Details
(Keywords: testcase, top100, Whiteboard: [nsbeta3+][Fix in hand])
Attachments
(3 files)
|
321 bytes,
text/html
|
Details | |
|
971 bytes,
patch
|
Details | Diff | Splinter Review | |
|
615 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.13 i586; en-US; m17) Gecko/20000724
BuildID: 2000072408
For the last few nightly builds richinstyle.com has been coming op blank in the
navigator portion of mozilla. Other browsers display the page properly and
build 2000071120 and earlier display the page properly.
Reproducible: Always
Steps to Reproduce:
1.Go to http://www.richinstyle.com/
2.Marvel at the blankness of the page.
3.
Actual Results: The page rendered the background color of the page and nothing
else.
Expected Results: Mozilla should have displayed the page.
The page loads fine in composer.
Also the shell prints the following whel attempting to load the page:
Entry at index 0 is slashdot.org
Entry at index 1 is richinstyle.com
Entry at index 2 is http://richinstyle.com/test/
Entry at index 3 is mozilla.org
Entry at index 4 is http://www.richinstyle.com/
Entry at index 5 is http://www.richinstyle.com/index.html
Document: Done (2.291 secs)
Error loading URL http://www.richinstyle.com/
Comment 1•26 years ago
|
||
confirm; I see a black page (it starts to render and then the background
color(?) draws over the contents) on my Mac and Linux debug builds from this
morning.
Assignee: asa → clayton
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout
Ever confirmed: true
OS: Linux → All
QA Contact: doronr → petersen
Hardware: PC → All
Summary: Page displayes completely blank → Page displays completely blank
Comment 2•26 years ago
|
||
Wierd. I testcased this one. The problem is that the javascript, which is
loaded from an external URL, is overwriting the document's contents. Here is
the document:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Confuse Mozilla's Tiny Brain</title>
</head>
<body>
<SCRIPT type="text/javascript"
src="http://www.saturn5.com/~jwb/advert.js"></SCRIPT>
<P>Bye!
</body>
</html>
And the external javascript is just:
document.writeln("<p>");
If the javascript is embedded in the document, the page renders fine. Also, if
the document declaration is removed, it also renders fine. That is odd because
the document declares HTML 4.0 strict and also conforms.
This may be related to 42388, but please don't dupe. That bug is for pages that
declare and *do not* conform. This one declares, conforms, and still gets
whacked by strict mode.
Also not sure why this is a blocker. I don't see richinstyle.com on the
smoketest list, so I am backing this one off to normal severity. Reassigned to
parser and they can pass the buck if needed.
Assignee: clayton → rickg
Severity: blocker → normal
Component: Layout → Parser
Keywords: testcase
OS: All → Linux
QA Contact: petersen → janc
Hardware: All → PC
Summary: Page displays completely blank → Page displayes completely blank (javascript overwriting content)
Comment 3•26 years ago
|
||
I think I've a fix for this in a tree ( will have to double check ). This
probably a dupe of bug 44285. Anyway, assigning to myself.
Assignee: rickg → harishd
Jeffery's testcase would work with patch in bug 44285. The basic problem is
that the block message sent by the SCRIPT got lost in COtherElements.
| Assignee | ||
Comment 10•26 years ago
|
||
| Assignee | ||
Comment 11•26 years ago
|
||
*** Bug 46038 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 13•26 years ago
|
||
FIXED.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Build around 2000-09-26 works fine, marking verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•