LibWeb/DOM: Remove unnecessary LegacyNullToEmptyString usage
Perhaps this made a difference with an older version of the IDL generator, but as far as I can tell, this no longer has any effect. Remove the use of this attribute to match the specification IDL definition.
This commit is contained in:
parent
2328c272e5
commit
b52a7cdc6e
1 changed files with 1 additions and 4 deletions
|
|
@ -31,10 +31,7 @@ interface Node : EventTarget {
|
|||
readonly attribute Node? nextSibling;
|
||||
|
||||
[CEReactions] attribute DOMString? nodeValue;
|
||||
// FIXME: [LegacyNullToEmptyString] is not allowed on nullable types as per the Web IDL spec.
|
||||
// However, we only apply it to setters, so this works as a stop gap.
|
||||
// Replace this with something like a special cased [LegacyNullToEmptyString].
|
||||
[LegacyNullToEmptyString, CEReactions] attribute Utf16DOMString? textContent;
|
||||
[CEReactions] attribute Utf16DOMString? textContent;
|
||||
[CEReactions] undefined normalize();
|
||||
|
||||
[ImplementedAs=clone_node_binding, CEReactions] Node cloneNode(optional boolean deep = false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue