[Webkit-unassigned] [Bug 126553] createElementNS does not handle 'xmlns' name correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 7 10:58:34 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=126553
--- Comment #9 from Alexey Proskuryakov <ap at webkit.org> 2014-01-07 10:56:18 PST ---
(From update of attachment 220494)
View in context: https://bugs.webkit.org/attachment.cgi?id=220494&action=review
> LayoutTests/fast/dom/createElementNS-namespace-errors.html:10
> +shouldThrow("document.createElementNS(null, 'foo:bar', 'baz')", '"Error: NamespaceError: DOM Exception 14"');
Might be a stupid question... What is the third argument in all the tests?
> LayoutTests/fast/dom/createElementNS-namespace-errors.html:18
> +shouldNotThrow("document.createElementNS('http://www.w3.org/2000/xmlns/', 'xmlns', 'http://wwww.example.org')");
> +shouldThrow("document.createElementNS('http://www.w3.org/2000/not-xmlns/', 'xmlns', 'http://wwww.example.org')", '"Error: NamespaceError: DOM Exception 14"');
Might be nice to test for what elements these actually create, not just whether they raise exceptions or not. That's far from obvious, I think.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list