Closed Bug 230090 Opened 21 years ago Closed 21 years ago

Page displayed differently from IE. maybe a javascript thing?

Categories

(Core :: Layout, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 125525

People

(Reporter: mozbugbox, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040102 Firebird/0.7+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040102 Firebird/0.7+

On IE, the page display a table of items. In mozilla, the table
was empty. Since the table items are written using javascript,
maybe it is a problem with javascript.

Reproducible: Always

Steps to Reproduce:
1. go to the page
2.
3.

Actual Results:  
part of content not displayed.
http://bt3.btchina.net/ is the url.
Which part of the content is not displayed?
The table above the purple strip. If you look at the source, anything inside the
getRawCode2('...........');
This is how the table was rendered under IE. In mozilla, only the table header
was displayed. The tbody part was missing.
Comment on attachment 138459 [details]
snapshot of the page rendered under IE (~200KB)

This is how the table was rendered under IE. In mozilla, only the table header
was displayed. The tbody part was missing.
Attachment #138459 - Attachment description: snapshot of the page rendered under IE → snapshot of the page rendered under IE (~200KB)
ok.  JS Console says (loading the page):

Error: ero is not defined
Source File: http://bt3.btchina.net/
Line: 742
the culprit is:
	if(ero.length!=48*2){
		goodseed = false;
	}
I can't find anywhere that 'ero' is defined.

Error: unterminated string literal
Source File: http://bt3.btchina.net/
Line: 795, Column: 4
Source Code:
wrap",
the culprit here is one of the getRawCode2() calls.  Note that the getRawCode2()
could be doing something totally wrong because of the previous problem with 'ero'.

Bug Filler: if you look at the source delivered to IE, does it define 'ero'
somewhere in the javscript?
It seems the "ero" was defined by the document.writeln(unescape(unescape(....);
script block, which sit above the script block where the function
onClickSeedZero() was defined. In IE, before the block, ero was not defined,
after the block ero is a long string. The above writeln() seemed to be used to
hide some javascript code.

In Dom Inspector, after removed a broken table, it seemed the script was
intepreted into some garbage instead of an assignment. 
Attached file The problem page
Since the site is slow, here is a snap shot which show the problem.

Viewing the page under mozilla and IE give different results.
OK, it seems the segment is trying to hide the data with JScript.Encode. My
guess is that mozilla will not handle this one:

script language='JScript.Encode'>#@~^awAAAA==-mD~DK'ByfyX ;F) wFfqWF%y*FA
8T+GZ&Zcq*TT8 +%yT ~ fT+FATX8GT%Z+8sT;FG ,ZbZo zF/!F q+!2y3!G
FZ$T,ZF8Fq,vIixcAAA==^#~@ /script>

I found this on the net about the JScript.Encode:

http://seclists.org/lists/fulldisclosure/2003/Sep/0757.html

Not hard to handle but not sure if mozilla want to decode it.

*** This bug has been marked as a duplicate of 125525 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: