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

pillarjs / cookies / 251
100%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2018 06:02PM UTC
Jobs 8
Files 1
Run time 3min
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

pending completion
251

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

101 of 108 branches covered (93.52%)

2 of 2 new or added lines in 1 file covered. (100.0%)

110 of 110 relevant lines covered (100.0%)

174.47 hits per line

Jobs
ID Job ID Ran Files Coverage
2 251.2 06 Feb 2018 06:02PM UTC 0
100.0
Travis Job 251.2
3 251.3 06 Feb 2018 06:02PM UTC 0
100.0
Travis Job 251.3
4 251.4 06 Feb 2018 06:02PM UTC 0
100.0
Travis Job 251.4
5 251.5 06 Feb 2018 06:02PM UTC 0
100.0
Travis Job 251.5
6 251.6 06 Feb 2018 06:05PM UTC 0
100.0
Travis Job 251.6
7 251.7 06 Feb 2018 06:03PM UTC 0
100.0
Travis Job 251.7
8 251.8 06 Feb 2018 06:03PM UTC 0
100.0
Travis Job 251.8
9 251.9 06 Feb 2018 06:03PM UTC 0
100.0
Travis Job 251.9
Source Files on build 251
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #251
  • Pull Request #94
  • PR Base - master (#250)
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