Bug 156104 - Show keyboard for `window.prompt` on iOS
Summary: Show keyboard for `window.prompt` on iOS
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.3
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2016-04-01 03:37 PDT by Craig Francis
Modified: 2019-02-06 09:18 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Craig Francis 2016-04-01 03:37:37 PDT
On iOS, if you have a `window.prompt`, it would save an extra touch if the keyboard was displayed by default.

This is especially useful for a JavaScript bookmark, e.g.

javascript:(function(){var l=window.prompt('Testing:')})();
Comment 1 Lucas Forschler 2019-02-06 09:18:45 PST
Mass move bugs into the DOM component.