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
Please, provide the following version numbers that your issue occurs with:
Does not matter, web view runtime issue
Please, tell us how to recreate the issue in as much detail as possible.
Open some site in web view which executes script in global scope like (code from real 3DS payment form): for (i = 0, ii = 0; i < method.length; i++) {
...
}
Which platform(s) does your issue occur on?
Both (examples below reproducible on iOS)
Please, provide the following version numbers that your issue occurs with:
Does not matter, web view runtime issue
Please, tell us how to recreate the issue in as much detail as possible.
Open some site in web view which executes script in global scope like (code from real 3DS payment form):
for (i = 0, ii = 0; i < method.length; i++) {
...
}
Is there any code involved?
The reason of the issue is this code:
ui-webview/www-src/bridge.ios.ts
Line 83 in b7c440f
ui-webview/www-src/bridge.android.ts
Line 24 in b7c440f
After minification "w" variable transforms to "i", and if some site will use it in "for" loop like from example, it will get error:
TypeError: Attempted to assign to readonly property.
Recommendation for fix is to wrap the related code from links into separate scope (not global one).
The text was updated successfully, but these errors were encountered: