Special Characters in xUnit Report
@tmbrbr ci sta già lavorando.
Dal 9/8/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
When running the JavaScript test suite in the browser context jstestbrowser, it is possible to specify a flag to produce xUnit XML output, i.e.
./mach jstestbrowser --log-xunit=jsbrowsertest_output.xml --headless
However, some of the tests contain ASCII control characters in their names (generated automatically from the test content), for example, small-codepoints.js
var gTestfile = 'small-codepoints.js';
//-----------------------------------------------------------------------------
var BUGNUMBER = 554079;
var summary = 'JSON.parse should reject U+0000 through U+001F';
print(BUGNUMBER + ": " + summary);
/**************
* BEGIN TEST *
**************/
for (var i = 0; i <= 0x1F; i++)
testJSON('["a' + String.fromCharCode(i) + 'c"]', true);
The code responsible for creating the xml is xunit.py which creates an XML tree, containing the control characters. Minidom is then used to parse the output, but throws a parser error when it finds the control chars.
I pushed a workaround (410b04439631458795eb8e6df55249954785372a) which removed control chars before passing to minidom, which seems to work.
This issue is open as a reminder to raise a bug report with firefox as it will also be present there.
- Lingua principale
- JavaScript
- Stelle
- 185
- Fork
- 29
- Merge medio
- 18h 41m
- PR unite (30g)
- 1
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- 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 SAP/project-foxhound
-
github
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
SAP/project-foxhound#369 ·
-
Merge Primitaint once and for all :)Forse già presa @tmbrbr l’ha presa 18 giorni fa. Apertaenhancement primitaint
SAP/project-foxhound#408 · 2 assegnatari ·
-
Update to Playwright v1.64Apertachore upstream
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
SAP/project-foxhound#388 ·
-
Update to Playwright v1.63Apertachore upstream
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
SAP/project-foxhound#387 ·
-
Collection of dangerous Coding PatternsForse di nuovo libera @tmbrbr l’ha presa 71 giorni fa e non c’è nessuna pull request aperta. Apertabug Incomplete taint propagation
SAP/project-foxhound#386 · 1 commento · 2 assegnatari ·
Tutte le issue di SAP/project-foxhound
Issue simili
-
accessibility area: css area: web ui bug difficulty: easy frontend good first issue help wanted javascript journey: first-visit journey: mobile priority: P3 quality tech: css tech: html typescript ui user-experience
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
[analytics-core] getQueryParams does not decode `+` as space and truncates values containing `=`Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
amplitude/Amplitude-TypeScript#2179 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
ci: raise .github/workflows/test.yml timeout-minutes from 20 to 35 as suite exceeds 30,899 testsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Jason-Vaughan/TangleClaw#3075 ·
I maintainer di solito rispondono entro 1 giorno
-
fix(frontend): resolve SSE parser crash on unhandled Ref methods and undefined actions identifierApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kodokbakar/MiroFish-Local#94 ·
I maintainer di solito rispondono entro 1 giorno
-
framework/gatsby help wanted kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno