DescriptionIDL: Use V8StringResource<WithNullCheck> for nullable DOMString
For methods this means that the two methods
void f(DOMString? arg)
void g([TreatNullAs=NullString] DOMString arg)
behave the same. Before this fix, the nullability of f()'s argument was
simply ignored.
For attributes this means that the C++ setter is called with a null string
if a null value is assigned to the attribute.
There are no CG changes since there are neither nullable string arguments
nor writable nullable string attributes in our IDL files. There are such
things in specifications, so supporting this is meaningful.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176998
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|