| Index: LayoutTests/fast/dom/Document/script-tests/createElementNS-namespace-err.js
|
| diff --git a/LayoutTests/fast/dom/Document/script-tests/createElementNS-namespace-err.js b/LayoutTests/fast/dom/Document/script-tests/createElementNS-namespace-err.js
|
| index 5f7cbf7114cd8ed077441e463eb57c1a499c5c8b..47ab423e4369d9726732d724368af63bb4f90473 100644
|
| --- a/LayoutTests/fast/dom/Document/script-tests/createElementNS-namespace-err.js
|
| +++ b/LayoutTests/fast/dom/Document/script-tests/createElementNS-namespace-err.js
|
| @@ -37,10 +37,10 @@ function assertEquals(actual, expect, m)
|
| var allNSTests = [
|
| { args: [undefined, undefined] },
|
| { args: [null, undefined] },
|
| - { args: [undefined, null], code: 5 },
|
| - { args: [null, null], code: 5 },
|
| + { args: [undefined, null] },
|
| + { args: [null, null] },
|
| { args: [null, ""], code: 5 },
|
| - { args: ["", null], code: 5 },
|
| + { args: ["", null] },
|
| { args: ["", ""], code: 5 },
|
| { args: [null, "<div>"], code: 5 },
|
| { args: [null, "0div"], code: 5 },
|
| @@ -86,7 +86,7 @@ var allNSTests = [
|
|
|
| var allNoNSTests = [
|
| { args: [undefined] },
|
| - { args: [null], code: 5 },
|
| + { args: [null] },
|
| { args: [""], code: 5 },
|
| { args: ["<div>"], code: 5 },
|
| { args: ["0div"], code: 5 },
|
| @@ -157,10 +157,6 @@ function runNSTests(tests, doc, createFunctionName)
|
| }
|
| }
|
|
|
| -// Moz throws a "Not enough arguments" exception in these, we don't:
|
| -shouldBeEqualToString("document.createElementNS().toString()", "[object Element]");
|
| -shouldBeEqualToString("document.createElementNS(\"http://www.example.com\").toString()", "[object Element]");
|
| -
|
| debug("HTML tests:")
|
| runNSTests(allNSTests, document, "createElementNS");
|
| runNSTests(allNoNSTests, document, "createElement");
|
|
|