Advanced build refuses keys in background tabs with about:blank or srcdoc frames
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Start with the key-routing check that requires every frame owner to hold a readable document of the granted main origin, then the CDP adapter unit tests in tests/unit/browser/cdp-adapter.test.ts. Work out how about:blank and srcdoc frames should inherit their parent's origin, and keep refusing when the document is missing or any ancestor is not granted. Done means the unit tests cover both cases and an e2e page with a blank editor iframe in a background tab routes keys correctly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
In the Advanced build, when no accessibility tree shows focus (always the case for the page itself in a background agent tab), a key goes to the main document only if every frame owner on the page holds a readable document of the granted main origin. Frames whose document is about:blank or srcdoc have no origin in the frame tree, so they fail this check. Pages that use blank iframes as editors (CKEditor 4, TinyMCE in iframe mode) or empty ad slots therefore refuse every key in a background tab with origin_not_granted. This is safe (it never lets a key through) but blocks real pages.
Expected
- Treat an
about:blank/srcdocframe as same-origin with its parent when Chrome returned its document to the session (same process) and the parent chain up to the main frame is granted, matching the HTML origin inheritance rule. - Keep refusing when the document is missing (out of process) or any ancestor is not granted.
- Unit tests in
tests/unit/browser/cdp-adapter.test.tsand an e2e page with a blank editor iframe in a background tab.
Found in review of #18.
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 1
- Merge medio
- 2g 5h
- PR unite (30g)
- 4
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextlevelbuilder/dewee-chrome-ext
-
feat(browser/ux): visible in-tab AI control indicator, action highlight and optional agent cursorApertaai-handle enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
-
feat(browser): structured observations v2 and policy-checked micro-batching for adaptive decisionsApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
feat(quality): QGP browser postconditions, DOM-first verification và opt-in visual escalationApertaenhancement security
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
-
enhancement security
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
nextlevelbuilder/dewee-chrome-ext#35 · 2 commenti ·
-
security(browser): block off-grant navigations in agent tabs before the request leaves ChromeForse di nuovo libera @mrgoonie l’ha presa 48 giorni fa e non c’è nessuna pull request aperta. Apertaneeds-design security
nextlevelbuilder/dewee-chrome-ext#33 · 1 assegnatario ·
Tutte le issue di nextlevelbuilder/dewee-chrome-ext
Issue simili
-
prio:low scope:hud
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OliverRomhagen/vrigstad-joyride#953 ·
I maintainer di solito rispondono entro 1 giorno
-
review-followup
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
griffinwork40/agent-afk#5446 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
kacper-szewczyk/Ticknest#346 ·
I maintainer di solito rispondono entro 1 giorno
-
echarts geo: a GeoJSON URL that returns 200 with a body that is not JSON is fetched on each refreshApertabug plugin/echarts/geo
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
Yeachan-Heo/gajae-code#8230 ·
I maintainer di solito rispondono entro 1 giorno