WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-09-22 12:43:49 PDT
<
rdar://problem/34600694
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug