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
When a new window opens, webview redirects to that page. But when the window closes, it fails to close with following error in console:
iOS: "Can't close the window since it was not opened by JavaScript"
Android: "Scripts may close only the windows that were opened by them", "Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.udemy.com/') does not match the recipient window's origin ('https://accounts.google.com/')."
Expected Behavior
Window should close i.e webview should redirect back to the previous webpage window.
I tried logging in using google on udemy.com. Window closes but login fails with "Scripts may close only the windows that were opened ..." error, and on iOS its stuck on google's loading page with "Can't close the window since it was not opened by JavaScript" error.
Self grab
I'm ready to work on this issue!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
When a new window opens, webview redirects to that page. But when the window closes, it fails to close with following error in console:
Expected Behavior
Window should close i.e webview should redirect back to the previous webpage window.
Steps with code example to reproduce
Steps with code example to reproduce
Stacktrace/Logs
Stacktrace/Logs
Flutter version
v3.24.3
Operating System, Device-specific and/or Tool
Occurred on Android 14 and iPadOS 18.0.1
Plugin version
v6.1.5
Additional information
I tried logging in using google on udemy.com. Window closes but login fails with "Scripts may close only the windows that were opened ..." error, and on iOS its stuck on google's loading page with "Can't close the window since it was not opened by JavaScript" error.
Self grab
The text was updated successfully, but these errors were encountered: