ISO-2022-JP does not reset state when returning error
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- api
Direzione di ricerca
Start by reviewing the ISO-2022-JP streaming decoder behavior in fatal mode and compare how other encodings handle state after returning an error. Confirm whether the decoder state is reset after the exception and define the expected API behavior before changing the standard or adding coverage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is the issue with the Encoding Standard?
As noted in https://github.com/web-platform-tests/wpt/pull/56892 by @ChALkeR when you stream ISO-2022-JP content in fatal mode you can get an exception and then after that exception it'll continue in the same state where it was before the exception.
Other encodings reset state when returning error.
I think this was intentional because of the non-fatal mode (should probably double check), but maybe for the fatal mode we should do something in the API. E.g., we could reset the internal decoder before throwing.
- Lingua principale
- HTML
- Stelle
- 323
- Fork
- 94
- Merge medio
- 21m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 whatwg/encoding
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
topic: api
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
Add support for [AllowResizable] inputsForse già presa @daxpedda l’ha presa 220 giorni fa. Apertaaddition/proposal topic: api
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 22/100
-
addition/proposal needs implementer interest
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di whatwg/encoding
Issue simili
-
Add TuneIn-DirMon in the bot listForse già presa @liviuconcioiu l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
matomo-org/device-detector#8424 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] [Go] Ack returns nil when the server answers with a non-OK statusForse già presa @leizhiyuan l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
apache/rocketmq-clients#1465 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
medusajs/dtc-starter#90 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
NVIDIA/flare-local-inference#90 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
zaidmukaddam/scira#261 ·