• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pillarjs / cookies / 252 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2018 07:23PM UTC
Files 1
Run time 35min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Feb 2018 07:21PM UTC coverage: 100.0%. Remained the same
252.5

Pull #94

travis-ci

web-flow
maxAge should not be translated to expires

The expires argument includes the timezone, but the UA clock might
be offset by a couple of hours (incorrect timezone), which would
end-up in the following situation:

 - UTC is 2018-01-15 10:00 + 00:00
   Client has localtime: 2018-01-15 10:00 - 08:00 (8h in the future)
 - Server set cookie with maxAge = 30min
 - Server send:
     Set-Cookie: foo=bar; expires=2018-01-15T10:30:00+00:00
 - UA immediately expires the cookie
 - UA send a new request without cookie.

Sadly incorrect UA clock is a common problem (at least for us),
maxAge is a correct option (as the time is calculated relative
to UA clock), but this is not an available option in this library.

Signed-off-by: Arthur Gautier <baloo@gandi.net>
Pull Request #94: maxAge should not be translated to expires

103 of 110 branches covered (93.64%)

112 of 112 relevant lines covered (100.0%)

22.5 hits per line

Source Files on job 252.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 252
  • Travis Job 252.5
  • fd95f1a4 on github
  • Prev Job for on master (#250.8)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc