Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: LayoutTests/fast/xsl/xslt-processor.html

Issue 996603003: Add [TypeChecking=Interface] to XSLTProcessor interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/xsl/xslt-processor-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/xsl/xslt-processor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698