DescriptionIDL: Don't lose nullable flag when "preprocessing" type
The preprocessing converts any enumeration type into IdlType('DOMString'),
including nullable enumeration types, which is wrong. It should convert an
nullable enumeration type into IdlNullableType(IdlType('DOMString')).
This change affects the code generation for the following methods and
attributes:
object? WebGLRenderingContextBase.getExtension()
VendorIDSource? BluetoothDevice.vendorIDSource [can return null]
RTCSdpType? RTCSessionDescription.type [can be set to and return null]
BUG=451602
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190259
Patch Set 1 : add test #Patch Set 2 : the actual fix #Patch Set 3 : fix compilation #
Total comments: 2
Messages
Total messages: 6 (2 generated)
|