Closed
Bug 130252
Opened 22 years ago
Closed 22 years ago
unable to render http://sh.sina.com.cn
Categories
(Tech Evangelism Graveyard :: Chinese-Simplified, defect)
Tech Evangelism Graveyard
Chinese-Simplified
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: wenzhuo, Assigned: momoi)
References
()
Details
final rendering of this page <http://sh.sina.com.cn> fails and a blank page is displayed.
Comment 1•22 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•22 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•22 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()">
Comment 4•22 years ago
|
||
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•22 years ago
|
||
Siwtch component to China to better track the issues.
Component: Asian → China
Comment 6•22 years ago
|
||
Kat, this page works fine. They use DW 4 and detect document.getElementById. This is a Fixed
Assignee | ||
Comment 7•22 years ago
|
||
Per bclary's comment, it is resolved as fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•