[Webkit-unassigned] [Bug 178598] ArrayBufferView Should still give the array buffer even if it's neutered.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 13 10:18:18 PDT 2020


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

Yusuke Suzuki <ysuzuki at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ysuzuki at apple.com

--- Comment #10 from Yusuke Suzuki <ysuzuki at apple.com> ---
Comment on attachment 324429
  --> https://bugs.webkit.org/attachment.cgi?id=324429
Patch

I think we need to check the existing users of `possiblySharedBuffer()` carefully. I think there are a lot of users which expect `nullptr` as neutered status. But they are now wrong. So we should fix them too.
Another question is, if neutering does not make it nullptr, can we change this signature to `Ref<ArrayBuffer> possiblySharedBuffer() const` instead? If we cannot do that, when do we get nullptr?

-- 
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/20200613/bb1b5194/attachment.htm>


More information about the webkit-unassigned mailing list