Sign in
webkit
/
WebKit
/
a847461eedf68a16e2d2491447608ea3bf9d7890
/
.
/
LayoutTests
/
fast
/
dom
/
script-tests
/
setAttributeNS-prefix-and-null-namespace.js
blob: 90e6bf658561dbc1bc118cea2e7739a88fbbbbd6 [
file
] [
log
] [
blame
]
description
(
"Test that calling setAttributeNS() with a prefixed qualifiedName and null NS throws NAMESPACE_ERR."
);
shouldThrow
(
"document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz')"
,
"'Error: NamespaceError: DOM Exception 14'"
);