Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 1860303002: Fix CFI: Invalid cast in PaymentRequestTest (Closed)

Created:
4 years, 8 months ago by please use gerrit instead
Modified:
4 years, 8 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix CFI: Invalid cast in PaymentRequestTest Do not reset PaymentDetails.items and PaymentDetails.shippingOptions to avoid double-deletion. Avoid setting these properties instead. This affects only unit tests. BUG=600808 Committed: https://crrev.com/59dd5d45f05cab02ef9410b505cbae3dfd5d4ed4 Cr-Commit-Position: refs/heads/master@{#385478}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -27 lines) Patch
M third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h View 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp View 3 chunks +32 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 4 chunks +11 lines, -16 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
please use gerrit instead
mek@, krasin@: ptal.
4 years, 8 months ago (2016-04-06 00:22:48 UTC) #3
krasin
Assuming the patch passes the tests under CFI, I have no objections against the CL. ...
4 years, 8 months ago (2016-04-06 00:35:03 UTC) #4
please use gerrit instead
On 2016/04/06 00:35:03, krasin wrote: > Assuming the patch passes the tests under CFI, I ...
4 years, 8 months ago (2016-04-06 00:47:32 UTC) #5
krasin
Thanks! A somewhat tangential question: can you please run 'git cl format' to get the ...
4 years, 8 months ago (2016-04-06 00:53:08 UTC) #6
please use gerrit instead
On 2016/04/06 00:53:08, krasin wrote: > A somewhat tangential question: can you please run 'git ...
4 years, 8 months ago (2016-04-06 00:54:53 UTC) #7
krasin
I feel that some of the files have unusually long lines which would have been ...
4 years, 8 months ago (2016-04-06 01:06:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1860303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1860303002/1
4 years, 8 months ago (2016-04-06 01:07:26 UTC) #10
please use gerrit instead
On 2016/04/06 01:06:47, krasin wrote: > I feel that some of the files have unusually ...
4 years, 8 months ago (2016-04-06 01:12:34 UTC) #11
krasin
Thank you for the explanation. That totally makes sense now. :)
4 years, 8 months ago (2016-04-06 01:18:45 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/200173)
4 years, 8 months ago (2016-04-06 07:08:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1860303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1860303002/1
4 years, 8 months ago (2016-04-06 15:57:20 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-06 16:43:21 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/59dd5d45f05cab02ef9410b505cbae3dfd5d4ed4 Cr-Commit-Position: refs/heads/master@{#385478}
4 years, 8 months ago (2016-04-06 16:44:27 UTC) #19
Marijn Kruisselbrink
patch LGTM, although I don't understand what exactly was broken. Did this accidentally hit some ...
4 years, 8 months ago (2016-04-06 17:04:30 UTC) #20
krasin
On 2016/04/06 17:04:30, Marijn Kruisselbrink wrote: > patch LGTM, although I don't understand what exactly ...
4 years, 8 months ago (2016-04-06 17:12:00 UTC) #21
Marijn Kruisselbrink
On 2016/04/06 at 17:12:00, krasin wrote: > On 2016/04/06 17:04:30, Marijn Kruisselbrink wrote: > > ...
4 years, 8 months ago (2016-04-06 17:23:29 UTC) #22
krasin
I suppose it's the question to the author of the code and the fix. My ...
4 years, 8 months ago (2016-04-06 17:25:22 UTC) #23
please use gerrit instead
I was using code like this in my tests: ShippingOption shippingOption; PaymentDetails details; details.setShippingOptions(HeapVector<ShippingOption>(1, shippingOption)); ...
4 years, 8 months ago (2016-04-06 17:40:07 UTC) #24
haraken
On 2016/04/06 17:40:07, Rouslan wrote: > I was using code like this in my tests: ...
4 years, 8 months ago (2016-04-07 01:57:49 UTC) #25
please use gerrit instead
4 years, 8 months ago (2016-04-07 02:13:47 UTC) #26
Message was sent while issue was closed.
Filed http://crbug.com/601193

Powered by Google App Engine
This is Rietveld 408576698