Closed Bug 826159 Opened 8 years ago Closed 8 years ago
Cookie Manager doesn't display non-ASCII cookie values correctly
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').
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: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #697387 - Flags: review?(bzbarsky)
The previous patch failed on tinderbox because it was affected by other tests setting cookie.
Comment on attachment 697407 [details] [diff] [review] patch v2 r=me
Attachment #697407 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.