Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User prompt handler capabilities (#1791)
Rewrite the user prompt handler configuration to allow overrides The idea is that for BiDi we'll accept objects like: { "alert": "dismiss", "beforeUnload": "ignore" } to allow different handling per prompt type, whilst falling back to the appropiate defaults to maintain the current behaviour for implementations that don't support BiDi. We also allow the possibility of multiple user prompts The specifications allow one prompt per event loop, so instead of assuming a single current user prompt, allow getting the user prompt for the active browsing context's event loop. --------- Co-authored-by: Henrik Skupin <[email protected]>
- Loading branch information