Bug 250552
| Summary: | Provide public C API for detaching backing store of ArrayBuffer object created with JSObjectMakeArrayBufferWithBytesNoCopy() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kasper Isager Dalsgarð <kasperisager> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | keith_miller, mark.lam, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 13 | ||
Kasper Isager Dalsgarð
The public JavaScriptCore C API is currently missing functions for detaching the backing store of an ArrayBuffer object created with JSObjectMakeArrayBufferWithBytesNoCopy() and also functions for testing if such an ArrayBuffer object has been detached. The private C++ APIs are already there:
https://github.com/WebKit/WebKit/blob/2c3591d6db31967955f974e615d986177db22774/Source/JavaScriptCore/runtime/ArrayBuffer.h#L308-L309
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/104469032>