From 107a9290b24f385729f28b271016083e71f05d9c Mon Sep 17 00:00:00 2001 From: Queen Vinyl Darkscratch Date: Wed, 2 Jun 2021 23:13:51 -0700 Subject: [PATCH 1/2] Fix custom test for ProcessingInstruction API --- custom-tests.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-tests.json b/custom-tests.json index 7bba149b3..590dd9f1c 100644 --- a/custom-tests.json +++ b/custom-tests.json @@ -838,7 +838,7 @@ "__base": "var instance = navigator.plugins;" }, "ProcessingInstruction": { - "__base": "var instance = document.createProcessingInstruction('xml', \"version='1.0' encoding='UTF-8'\");" + "__base": "var instance = document.createProcessingInstruction('bcd', \"version='1.0' encoding='UTF-8'\");" }, "Range": { "__base": "var instance = document.createRange();" From 1d90aeed8c1a04d2b64c4e7523db78c5acf1b9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 3 Jun 2021 09:51:50 +0200 Subject: [PATCH 2/2] Update custom-tests.json --- custom-tests.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-tests.json b/custom-tests.json index 590dd9f1c..e175d4be8 100644 --- a/custom-tests.json +++ b/custom-tests.json @@ -838,7 +838,7 @@ "__base": "var instance = navigator.plugins;" }, "ProcessingInstruction": { - "__base": "var instance = document.createProcessingInstruction('bcd', \"version='1.0' encoding='UTF-8'\");" + "__base": "var instance = document.createProcessingInstruction('xml-stylesheet', 'type=\"text/xsl\" href=\"transform.xsl\"');" }, "Range": { "__base": "var instance = document.createRange();"