LibWeb: Reject invalid processing instructions

This commit is contained in:
Gingeh
2024-11-06 22:01:36 +11:00
committed by Andreas Kling
parent 80d9949264
commit f88f41cf1e
Notes: github-actions[bot] 2024-11-06 17:49:42 +00:00
6 changed files with 115 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document.createProcessingInstruction in XML documents</title>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-document-createprocessinginstruction"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-target"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-node-ownerdocument"/>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"/>
<script src="Document-createProcessingInstruction.js"/>
</body>
</html>