fix: postMessage
crash with invalid transferrable (#46666)
* fix: postMessage crash with invalid transferrable Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * chore: address review feedback Co-authored-by: Charles Kerr <charles@charleskerr.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
ee04cb9ebe
commit
0675686451
5 changed files with 82 additions and 31 deletions
|
@ -11,6 +11,9 @@
|
|||
|
||||
namespace gin_helper {
|
||||
|
||||
bool IsValidWrappable(const v8::Local<v8::Value>& obj,
|
||||
const gin::WrapperInfo* wrapper_info);
|
||||
|
||||
namespace internal {
|
||||
|
||||
void* FromV8Impl(v8::Isolate* isolate, v8::Local<v8::Value> val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue