Bug 25861

Summary: Remove http/tests/cookies/simple-cookies-expired.html from skip list after CFNetwork issue is resolved
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, commit-queue, eric, jchaffraix
Priority: P2 Keywords: InRadar, LayoutTestFailure
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Patch v1 none

Description David Kilzer (:ddkilzer) 2009-05-18 22:13:55 PDT
* SUMMARY
One of the tests added for Bug 24569 fails inexplicably on Windows:

LayoutTests/http/tests/cookies/simple-cookies-expired.html

It was added to the Skipped list to keep the buildbot green.
Comment 1 Mark Rowe (bdash) 2009-05-19 00:46:45 PDT
<rdar://problem/6901322>
Comment 2 Alice Liu 2009-05-19 11:04:14 PDT
Has this test ever worked on windows?  wasn't it just added yesterday? 
Comment 3 David Kilzer (:ddkilzer) 2009-05-19 12:46:03 PDT
(In reply to comment #2)
> Has this test ever worked on windows?  wasn't it just added yesterday? 

Not sure if it ever worked on Windows at some point...only tested via the buildbot.

The test was added only yesterday, but passes on Tiger and Leopard which indicates a bug in CFNetwork for Windows.

http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/cookies/simple-cookies-expired.html
http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/cookies/resources/simple-cookies-expired.js

I suppose the cookie might not be set if the total time to set the date and load the XMLHTTPRequest were more than 1 minute, but that seems unlikely (especially on Release builds).

http://build.webkit.org/results/Windows%20Release%20(Tests)/r43852%20(1012)/results.html
http://build.webkit.org/results/Windows%20Debug%20(Tests)/r43852%20(1128)/results.html
Comment 4 Julien Chaffraix 2009-12-15 07:53:50 PST
(In reply to comment #3)
> (In reply to comment #2)
> > Has this test ever worked on windows?  wasn't it just added yesterday? 
> 
> Not sure if it ever worked on Windows at some point...only tested via the
> buildbot.

My apologies, I completely forgot to reply to this bug. I haven't set up a Windows machine so the patch was not tested on Windows: it was only tested on Mac Leopard and Linux Qt (maybe also Gtk but I am not sure).
Comment 5 David Kilzer (:ddkilzer) 2010-03-22 12:03:57 PDT
Created attachment 51325 [details]
Patch v1
Comment 6 David Kilzer (:ddkilzer) 2010-03-22 15:31:42 PDT
Comment on attachment 51325 [details]
Patch v1

Letting the commit queue land this; it should fail if the test fails.
Comment 7 WebKit Commit Bot 2010-03-22 22:51:23 PDT
Comment on attachment 51325 [details]
Patch v1

Clearing flags on attachment: 51325

Committed r56379: <http://trac.webkit.org/changeset/56379>
Comment 8 WebKit Commit Bot 2010-03-22 22:51:28 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 David Kilzer (:ddkilzer) 2010-03-23 00:34:47 PDT
(In reply to comment #8)
> All reviewed patches have been landed.  Closing bug.

This test hasn't shown up as failing on build.webkit.org either.
Comment 10 Eric Seidel (no email) 2011-12-02 14:05:06 PST
http/tests/cookies/simple-cookies-expired.html is flaky.  Filing bug now.