Repository navigation
fix(watcher): read Firefox page titles from the active window root - #428
Conversation
Git-Session-Id: cf75a813-f34f-431d-a1e8-d5f70423f278
|
What changed: 4 files, +92/-22 in Review guideKey files
Suggested verification
Auto-posted by |
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable issues remain. SummaryThe PR reads Firefox titles from the matching active window root while keeping title throttling and avoiding page-content walks.
Reviews (3) · Last reviewed commit: "fix(watcher): reject foreign roots befor..." · Reviewed by Greptile |
Git-Session-Id: 26bdeeec-41b1-5629-84cc-195971587a75
This comment has been minimized.
This comment has been minimized.
|
CI-green and mergeable (Greptile 5/5) — waiting only on a maintainer click. This PR is ready to merge, but the bot has pull-only access to this repo and can't self-merge — surfacing it here so it isn't lost. The monitoring loop will stop re-flagging it now that this note is posted. |
🤖 AI code reviewSafe to merge — no P0/P1 findings on latest reviewUpdated after inline dispositions on finding threads — this is the current state; the verdict below is frozen at review time and is kept as the historical record of that pass. Finding disposition
The PR reads page titles for the three Gecko packages ( Needs a look — P2 onlyConfidence 4/5 1 finding ·
|
| commit | score | findings | engine | when |
|---|---|---|---|---|
c1ec77cb7390 |
4/5 | 1 | subscription | 2026-12-03 13:25 UTC |
Reviewed 410acf890041 · panel: claude-code:claude-opus-5-5 + codex:gpt-6.1-sol + claude-code:claude-opus-5-5#2 · subscription engine · 84s · about this reviewer
Maintainer commands
@TimeToBuildBob review (own line) — fresh review · @TimeToBuildBob fix — a worker acts on the findings. Once per comment; 👀 = received.
Git-Session-Id: 6a36555b-0877-5dbc-bf0d-6cefb7a350fa
|
@greptileai review |
Review adjudication — maintainer decision
No merge performed; leaving the accuracy trade-off and merge decision with the maintainer. |
Summary
Capture Firefox page titles from the matching active window root, where Gecko exposes the page WebView, rather than from an accessibility event's source (often only the toolbar).
This is a follow-up after #422, not another fix for the URL traversal ANR.
Reproduction and verification
CT102 Android API 34 emulator, Firefox 160.0.1, two locally served pages with distinct URLs and titles:
91b4491cCI APK logs the Firefox URL but noTitle:line.android.webkit.WebView text="B11D Page A"under the active root.Title: B11D Page AandTitle: B11D Page B.Observed completed events (local fixture, no personal browsing data):
{"url":"10.0.2.2:8765/a.html","browser":"org.mozilla.firefox","title":"B11D Page A"} {"url":"10.0.2.2:8765/b.html","browser":"org.mozilla.firefox","title":"B11D Page B"}Page A, got empty), passes with the fix../gradlew --no-daemon --max-workers=2 :mobile:testStandardDebugUnitTest: 479 tests, 0 failures.:mobile:assembleStandardDebug: passes; tested using native libraries from the same current-master CI artifact.Older Gecko versions that expose no page WebView/title still produce an empty title; no multi-window enumeration or unbounded fallback is added.