Closed Bug 232841 Opened 21 years ago Closed 20 years ago

unescape function in Javascript fails for any value in the range %81 --> %FF

Categories

(SeaMonkey :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 44272

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.
reassigning to asa

ml
Assignee: mitchell → asa
QA Contact: mitchell → asa
Assignee: asa → general
Component: Miscellaneous → Browser-General
Product: mozilla.org → Browser
QA Contact: asa → general
Version: other → Trunk

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