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

microlinkhq / browserless / 24029615898 / 1
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 11:14AM UTC
Files 5
Run time 2s
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.906%. First build
24029615898.1

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

98 of 128 branches covered (76.56%)

Branch coverage included in aggregate %.

487 of 530 relevant lines covered (91.89%)

14.33 hits per line

Source Files on job @browserless/capture - 24029615898.1
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24029615898
  • bf4ecb13 on github
  • Next Job for on master (#24030144117.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