Bug 42095 - LayoutTests/http/tests/cookies/multiple-cookies.html sometimes fails because the cookies are returned in a different order
Summary: LayoutTests/http/tests/cookies/multiple-cookies.html sometimes fails because ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://build.webkit.org/results/Windo...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 10:55 PDT by David Kilzer (:ddkilzer)
Modified: 2010-07-16 11:23 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.49 KB, patch)
2010-07-16 11:15 PDT, Anders Carlsson
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2010-07-12 10:55:17 PDT
LayoutTests/http/tests/cookies/multiple-cookies.html sometimes fails because the cookies are returned in a different order:

PASS cookie is 'test=foobar; test2=foobar'.
PASS cookie is 'test=foobar; test2=foobar; test3=foobar'.
FAIL cookie was 'test2=foobar; test=foobar'. Expected 'test=foobar; test2=foobar'.
FAIL cookie was 'test3=foobar; test2=foobar; test=foobar'. Expected 'test=foobar; test2=foobar; test3=foobar'.

The test should probably separate the cookies and verify that they are all returned.
Comment 1 Adam Roben (:aroben) 2010-07-14 14:06:21 PDT
This is also happening sometimes on Windows.
Comment 2 Adam Roben (:aroben) 2010-07-14 14:06:48 PDT
Oh, in fact the URL in this bug is for a Windows result.

Alexey tells me this happens to him on SnowLeopard.
Comment 3 Anders Carlsson 2010-07-16 11:15:29 PDT
Created attachment 61828 [details]
Patch
Comment 4 Anders Carlsson 2010-07-16 11:23:16 PDT
Committed r63565: <http://trac.webkit.org/changeset/63565>