google / google/ios-webkit-debug-proxy

Proxy returns an empty array of tabs for a few seconds after launch

Aperta
#5 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
6.2k
Fork
480
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

1. Have Safari running on a tethered iOS device.
2. Launch the proxy with -c :9222 (not sure if -c matters).
3. _Quickly_ (as in -- scripted) make requests to http://localhost:9222/json.

A few first requests will return "[]", then it will begin returning a correct list of tabs.

I suspect it's a race between the HTTP requests and the proxy's handshake with the device.

Could the proxy hold HTTP responses until the handshake is done? The requests would just take a few seconds when made right after launching the proxy.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando l’avvio del proxy e l’handshake del dispositivo, quindi esamina come vengono gestite le richieste a /json dopo l’avvio con -c :9222. Riproduci le richieste dello script verso http://localhost:9222/json e verifica che le risposte non restituiscano un elenco di schede vuoto mentre l’handshake è ancora in corso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
c
Ambito
devtools, networking
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.