Bug 279782
Summary: | Clean up BufferSource idl | ||
---|---|---|---|
Product: | WebKit | Reporter: | pascoe <pascoe> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
pascoe@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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/136102779>