If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Status

Tech Evangelism Graveyard
Chinese-Simplified
VERIFIED FIXED
16 years ago
3 years ago

People

(Reporter: Wenzhuo Zhang, Assigned: Katsuhiko Momoi)

Tracking

Details

(URL)

(Reporter)

Description

16 years ago
final rendering of this page <http://sh.sina.com.cn> fails and a blank page is
displayed.

Comment 1

16 years ago
confirming on Win2k using build 2002031103.

Page loads fine but then refreshes to a strange URL/text, part of the problem
may come from the following meta tag:
<meta http-equiv=Refresh content=900>

Need to investigate...
OS: Linux → All
Hardware: PC → All

Comment 2

16 years ago
Investigating, the problem does not come from the meta tag, but rather from some
JavaScript code, loaded at the end of page:

function getthedate(){
[...]
var cdate="<span
class=white9>"+month+"ÔÂ"+daym+"ÈÕÖÜ"+dayarray[day]+hours+":"+minutes+":"+seconds+"</span>"
	if (document.all)
	document.all.clock.innerHTML=cdate
	else
	document.write(cdate)
}
	if (!document.all)
	getthedate()

Is this a Mozilla bug or a Tech Evangelism issue ? document.all is clearly bad,
but then, why does document.write() replaces the whole page on Mozilla ?

Comment 3

16 years ago
getthedate() is actually called from showClock() which is called here in the
document:

[...]
<body bgcolor="#0A2752" text="#000000" leftmargin="1" topmargin="3"
onResize="resize()" onload="showclock()">

Evang.  The page is putting getthedate() on a timeout.  This means it runs 1
second after the page finishes loading.  Once the load is done, correct behavior
for a document.write() is to clear the old document.  NS4 does exactly the same
thing.
Assignee: asa → momoi
Status: UNCONFIRMED → NEW
Component: Browser-General → Asian
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: doronr → ruixu
Version: other → unspecified
(Assignee)

Comment 5

16 years ago
Siwtch component to China to better track the issues.
Component: Asian → China

Comment 6

16 years ago
Kat, this page works fine. They use DW 4 and detect document.getElementById.
This is a Fixed
(Assignee)

Comment 7

16 years ago
Per bclary's comment, it is resolved as fixed.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 8

16 years ago
VERIFIED with US NS7.0 PR1.
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.