WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189249
[Payment Request] PaymentResponse should have an onpayerdetailchange event handler
https://bugs.webkit.org/show_bug.cgi?id=189249
Summary
[Payment Request] PaymentResponse should have an onpayerdetailchange event ha...
Andy Estes
Reported
2018-09-03 13:55:02 PDT
[Payment Request] PaymentResponse should have an onpayerdetailchange event handler
Attachments
Patch
(7.81 KB, patch)
2018-09-03 13:57 PDT
,
Andy Estes
no flags
Details
Formatted Diff
Diff
Patch
(7.99 KB, patch)
2018-09-04 11:37 PDT
,
Andy Estes
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Andy Estes
Comment 1
2018-09-03 13:57:08 PDT
Comment hidden (obsolete)
Created
attachment 348790
[details]
Patch
Alex Christensen
Comment 2
2018-09-04 11:06:02 PDT
Comment on
attachment 348790
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=348790&action=review
> Source/WebCore/Modules/paymentrequest/PaymentResponse.cpp:57 > + return static_cast<ActiveDOMObject&>(m_request.get()).scriptExecutionContext();
You shouldn't need the static cast here. Just m_request->scriptExecutionContext() ought to work.
Andy Estes
Comment 3
2018-09-04 11:10:09 PDT
Comment on
attachment 348790
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=348790&action=review
>> Source/WebCore/Modules/paymentrequest/PaymentResponse.cpp:57 >> + return static_cast<ActiveDOMObject&>(m_request.get()).scriptExecutionContext(); > > You shouldn't need the static cast here. Just m_request->scriptExecutionContext() ought to work.
Unfortunately not, because PaymentRequest overrides scriptExecutionContext() as a private member function. I guess I could change that to be public, or make PaymentResponse be a ContextDestructionObserver. I'll think about how I want to improve this. Thanks for reviewing!
WebKit Commit Bot
Comment 4
2018-09-04 11:22:07 PDT
Comment hidden (obsolete)
Comment on
attachment 348790
[details]
Patch Rejecting
attachment 348790
[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', 'apply-attachment', '--no-update', '--non-interactive', 348790, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as
commit-queue@webkit.org
... Fetching:
https://bugs.webkit.org/attachment.cgi?id=348790&action=edit
Fetching:
https://bugs.webkit.org/show_bug.cgi?id=189249
&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 348790 from
bug 189249
. Fetching:
https://bugs.webkit.org/attachment.cgi?id=348790
Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Alex Christensen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 8 diffs from patch file(s). patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/Modules/paymentrequest/PaymentResponse.cpp Hunk #2 succeeded at 59 with fuzz 1 (offset 7 lines). patching file Source/WebCore/Modules/paymentrequest/PaymentResponse.h Hunk #3 succeeded at 38 with fuzz 2 (offset 1 line). Hunk #4 succeeded at 74 with fuzz 2 (offset 2 lines). patching file Source/WebCore/Modules/paymentrequest/PaymentResponse.idl Hunk #3 FAILED at 41. 1 out of 3 hunks FAILED -- saving rejects to file Source/WebCore/Modules/paymentrequest/PaymentResponse.idl.rej patching file Source/WebCore/dom/EventNames.h patching file Source/WebCore/dom/EventTargetFactory.in patching file LayoutTests/imported/w3c/ChangeLog patching file LayoutTests/imported/w3c/web-platform-tests/payment-request/payment-response/onpayerdetailchange-attribute.https-expected.txt Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Alex Christensen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output:
https://webkit-queues.webkit.org/results/9091174
Andy Estes
Comment 5
2018-09-04 11:37:06 PDT
Created
attachment 348833
[details]
Patch
WebKit Commit Bot
Comment 6
2018-09-04 12:14:30 PDT
Comment on
attachment 348833
[details]
Patch Clearing flags on attachment: 348833 Committed
r235625
: <
https://trac.webkit.org/changeset/235625
>
WebKit Commit Bot
Comment 7
2018-09-04 12:14:32 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2018-09-04 12:15:21 PDT
<
rdar://problem/44107683
>
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