[Webkit-unassigned] [Bug 211528] New: [Conditional=] not working for operations in WebGLRenderingContextBase.idl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 6 13:27:47 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=211528

            Bug ID: 211528
           Summary: [Conditional=] not working for operations in
                    WebGLRenderingContextBase.idl
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: svillar at igalia.com
                CC: cdumez at apple.com

In https://bugs.webkit.org/show_bug.cgi?id=211506 I'm adding a new method to the IDL with a Conditional. However the generated JSWebGLRenderingContext.cpp (note that WebGLRenderingContext inherits from WebGLRenderingContexBase) only has the ENABLE(WEBGL) guard in the method which comes from the value of Conditional in the interface definition in WebGLRenderingContextBase.idl.

The new method is not the problem. I've verified that any Conditional specified in any attribute/operation in that IDL file is either ignored or overwritten by the conditional in the interface definition.

I've also verified that this does not happen on other IDL files which do already define per-operation conditionals in IDL interfaces with no implementation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200506/9e66b008/attachment-0001.htm>


More information about the webkit-unassigned mailing list