Closed
Bug 232841
Opened 21 years ago
Closed 21 years ago
unescape function in Javascript fails for any value in the range %81 --> %FF
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: glynnec2002, Unassigned)
Details
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
<script>
var s,x;
s= "%80";
x= unescape(s); // OK
s= "%81";
x= unescape(s); // Error!!
</script>
Reproducible: Always
Steps to Reproduce:
1. Execute the above snippet of Javascript
2.
3.
Actual Results:
Javascript console shows an error.
Expected Results:
unescape should've return the requested char value.
...I suspect this bug is due to the use of signed chars.
Updated•21 years ago
|
Assignee: asa → general
Component: Miscellaneous → Browser-General
Product: mozilla.org → Browser
QA Contact: asa → general
Version: other → Trunk
Comment 2•21 years ago
|
||
*** This bug has been marked as a duplicate of 44272 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•