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

microlinkhq / browserless / 24029615898
89%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 11:13AM UTC
Jobs 9
Files 26
Run time 1min
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 Apr 2026 11:11AM UTC coverage: 88.85%. First build
24029615898

push

github

web-flow
chore(goto): better autoconsent setup (#712)

* chore(goto): better autoconsent setup

* fix(goto): catch eval errors in autoconsent handler

`page.evaluate(message.code)` can throw (runtime errors, navigation
during evaluation, invalid code) but had no try/catch, so sendMessage
was never called and autoconsent never received the evalResp — stalling
the consent-detection flow.  Fall back to `result: false` on failure,
matching the defensive `.catch(() => {})` pattern already used by
sendMessage.

Made-with: Cursor

* fix(goto): restrict autoconsent eval to main frame via nonce

page.exposeFunction propagates bindings to every frame, including
cross-origin iframes.  A malicious iframe could call
autoconsentSendMessage({type:'eval', code:'…'}) and page.evaluate
would execute that code in the main frame's context, bypassing the
Same-Origin Policy (same pattern as the DuckDuckGo Android UXSS,
CVSS 8.6).

Generate a per-page random nonce and wrap the binding in the top frame
only (window.self === window.top) so every legitimate message carries
it.  Child frames keep the raw CDP binding which lacks the nonce, so
their messages are silently rejected by the handler.

Made-with: Cursor

* fix: timeout setup

480 of 572 branches covered (83.92%)

Branch coverage included in aggregate %.

24 of 27 new or added lines in 1 file covered. (88.89%)

2309 of 2567 relevant lines covered (89.95%)

195178.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.48
packages/goto/src/adblock.js
Jobs
ID Job ID Ran Files Coverage
1 @browserless/capture - 24029615898.1 06 Apr 2026 11:13AM UTC 5
88.91
GitHub Action Run
2 @browserless/function - 24029615898.2 06 Apr 2026 11:13AM UTC 3
98.17
GitHub Action Run
3 browserless - 24029615898.3 06 Apr 2026 11:13AM UTC 2
97.16
GitHub Action Run
4 @browserless/screenshot - 24029615898.4 06 Apr 2026 11:13AM UTC 8
78.01
GitHub Action Run
5 @browserless/errors - 24029615898.5 06 Apr 2026 11:13AM UTC 1
96.52
GitHub Action Run
6 @browserless/screencast - 24029615898.6 06 Apr 2026 11:13AM UTC 1
95.74
GitHub Action Run
7 @browserless/devices - 24029615898.7 06 Apr 2026 11:13AM UTC 1
94.92
GitHub Action Run
8 @browserless/goto - 24029615898.8 06 Apr 2026 11:14AM UTC 2
89.34
GitHub Action Run
9 @browserless/lighthouse - 24029615898.9 06 Apr 2026 11:13AM UTC 3
98.51
GitHub Action Run
Source Files on build 24029615898
  • Tree
  • List 26
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24029615898
  • bf4ecb13 on github
  • Prev Build on master (#23235437300)
  • Next Build on master (#24030144117)
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