| Index: LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html
|
| diff --git a/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html b/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..04eea69e3d6a17f321704d8eb02d20eb56e0ac65
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data.html
|
| @@ -0,0 +1,14 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +['?>', 'foo?>bar'].forEach(function(data)
|
| +{
|
| + shouldThrow("document.createProcessingInstruction('name', '" + data + "')");
|
| +});
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|