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

preaction / Mercury / 25 / 9
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2015 04:06AM UTC
Files 2
Run time 0s
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

05 Oct 2015 04:04AM UTC coverage: 100.0% (+6.8%) from 93.22%
COVERAGE=1

push

travis-ci

preaction
add allow_origin config to check origin header

WebSocket handshakes provide a minor security check, like CORS does for
Ajax: The `Origin` header. By providing an `allow_origin` configuration
key, we can ensure that users are connecting only from where we believe
they should be.

This is really easy to spoof, so this isn't a comprehensive security
measure.

Fixes #16

127 of 127 relevant lines covered (100.0%)

3.94 hits per line

Source Files on job 25.9 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25
  • Travis Job 25.9
  • f3494a48 on github
  • Prev Job for COVERAGE=1 on master (#24.9)
  • Next Job for COVERAGE=1 on master (#26.9)
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