Closed
Bug 281781
Opened 20 years ago
Closed 20 years ago
the return value of WWW_GetWindowInfo is broken
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: masayuki, Assigned: masayuki)
References
()
Details
(Keywords: intl)
Attachments
(1 file, 1 obsolete file)
|
5.09 KB,
patch
|
jshin1987
:
review+
bzbarsky
:
superreview+
asa
:
approval1.8b+
|
Details | Diff | Splinter Review |
If the page is located IDN domain or have non-ASCII title, the return value of WWW_GetWindowInfo is broken. http://lxr.mozilla.org/seamonkey/source/xpfe/bootstrap/nsNativeAppSupportWin.cpp#1445 http://lxr.mozilla.org/seamonkey/source/toolkit/xre/nsNativeAppSupportWin.cpp#1024
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #173959 -
Flags: review?(jshin1987)
| Assignee | ||
Comment 2•20 years ago
|
||
Attachment #173959 -
Attachment is obsolete: true
Attachment #173960 -
Flags: review?(jshin1987)
| Assignee | ||
Updated•20 years ago
|
Attachment #173959 -
Flags: review?(jshin1987)
Comment 3•20 years ago
|
||
Comment on attachment 173960 [details] [diff] [review] Patch rv1.1 r=jshin I'll file separate bugs on related issues : We may be breaking things down the road as in the following: http://lxr.mozilla.org/seamonkey/source/xpfe/bootstrap/nsNativeAppSupportWin.cp p#2314 In addition, we would be better off using CF_UNICODETEXT instead of CF_TEXT here and passing PRUnichar (On Win 9x/ME, we have to convert to the native encoding and use CF_TEXT) http://lxr.mozilla.org/seamonkey/source/xpfe/bootstrap/nsNativeAppSupportWin.cp p#1720 BTW, OS/2 code has the same issue.
Attachment #173960 -
Flags: review?(jshin1987) → review+
Comment 4•20 years ago
|
||
It's more complex than I thought when I filed bug 282285. Until we make our DDE-code Unicode-aware, we definitely need to get the patch here in.
| Assignee | ||
Updated•20 years ago
|
Attachment #173960 -
Flags: superreview?(bzbarsky)
Comment 5•20 years ago
|
||
Comment on attachment 173960 [details] [diff] [review] Patch rv1.1 sr=bzbarsky
Attachment #173960 -
Flags: superreview?(bzbarsky) → superreview+
| Assignee | ||
Comment 6•20 years ago
|
||
Comment on attachment 173960 [details] [diff] [review] Patch rv1.1 The risk is low.
Attachment #173960 -
Flags: approval1.8b?
Comment 7•20 years ago
|
||
Comment on attachment 173960 [details] [diff] [review] Patch rv1.1 a=asa for checkin to 1.8b
Attachment #173960 -
Flags: approval1.8b? → approval1.8b+
| Assignee | ||
Comment 8•20 years ago
|
||
Jungshik: Could you check-in the patch?
Comment 9•20 years ago
|
||
landed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 10•20 years ago
|
||
This patch broke the Win32 seamonkey build. The problem is that it uses NS_CopyUnicodeToNative, which is implemented in xpcom_core.dll. Unfortunately, mozilla.exe does not link to xpcom_core.dll. It is in fact loading XPCOM via the glue stubs as a regular GRE client. To solve this problem, I added code to nsStringSupport.h that would in the #ifdef MOZILLA_STRICT_API case implement NS_CopyUnicodeToNative in terms of NS_UTF16ToCString. Please keep this in mind if you are patching xpfe/bootstrap in the future.
| Assignee | ||
Comment 11•20 years ago
|
||
Sorry for build bustage. But I have been able to build on my system... why?
Comment 12•19 years ago
|
||
*** Bug 300770 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•