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

microlinkhq / browserless / 34700068245
79%

Build:
DEFAULT BRANCH: master
Ran 12 Sep 2026 02:43PM UTC
Jobs 10
Files 46
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

12 Sep 2026 02:42PM UTC coverage: 81.832% (+0.8%) from 81.05%
34700068245

push

github

web-flow
fix(goto): run autoconsent in an isolated world (#926)

* fix(goto): run autoconsent in an isolated world

autoconsent lived in the page's main world: exposeFunction left
puppeteer_autoconsentSendMessage, autoconsentSendMessage and
autoconsentReceiveMessage on window, and its DOM scans showed up in
stack traces captured by page hooks.

Inject it with Page.addScriptToEvaluateOnNewDocument into a named
isolated world, expose the binding only to that world, and answer
through Runtime.callFunctionOn in the calling context. Messages are
accepted only from the top frame's autoconsent context, which replaces
the nonce guard: the page cannot reach an isolated world. Rule eval
snippets still run in the main world because they read page globals.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0116zka7w2WKPSi3kqHyVAET

* fix(goto): harden isolated autoconsent setup

- cache the setup promise before the first await, so concurrent goto
  calls on one page register one listener set and answer each message
  once
- give the raw CDP binding its own name: Chrome re-installs bindings on
  a back/forward cache restore and used to replace the wrapper
- detach the session listeners when the page closes
- drop the redundant receive-message guard; autoconsent's bundle already
  skips a second instance in the same world
- drop the executionContextDestroyed handler: navigations only emit
  executionContextsCleared for the top-frame world, and context ids are
  reused across documents, so clearing is what keeps the filter correct

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0116zka7w2WKPSi3kqHyVAET

* fix(goto): consume autoconsent handler rejections and reset init per document

- a rejected message handler (e.g. the rules file failing to load during
  init) was a floating promise; under Node's default policy it crashes
  the process
- `_auto... (continued)

1134 of 1346 branches covered (84.25%)

Branch coverage included in aggregate %.

277 of 282 new or added lines in 1 file covered. (98.23%)

5145 of 6327 relevant lines covered (81.32%)

79584.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
98.63
2.05% packages/goto/src/adblock.js
Jobs
ID Job ID Ran Files Coverage
1 @browserless/errors - 34700068245.1 12 Sep 2026 02:43PM UTC 1
99.43
GitHub Action Run
2 @browserless/devices - 34700068245.2 12 Sep 2026 02:43PM UTC 1
94.85
GitHub Action Run
3 @browserless/function - 34700068245.3 12 Sep 2026 02:43PM UTC 3
97.1
GitHub Action Run
4 @browserless/screenshot - 34700068245.4 12 Sep 2026 02:43PM UTC 12
73.38
GitHub Action Run
5 @browserless/ai - 34700068245.5 12 Sep 2026 02:44PM UTC 6
73.14
GitHub Action Run
6 @browserless/capture - 34700068245.6 12 Sep 2026 02:43PM UTC 11
86.63
GitHub Action Run
7 @browserless/screencast - 34700068245.7 12 Sep 2026 02:43PM UTC 1
96.08
GitHub Action Run
8 browserless - 34700068245.8 12 Sep 2026 02:44PM UTC 3
79.52
GitHub Action Run
9 @browserless/lighthouse - 34700068245.9 12 Sep 2026 02:43PM UTC 3
97.83
GitHub Action Run
10 @browserless/goto - 34700068245.10 12 Sep 2026 02:45PM UTC 5
84.6
GitHub Action Run
Source Files on build 34700068245
  • Tree
  • List 46
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34700068245
  • 38a67163 on github
  • Prev Build on master (#34699172722)
  • Next Build on master (#34700594853)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc