NEW 177377
Multiple calls to showModalDialog within the same event handler are associated with the same _WKUserInitiatedAction
https://bugs.webkit.org/show_bug.cgi?id=177377
Summary Multiple calls to showModalDialog within the same event handler are associate...
Ansh Shukla
Reported 2017-09-22 12:43:15 PDT
Created attachment 321581 [details] Chained showModalDialogs that earn a new user gesture in the popup window. Multiple calls to showModalDialog within the same event handler are associated with the same _WKUserInitiatedAction If a page calls showModalDialog in response to an onclick handler, its JavaScript execution is paused. We see an enterprise UI pattern where the onclick handler for a button will spawn a sequence of dialogs, each collecting some user gestures. If the spawned dialog was interacted with before closing, then subsequent calls to showModalDialog should get a new _WKUserInitiatedAction. The attachment has a reduced example of this behavior.
Attachments
Chained showModalDialogs that earn a new user gesture in the popup window. (1.37 KB, application/zip)
2017-09-22 12:43 PDT, Ansh Shukla
no flags
Radar WebKit Bug Importer
Comment 1 2017-09-22 12:43:49 PDT
Note You need to log in before you can comment on or make changes to this bug.