DescriptionAdd [TypeChecking=Interface] to Element interface
This affects the generated code for the methods
setAttributeNode()
setAttributeNodeNS()
removeAttributeNode()
insertAdjacentElement()
so that they now throw TypeError exceptions when called with invalid
argument values.
The implementations of each function contained code (removed here) that
checked for invalid argument values and threw exceptions, so the only
difference is the type of exception thrown (DOMException -> TypeError)
except for insertAdjacentElement() that was already throwing TypeErrors.
BUG=462561
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191256
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|