[Webkit-unassigned] [Bug 177377] New: Multiple calls to showModalDialog within the same event handler are associated with the same _WKUserInitiatedAction
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 22 12:43:15 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177377
Bug ID: 177377
Summary: Multiple calls to showModalDialog within the same
event handler are associated with the same
_WKUserInitiatedAction
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ansh_shukla at apple.com
Created attachment 321581
--> https://bugs.webkit.org/attachment.cgi?id=321581&action=review
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170922/c23b3655/attachment.html>
More information about the webkit-unassigned
mailing list