Repository navigation
Conversation
|
Warning Review limit reached
Next review available in: 7 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
Comment |
|
Updated 4:52 AM PT - Jul 26th, 2026
✅ @robobun, your commit 549fae478852faca97056c0c784b28879bd83478 passed in 🧪 To try this PR locally: bunx bun-pr 35937That installs a local version of the PR into your bun-35937 --bun |
There was a problem hiding this comment.
LGTM — one-line docs addition.
What was reviewed:
- Verified against
ZigGlobalObject.cpp:navigatorexposes exactlyuserAgent,platform, andhardwareConcurrency, so the notes column is accurate. - Row is placed alphabetically between
moduleandperformance, and the MDN link/table formatting matches neighboring rows.
Extended reasoning...
Overview
Adds a single row for navigator to the runtime globals table in docs/runtime/globals.mdx, linking to MDN and noting the three properties Bun implements. Fixes #35936.
Security risks
None. Docs-only change with no executable code.
Level of scrutiny
Low. This is a one-line markdown table insertion. I cross-referenced the claim against the actual implementation in src/jsc/bindings/ZigGlobalObject.cpp (m_navigatorObject.initLater), which confirms the object has exactly userAgent, platform, and hardwareConcurrency getters plus a Symbol.toStringTag — the doc text is accurate and doesn't over- or under-claim.
Other factors
Alphabetical placement is correct (m < n < p). The MDN link target and column padding match the style of surrounding rows. No prior reviews to address, and no CODEOWNERS concerns for docs. The bug hunting system found no issues.
Fixes #35936
navigatorwas missing from the globals table at https://bun.com/docs/runtime/globals even though Bun has shipped it for a while.Bun's
navigatorimplementsuserAgent,platform, andhardwareConcurrency(verified against the current release), so the new row notes exactly that. Browser-only properties likenavigator.clipboardare not implemented in Bun today (there is a separate feature PR for that, #33312), which is why TypeScript correctly rejects them.no test proof · iteration 0 · docs-only change; test-proof not applicable