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

Unified Diff: LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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
Index: LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
diff --git a/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt b/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
index f7eda8be4f9935ff6d198daeaf4de371cf97de22..8c3e7c590e5025767aa0074b77f6f690d799f1ad 100644
--- a/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
+++ b/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt
@@ -3,15 +3,13 @@ createElementNS tests from mozilla, attached to webkit bug 16833
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.createElementNS().toString() is "[object Element]"
-PASS document.createElementNS("http://www.example.com").toString() is "[object Element]"
HTML tests:
PASS createElementNS(, )
PASS createElementNS(null, )
-PASS createElementNS(, null); threw INVALID_CHARACTER_ERR
-PASS createElementNS(null, null); threw INVALID_CHARACTER_ERR
+PASS createElementNS(, null)
+PASS createElementNS(null, null)
PASS createElementNS(null, ""); threw INVALID_CHARACTER_ERR
-PASS createElementNS("", null); threw INVALID_CHARACTER_ERR
+PASS createElementNS("", null)
PASS createElementNS("", ""); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "<div>"); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "0div"); threw INVALID_CHARACTER_ERR
@@ -47,7 +45,7 @@ PASS createElementNS("http://www.w3.org/2000/xmlns/", "xmlns:test")
PASS createElementNS("http://www.w3.org/XML/1998/namespace", "xml:test")
PASS createElementNS("http://www.w3.org/XML/1998/namespace", "x:test")
PASS createElement()
-PASS createElement(null); threw INVALID_CHARACTER_ERR
+PASS createElement(null)
PASS createElement(""); threw INVALID_CHARACTER_ERR
PASS createElement("<div>"); threw INVALID_CHARACTER_ERR
PASS createElement("0div"); threw INVALID_CHARACTER_ERR
@@ -76,7 +74,7 @@ PASS createElement("xmlns:test")
PASS createElement("SOAP-ENV:Body")
XHTML createElement tests:
PASS createElement()
-PASS createElement(null); threw INVALID_CHARACTER_ERR
+PASS createElement(null)
PASS createElement(""); threw INVALID_CHARACTER_ERR
PASS createElement("<div>"); threw INVALID_CHARACTER_ERR
PASS createElement("0div"); threw INVALID_CHARACTER_ERR
@@ -105,7 +103,7 @@ PASS createElement("xmlns:test")
PASS createElement("SOAP-ENV:Body")
XML createElement tests:
PASS createElement()
-PASS createElement(null); threw INVALID_CHARACTER_ERR
+PASS createElement(null)
PASS createElement(""); threw INVALID_CHARACTER_ERR
PASS createElement("<div>"); threw INVALID_CHARACTER_ERR
PASS createElement("0div"); threw INVALID_CHARACTER_ERR
« no previous file with comments | « LayoutTests/editing/style/bold-with-dom-changes.html ('k') | LayoutTests/fast/dom/Document/missing-arguments.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698