Closed
Bug 826159
Opened 13 years ago
Closed 13 years ago
Cookie Manager doesn't display non-ASCII cookie values correctly
Categories
(Core :: Networking: Cookies, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: emk, Assigned: emk)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
6.34 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. Open the URL.
2. View the Cookie value from Options > Privacy > remove individual cookies.
3. Open the Web Console and type and type |document.cookie|.
4. Compare both values.
Actual result:
The former value contains 'utmccn=Some%20Name%20â%202013' while the latter contains 'utmccn=Some%20Name%20–%202013'.
Expected result:
Both values should be the same (have 'utmccn=Some%20Name%20–%202013').
| Assignee | ||
Comment 1•13 years ago
|
||
Actually this was a Core issue.
https://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/nsICookie.idl?rev=a16372ce30b5&mark=29-29#19
> readonly attribute ACString value;
should be
readonly attribute AUTF8String value;
.
Component: Preferences → Networking: Cookies
Product: Firefox → Core
| Assignee | ||
Comment 2•13 years ago
|
||
| Assignee | ||
Comment 3•13 years ago
|
||
The previous patch failed on tinderbox because it was affected by other tests setting cookie.
Attachment #697387 -
Attachment is obsolete: true
Attachment #697387 -
Flags: review?(bzbarsky)
Attachment #697407 -
Flags: review?(bzbarsky)
Comment 4•13 years ago
|
||
Comment on attachment 697407 [details] [diff] [review]
patch v2
r=me
Attachment #697407 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
| Assignee | ||
Updated•13 years ago
|
Flags: in-testsuite+
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•