DescriptionUse code generator's argument processing in custom WebGL methods
The argument handling in these methods is not special, it's typically
their return values that need custom code, so align the argument
processing with what the code generator would have done.
This was done by temporarily dropping the [Custom] on these methods, and
then simply copy the corresponding blocks of code from the generated
methods.
This fixes exception handling in some cases where argument conversion
failed, for instance if getFramebufferAttachmentParameter() was called
with an object as the first argument, and that object had a valueOf()
function that threw an exception. The old custom code would simply
ignore that exception, for unknown reasons.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177946
Patch Set 1 : #
Total comments: 2
Messages
Total messages: 5 (0 generated)
|