Index: LayoutTests/fast/xsl/xslt-processor.html |
diff --git a/LayoutTests/fast/xsl/xslt-processor.html b/LayoutTests/fast/xsl/xslt-processor.html |
index aae8fc1213837bdd26a33563149a13dafb689235..6dd2c1412e3cdc3a10ee09e3859e5474b51014f9 100644 |
--- a/LayoutTests/fast/xsl/xslt-processor.html |
+++ b/LayoutTests/fast/xsl/xslt-processor.html |
@@ -148,8 +148,8 @@ addResultExpectException(testname, function () { return processor.transformToFra |
// 2.2 fragment with undefined output document |
ownerDocument = document.implementation.createDocument("", "test", null); |
-newFragment = processor.transformToFragment(xml, undefined); |
-addResultExpectValueWhenSerialized("fragment with undefined output document", newFragment, undefined); |
+var testname = "fragment with undefined output document"; |
+addResultExpectException(testname, function () { return processor.transformToFragment(xml, undefined); }); |
// 2.3 use non-DOMDocument output parameter |
@@ -268,7 +268,7 @@ addResultExpectValue(testname, processor.getParameter("foo", "foo"), "Success"); |
processor.setParameter(undefined, "test", "testValue"); |
processor.removeParameter(undefined, "test"); |
-var testname = "verify removeParameter actually removes using undefined namespace"; |
+var testname = "verify removeParameter actually removes using undefined namespace"; |
addResultExpectValue(testname, processor.getParameter(null, "test"), undefined); |
// 6.3 pass removeParameter undefined name |
@@ -320,4 +320,4 @@ addResultExpectValueWhenSerialized(testname, resultDocument, undefined); |
</script> |
</body> |
-</html> |
+</html> |