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

zulip / zulip / 167 / 3
3%
master: 3%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2017 01:36AM UTC
Files 254
Run time 13s
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

03 Jan 2017 12:58AM UTC coverage: 90.026% (+0.004%) from 90.022%
TEST_SUITE=backend

push

travis-ci

timabbott
Fix duplicate notifications when multiple Zulip tabs are openend.

We attempted a number of different approaches to solving this problem:

First, we tried using HTML5 local storage to keep track of which
browser should have created the desktop notification.  This failed
because one needs locking, and it doesn't appear there is an working
locking implementation for HTML5 local storage that could allow us to
do this across tabs.  See #2936 for details.

Ultimately we went with setting the message ID as a tag.  Tags are
intended to be used for updating existing desktop notifications, which
means this implementation causes new notifications to flicker in and
out sometimes when multiple tabs are open, but that certainly beats
having duplicates.

Fixes #99.

24650 of 27381 relevant lines covered (90.03%)

0.9 hits per line

Source Files on job 167.3 (TEST_SUITE=backend)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 167
  • Travis Job 167.3
  • 4f9bbb1c on github
  • Prev Job for TEST_SUITE=backend on master (#165.4)
  • Next Job for TEST_SUITE=backend on master (#168.3)
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