Still fails on windows:
=== RUN TestCanonicalHost
--- PASS: TestCanonicalHost (0.00 seconds)
=== RUN TestHasPort
--- PASS: TestHasPort (0.00 seconds)
=== RUN TestJarKey
--- PASS: TestJarKey (0.00 seconds)
=== RUN TestIsIP
--- PASS: TestIsIP (0.00 seconds)
=== RUN TestDefaultPath
--- PASS: TestDefaultPath (0.00 seconds)
=== RUN TestDomainAndType
--- PASS: TestDomainAndType (0.00 seconds)
=== RUN TestBasics
--- PASS: TestBasics (0.00 seconds)
=== RUN TestUpdateAndDelete
--- FAIL: TestUpdateAndDelete (0.00 seconds)
jar_test.go:266: Test "Delete all." Content
got "b=2"
want ""
jar_test.go:276: Test "Delete all." #0
got "b=2"
want ""
jar_test.go:266: Test "Refill #1." Content
got "A=1 A=2 A=3 A=4 b=2"
want "A=1 A=2 A=3 A=4"
jar_test.go:276: Test "Refill #1." #0
got "A=2 A=4 b=2 A=1 A=3"
want "A=2 A=4 A=1 A=3"
jar_test.go:266: Test "Refill #2." Content
got "A=1 A=2 A=3 A=4 A=6 A=7 A=8 A=9 b=2"
want "A=1 A=2 A=3 A=4 A=6 A=7 A=8 A=9"
jar_test.go:276: Test "Refill #2." #0
got "A=2 A=4 b=2 A=1 A=3"
want "A=2 A=4 A=1 A=3"
jar_test.go:266: Test "Delete A7." Content
got "A=1 A=2 A=3 A=4 A=6 A=8 A=9 b=2"
want "A=1 A=2 A=3 A=4 A=6 A=8 A=9"
jar_test.go:276: Test "Delete A7." #0
got "A=2 A=4 b=2 A=1 A=3"
want "A=2 A=4 A=1 A=3"
jar_test.go:266: Test "Delete A4." Content
got "A=1 A=2 A=3 A=6 A=8 A=9 b=2"
want "A=1 A=2 A=3 A=6 A=8 A=9"
jar_test.go:276: Test "Delete A4." #0
got "A=2 b=2 A=1 A=3"
want "A=2 A=1 A=3"
jar_test.go:266: Test "Delete A6." Content
got "A=1 A=2 A=3 A=8 A=9 b=2"
want "A=1 A=2 A=3 A=8 A=9"
jar_test.go:276: Test "Delete A6." #0
got "A=2 b=2 A=1 A=3"
want "A=2 A=1 A=3"
jar_test.go:266: Test "Delete A3." Content
got "A=1 A=2 A=8 A=9 b=2"
want "A=1 A=2 A=8 A=9"
jar_test.go:276: Test "Delete A3." #0
got "A=2 b=2 A=1"
want "A=2 A=1"
jar_test.go:266: Test "No cross-domain delete." Content
got "A=1 A=2 A=8 A=9 b=2"
want "A=1 A=2 A=8 A=9"
jar_test.go:276: Test "No cross-domain delete." #0
got "A=2 b=2 A=1"
want "A=2 A=1"
jar_test.go:266: Test "Delete A8 and A9." Content
got "A=1 A=2 b=2"
want "A=1 A=2"
jar_test.go:276: Test "Delete A8 and A9." #0
got "A=2 b=2 A=1"
want "A=2 A=1"
=== RUN TestExpiration
--- FAIL: TestExpiration (1.50 seconds)
jar_test.go:266: Test "Check jar." Content
got "a=1 c=3 d=4"
want "a=1 d=4"
jar_test.go:276: Test "Check jar." #0
got "a=1 c=3 d=4"
want "a=1 d=4"
=== RUN TestChromiumBasics
--- PASS: TestChromiumBasics (0.00 seconds)
=== RUN TestChromiumDomain
--- PASS: TestChromiumDomain (0.00 seconds)
=== RUN TestChromiumDeletion
--- FAIL: TestChromiumDeletion (0.00 seconds)
jar_test.go:266: Test "Delete sc b2 via Expires." Content
got "b=2"
want ""
jar_test.go:276: Test "Delete sc b2 via Expires." #0
got "b=2"
want ""
jar_test.go:266: Test "Create persistent cookie c3." Content
got "b=2 c=3"
want "c=3"
jar_test.go:276: Test "Create persistent cookie c3." #0
got "b=2 c=3"
want "c=3"
jar_test.go:266: Test "Delete pc c3 via MaxAge." Content
got "b=2"
want ""
jar_test.go:276: Test "Delete pc c3 via MaxAge." #0
got "b=2"
want ""
jar_test.go:266: Test "Create persistent cookie d4." Content
got "b=2 d=4"
want "d=4"
jar_test.go:276: Test "Create persistent cookie d4." #0
got "b=2 d=4"
want "d=4"
jar_test.go:266: Test "Delete pc d4 via Expires." Content
got "b=2 d=4"
want ""
jar_test.go:276: Test "Delete pc d4 via Expires." #0
got "b=2 d=4"
want ""
FAIL
Alex
https://codereview.appspot.com/7323063/