RESOLVED FIXED 179056
[Payment Request] show() should only be called with user activation
https://bugs.webkit.org/show_bug.cgi?id=179056
Summary [Payment Request] show() should only be called with user activation
Andy Estes
Reported 2017-10-31 07:56:01 PDT
[Payment Request] show() should only be called with user activation
Attachments
Patch (86.83 KB, patch)
2017-10-31 07:57 PDT, Andy Estes
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (8.25 MB, application/zip)
2017-10-31 09:25 PDT, Build Bot
no flags
Patch (38.99 KB, patch)
2017-11-02 22:46 PDT, Andy Estes
no flags
Andy Estes
Comment 1 2017-10-31 07:57:09 PDT
Build Bot
Comment 2 2017-10-31 09:25:16 PDT
Comment on attachment 325439 [details] Patch Attachment 325439 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/5051087 New failing tests: http/tests/paymentrequest/payment-request-show-method.https.html http/tests/paymentrequest/payment-request-canmakepayment-method.https.html
Build Bot
Comment 3 2017-10-31 09:25:17 PDT Comment hidden (obsolete)
Sam Weinig
Comment 4 2017-10-31 09:45:33 PDT
Comment on attachment 325439 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325439&action=review > Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp:385 > + if (!ScriptController::processingUserGesture()) { Can this use UserGestureIndicator::processingUserGesture() instead? I'm not sure why we have the ScriptController wrapper.
Andy Estes
Comment 5 2017-10-31 15:36:39 PDT
(In reply to Sam Weinig from comment #4) > Comment on attachment 325439 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=325439&action=review > > > Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp:385 > > + if (!ScriptController::processingUserGesture()) { > > Can this use UserGestureIndicator::processingUserGesture() instead? I'm not > sure why we have the ScriptController wrapper. I don't know either! Yes, I'll just use UserGestureIndicator directly. Thanks for reviewing!
Andy Estes
Comment 6 2017-11-02 22:46:00 PDT
WebKit Commit Bot
Comment 7 2017-11-03 09:15:23 PDT
Comment on attachment 325857 [details] Patch Rejecting attachment 325857 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 325857, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: .webkit.org/git/WebKit 8b2f187..acc0875 master -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 224398 = 8b2f1874e0727bb207e8e4625870763b3d75dc5e r224399 = acc087508a211872dd03a0bfa55e983e9d361854 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.webkit.org/results/5091161
Andy Estes
Comment 8 2017-11-03 09:36:04 PDT
Radar WebKit Bug Importer
Comment 9 2017-11-15 12:31:40 PST
Note You need to log in before you can comment on or make changes to this bug.