1 Test how Node.prefix setter raises NAMESPACE_ERR.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
".
4
5
6 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names
paceError: Failed to set the 'prefix' property on 'Element': No namespace is set
, so a namespace prefix may not be set..
7 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names
paceError: Failed to set the 'prefix' property on 'Element': The prefix 'xml' ma
y not be set on namespace 'foo'..
Issue 298063010: Remove the Element.prefix setter
(Closed)
Created 6 years, 7 months ago by philipj_slow
Modified 6 years, 6 months ago
Reviewers:
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 0