mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibWeb: Reject invalid processing instructions
This commit is contained in:
parent
80d9949264
commit
f88f41cf1e
Notes:
github-actions[bot]
2024-11-06 17:49:42 +00:00
Author: https://github.com/Gingeh
Commit: f88f41cf1e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2195
6 changed files with 115 additions and 2 deletions
|
@ -0,0 +1,22 @@
|
|||
Summary
|
||||
|
||||
Harness status: OK
|
||||
|
||||
Rerun
|
||||
|
||||
Found 12 tests
|
||||
|
||||
12 Pass
|
||||
Details
|
||||
Result Test Name MessagePass Document.createProcessingInstruction in XML documents
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "A" and data "?>".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "·A" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "×A" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "A×" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "\\A" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "\f" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target 0 and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "0" and data "x".
|
||||
Pass Should get a ProcessingInstruction for target "xml:fail" and data "x".
|
||||
Pass Should get a ProcessingInstruction for target "A·A" and data "x".
|
||||
Pass Should get a ProcessingInstruction for target "a0" and data "x".
|
|
@ -0,0 +1,22 @@
|
|||
Summary
|
||||
|
||||
Harness status: OK
|
||||
|
||||
Rerun
|
||||
|
||||
Found 12 tests
|
||||
|
||||
12 Pass
|
||||
Details
|
||||
Result Test Name MessagePass Document.createProcessingInstruction in HTML documents
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "A" and data "?>".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "·A" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "×A" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "A×" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "\\A" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "\f" and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target 0 and data "x".
|
||||
Pass Should throw an INVALID_CHARACTER_ERR for target "0" and data "x".
|
||||
Pass Should get a ProcessingInstruction for target "xml:fail" and data "x".
|
||||
Pass Should get a ProcessingInstruction for target "A·A" and data "x".
|
||||
Pass Should get a ProcessingInstruction for target "a0" and data "x".
|
Loading…
Add table
Add a link
Reference in a new issue