• Volker Dobler's avatar
    exp/cookiejar: make cookie sorting deterministic. · 6bbd12f1
    Volker Dobler authored
    Re-enable TestUpdateAndDelete, TestExpiration, TestChromiumDomain and
    TestChromiumDeletion on Windows.
    
    Sorting of cookies with same path length and same creation
    time is done by an additional seqNum field.
    This makes the order in which cookies are returned in Cookies
    deterministic, even if the system clock is manipulated or on
    systems with a low-resolution clock.
    
    The tests now use a synthetic time: This makes cookie testing
    reliable in case of bogus system clocks and speeds up the
    expiration tests.
    
    R=nigeltao, alex.brainman, dave
    CC=golang-dev
    https://golang.org/cl/7323063
    6bbd12f1
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...