You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leotm
changed the title
Non-standard ownProperty length on AsyncGenerator and AsyncFunctionPrototype only on jsc-android
Non-standard ownProperty length on AsyncGenerator and AsyncFunctionPrototype
Apr 17, 2023
Issue Description
In android-jsc we're adding non-standard ownProperty
length
On our AsyncGenerator (shown below) and AsyncFunctionPrototype
Reflect.ownKeys(AsyncGenerator)
on iOS["constructor", "prototype", Symbol(Symbol.toStringTag)]
Other engines (like android-v8 when remote debugging) don't add the
length
property tooReflect.ownKeys(AsyncGenerator)
on Android["length", "constructor", "prototype", Symbol(Symbol.toStringTag)]
This only happens on Android, which is against the ECMAScript standard
WebKitGTK everywhere else isn't adding our
length
property here ^Repro
grab.cjs
.babelignore
index.js
Version, config, any additional info
RN 0.66.5, so default
"jsc-android": "^250231.0.0"
(WebKitGTK 2.26.1)RN 0.66.5, iOS default
Not yet tested on later versions
The text was updated successfully, but these errors were encountered: