Closed Bug 896312 Opened 12 years ago Closed 12 years ago

social.cookies-get message returns an array with empty values if there are no cookies available.

Categories

(Firefox Graveyard :: SocialAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 25

People

(Reporter: markh, Assigned: markh)

Details

Attachments

(1 file)

If a provider has no cookies, the cookies-get message will return an array of length 1, with 'name' and 'value' properties being empty strings (ie, it returns [{name: '', value: ''}])
Simple patch. Facebook continues to work fine with the patch, and I doubt anyone else relies on the buggy behaviour. Along with a test for the no-cookies case, I also changed the existing test to use 2 cookies instead of 1 just to better check the login in the cookie-get message - that test worked fine.
Assignee: nobody → mhammond
Attachment #779035 - Flags: review?(mixedpuppy)
Attachment #779035 - Flags: review?(mixedpuppy) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Flags: in-testsuite+
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: