Add asynchronous version of alert, prompt, and confirm that return promises
Open
Nobody has claimed this yet.
addition/proposal
needs implementer interest
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 3.2k
- PR merge metrics
- PR metrics pending
Description
Instead of this:
let s = prompt('enter a string')
We could do something like this:
let s = await promptAsync('enter a string')
This would allow more responsive JavaScript without major changes to the JS or the browser.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the HTML Standard definitions of alert, prompt, and confirm and the issue's proposed promise-returning behavior. Determine the specification changes needed for asynchronous variants and verify that the resulting behavior matches the stated await examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100