Display garbled in page source in JavaScript open window

NEW
Unassigned

Status

()

Core
Internationalization
16 years ago
9 years ago

People

(Reporter: Yuying Long, Unassigned)

Tracking

({intl})

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

16 years ago
Build: 08-07 branch build / WinXP-SC

Steps:
1. Load a pop-up window that contains non-ascii characters by using JavaSCript
open window method.
I have test cases:
A. http://babel/JavaScript_i18n/SimpChinese/OpenWindow/gb2312.html
- this one has GB2312 charset meta-tag in both parent and pop-up windows.
B. http://babel/JavaScript_i18n/SimpChinese/OpenWindow/UTF-8.html
- this one has UTF-8 charset meta-tag in parent page, but not set charset
meta-tag in pop-up window.
2. Click on the selections in the test page, to get the pup-up window.
3. Move mouse over the top of pop-up window, and right click.
4. Select View Page source.

Result:
test case A: the characters in page source are garbled.
test case B: the first selction with surrogate character is garbled, the others
are fine.
(Reporter)

Updated

16 years ago
Keywords: intl
QA Contact: ruixu → ylong
(Reporter)

Comment 1

16 years ago
It turns out this one is relate with bug 161764, it use UTF-8 font to display
page in pop-up window, no matter the pop-up window has charset meta-tag or not.

For test case B, if I specified charset as UTF-8 for pop-up window, then the
source will diplay fine except surrogate character is display as "??".

Comment 2

16 years ago
dup of Bug 176992, I think.

Comment 3

16 years ago
reassign to ftang
cannot find the test case, please attach
Assignee: yokoyama → ftang
(Reporter)

Comment 4

16 years ago
Created attachment 111767 [details]
test case A
(Reporter)

Comment 5

16 years ago
Created attachment 111768 [details]
test case B

Comment 6

16 years ago
assign
Status: NEW → ASSIGNED

Comment 7

13 years ago
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs
for 2 years. And they are still there. Just close them as won't fix to clean up.
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WONTFIX

Comment 8

13 years ago
Mass Bug Re-Open of bugs Frank Tang Closed with no good reason. Spam is his
fault not my own
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---

Comment 9

13 years ago
Mass Re-assinging Frank Tangs old bugs that he closed won't fix and had to be
re-open. Spam is his fault not my own
Assignee: ftang → nobody
Status: REOPENED → NEW
QA Contact: amyy → i18n
You need to log in before you can comment on or make changes to this bug.