Jasonette / Jasonette/JASONETTE-iOS

js alerts on webview are silently ignored

Open
#357 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

This breaks pages/sites that use alerts, such as confirmations before a delete and similar.

According to [this answer](https://stackoverflow.com/questions/38931626/javascript-alert-and-confirm-popups-not-working-with-webkit-in-ios-9#38931713) the webview should use a delegate to make it work. I am not versed in iOS, so I am not sure if that is the proper solution.

Contributor guide

Open the contributing guide

Research direction

Start by locating where the iOS webview is created and how its delegate is configured. Reproduce a page using JavaScript alert and confirm dialogs, then verify that those dialogs are no longer silently ignored and that confirmation flows work as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.