Closed Bug 335098 Opened 19 years ago Closed 16 years ago

Strings with \x00 are truncated

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: mozilla, Assigned: timeless)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051218 SeaMonkey/1.0b Venkman interprets Null characters as end of string markers (like C) instead of just another character (like JavaScript). Reproducible: Always Steps to Reproduce: 1. Execute the following: var test1 = "Hello\x00World"; var test1length = test1.length; var test2 = "Hello\x01World"; var test2length = test2.length; 2. View variables in "Local Variables" pane. Actual Results: test1: "Hello" test1length: 11 test2: "Hello\x01World" test2length: 11 Expected Results: test1: "Hello\x00World" test1length: 11 test2: "Hello\x01World" test2length: 11
Confirming. Testcase coming up.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file testcase
Depends on: 136292
QA Contact: caillon → venkman
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a8pre) Gecko/2007090215 Minefield/3.0a8pre OS, Platform -> All
OS: Mac OS X → All
Hardware: Macintosh → All
Assignee: rginda → timeless
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: