[Webkit-unassigned] [Bug 279782] New: Clean up BufferSource idl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 16 14:23:25 PDT 2024


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

            Bug ID: 279782
           Summary: Clean up BufferSource idl
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pascoe at apple.com
                CC: webkit-bug-importer at group.apple.com

Right now, BufferSource is defined in IDL to be the union of ArrayBuffer and ArrayBuffer view, but we also have a type in WebCore that holds a variant to represent it. 


This doesn't work when using JSGenerateToJSObject and JSGenerateToNativeObject because it tries to use the inner type. This turns out to be tricky.


We should make this work nicely.

-- 
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/20240916/bd71253c/attachment.htm>


More information about the webkit-unassigned mailing list