DescriptionIDL: Make idl_type.is_wrapper_type false for callback interfaces
Callback interface types (when used as method arguments) have special
pre-conversion error handling, and special conversion code, and making
idl_type.is_wrapper_type false disables the normal interface type
error handling that is generated after the conversion (by checking for
null) when [TypeChecking=Interface].
Other effects of making idl_type.is_wrapper_type false for callback
interfaces are:
- Callback interface types can no longer be used as arguments to methods
implemented in private script. Reverting this effect would be trivial.
- If a callback interface type argument is the distinguishing argument
for an overloaded method, we stop generating code that doesn't compile
and instead generate no code at all for that method overload.
BUG=462561
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195181
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|