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,11 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Document.createProcessingInstruction in HTML 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>
<div id=log></div>
<script src="Document-createProcessingInstruction.js"></script>