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

optimizely / javascript-sdk / 18315953326 / 2
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2025 02:27PM UTC
Files 121
Run time 5s
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

07 Oct 2025 02:25PM UTC coverage: 78.76% (-0.2%) from 78.946%
18315953326.2

push

github

web-flow
    [FSSDK-11879] flush events without closing client on page unload (#1087)

Currently, in browser, when the page is unloaded, the sdk instance is being closed in order to flush pending events. But when the page is loaded from [bfcache](https://developer.mozilla.org/en-US/docs/Glossary/bfcache), the sdk instance stays closed as bfcache restores the Javascript heap as well, which causes further events to be not processed. 

This PR updates the code to flush events on page unload without closing the sdk instance.

1458 of 2804 branches covered (52.0%)

Branch coverage included in aggregate %.

8832 of 10261 relevant lines covered (86.07%)

84.13 hits per line

Source Files on job run-24 - 18315953326.2
  • Tree
  • List 121
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 18315953326
  • 99a4ca72 on github
  • Prev Job for on master (#18291386101.1)
  • Next Job for on master (#18506038421.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