зеркало из https://github.com/electron/electron.git
chore: generator objects can't be sent over the context bridge (#37593)
* chore: generator objects can't be sent over the context bridge * Trigger Build --------- Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
Родитель
b27e4cae21
Коммит
97b19a7946
|
@ -96,9 +96,9 @@ bool IsPlainObject(const v8::Local<v8::Value>& object) {
|
|||
object->IsWeakMap() || object->IsWeakSet() ||
|
||||
object->IsArrayBuffer() || object->IsArrayBufferView() ||
|
||||
object->IsArray() || object->IsDataView() ||
|
||||
object->IsSharedArrayBuffer() || object->IsProxy() ||
|
||||
object->IsSharedArrayBuffer() || object->IsGeneratorObject() ||
|
||||
object->IsWasmModuleObject() || object->IsWasmMemoryObject() ||
|
||||
object->IsModuleNamespaceObject());
|
||||
object->IsModuleNamespaceObject() || object->IsProxy());
|
||||
}
|
||||
|
||||
bool IsPlainArray(const v8::Local<v8::Value>& arr) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче