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

Issue 2545693002: Support allowpaymentrequest with out-of-process iframes (Closed)

Created:
4 years ago by pals
Modified:
4 years ago
CC:
chromium-reviews, rouslan+payments_chromium.org, mlamouri+watch-blink_chromium.org, blink-reviews-html_chromium.org, jam, dcheng, blink-reviews-api_chromium.org, haraken, dglazkov+blink, darin-cc_chromium.org, blink-reviews, kinuko+watch, sebsg+paymentswatch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support allowpaymentrequest with out-of-process iframes BUG=669585 Committed: https://crrev.com/a1f17e817c65d8f3e8ba10beee7b43e625f21c04 Cr-Commit-Position: refs/heads/master@{#438724}

Patch Set 1 #

Patch Set 2 : Fixed the error #

Total comments: 1

Patch Set 3 : Added Test #

Total comments: 3

Patch Set 4 : Fix for Test #

Patch Set 5 : Try1 #

Patch Set 6 : Support allowpaymentrequest with out-of-process iframes #

Total comments: 6

Patch Set 7 : Support allowpaymentrequest with out-of-process iframes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -11 lines) Patch
M chrome/browser/payments/payment_request_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/payments/payment_request_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/payments/site_per_process_payments_browsertest.cc View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/payment_request_iframe.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/payment_request_main.html View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_owner_properties.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_owner_properties.cc View 4 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameOwner.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLIFrameElement.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/RemoteFrameOwner.h View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/RemoteFrameOwner.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrame.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFrameOwnerProperties.h View 3 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 80 (39 generated)
please use gerrit instead
haraken, is this the correct direction for fixing OOPIF crash? Please point me in the ...
4 years ago (2016-12-01 16:02:22 UTC) #2
haraken
+dcheng +nasko
4 years ago (2016-12-01 23:56:29 UTC) #5
pals
Now, it works fine for OOPIFs also. I'll try add test cases for this change. ...
4 years ago (2016-12-02 12:29:48 UTC) #7
please use gerrit instead
Do we need to remove HTMLIFrameElementPayments now? I've confirmed that the bug is fixed in ...
4 years ago (2016-12-02 13:57:22 UTC) #9
alexmos
This looks good, but is it possible to add a test? Something similar to FrameOwnerPropertiesPropagationCSP ...
4 years ago (2016-12-02 17:40:28 UTC) #10
please use gerrit instead
On 2016/12/02 17:40:28, alexmos wrote: > This looks good, but is it possible to add ...
4 years ago (2016-12-02 18:53:03 UTC) #11
pals
Can we serve iframe html from different domain for TYPE_HTTPS? https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc File chrome/browser/payments/site_per_process_payments_browsertest.cc (right): https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc#newcode57 ...
4 years ago (2016-12-06 09:01:28 UTC) #17
please use gerrit instead
https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc File chrome/browser/payments/site_per_process_payments_browsertest.cc (right): https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc#newcode57 chrome/browser/payments/site_per_process_payments_browsertest.cc:57: EXPECT_NE(frame->GetSiteInstance(), tab->GetMainFrame()->GetSiteInstance()); On 2016/12/06 09:01:28, pals wrote: > This ...
4 years ago (2016-12-06 13:24:47 UTC) #23
pals
On 2016/12/06 13:24:47, rouslan wrote: > https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc > File chrome/browser/payments/site_per_process_payments_browsertest.cc (right): > > https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc#newcode57 > ...
4 years ago (2016-12-06 13:51:37 UTC) #24
sky
It's not clear why you added me to this patch. If it's for c/t/BUILD.gn that ...
4 years ago (2016-12-06 17:30:02 UTC) #25
alexmos
https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc File chrome/browser/payments/site_per_process_payments_browsertest.cc (right): https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc#newcode57 chrome/browser/payments/site_per_process_payments_browsertest.cc:57: EXPECT_NE(frame->GetSiteInstance(), tab->GetMainFrame()->GetSiteInstance()); On 2016/12/06 13:24:47, rouslan wrote: > On ...
4 years ago (2016-12-06 17:50:40 UTC) #26
alexmos
https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc File chrome/browser/payments/site_per_process_payments_browsertest.cc (right): https://codereview.chromium.org/2545693002/diff/60001/chrome/browser/payments/site_per_process_payments_browsertest.cc#newcode57 chrome/browser/payments/site_per_process_payments_browsertest.cc:57: EXPECT_NE(frame->GetSiteInstance(), tab->GetMainFrame()->GetSiteInstance()); On 2016/12/06 13:24:47, rouslan wrote: > On ...
4 years ago (2016-12-06 17:50:40 UTC) #27
please use gerrit instead
On 2016/12/06 17:50:40, alexmos wrote: > Why do you need to use the HTTPS server? ...
4 years ago (2016-12-06 17:58:21 UTC) #28
alexmos
On 2016/12/06 17:58:21, rouslan wrote: > On 2016/12/06 17:50:40, alexmos wrote: > > Why do ...
4 years ago (2016-12-06 18:07:58 UTC) #29
please use gerrit instead
On 2016/12/06 18:07:58, alexmos (OOO until 12-8) wrote: > Is this for a payments mojo ...
4 years ago (2016-12-06 18:18:40 UTC) #30
please use gerrit instead
I took a stab at fixing the browser test in http://crrev.com/2562713002 , but my file ...
4 years ago (2016-12-08 15:17:37 UTC) #31
alexmos
On 2016/12/08 15:17:37, rouslan wrote: > I took a stab at fixing the browser test ...
4 years ago (2016-12-09 01:21:35 UTC) #32
pals
Thank you for the help in fixing the test. I had 2 weeks old code ...
4 years ago (2016-12-09 13:05:20 UTC) #38
pals
On 2016/12/09 13:05:20, pals wrote: > Thank you for the help in fixing the test. ...
4 years ago (2016-12-09 13:31:32 UTC) #39
pals
On 2016/12/09 13:31:32, pals wrote: > On 2016/12/09 13:05:20, pals wrote: > > Thank you ...
4 years ago (2016-12-09 13:41:28 UTC) #40
please use gerrit instead
On 2016/12/09 13:41:28, pals wrote: > On 2016/12/09 13:31:32, pals wrote: > > On 2016/12/09 ...
4 years ago (2016-12-09 13:45:39 UTC) #41
please use gerrit instead
On 2016/12/09 13:45:39, rouslan wrote: > Add "if (client_)" check in > https://cs.chromium.org/chromium/src/chrome/browser/payments/payment_request_impl.cc?rcl=0&l=69 > . ...
4 years ago (2016-12-12 15:23:21 UTC) #46
pals
Thank you for the help in fixing the issue. PTAL.
4 years ago (2016-12-13 06:03:42 UTC) #51
please use gerrit instead
LGTM. Great work!
4 years ago (2016-12-13 14:41:32 UTC) #52
alexmos
Thanks for adding and fixing the test! LGTM with nits. [also, +site-isolation-reviews@, which I forgot ...
4 years ago (2016-12-13 17:26:56 UTC) #53
pals
Fixed the comments. Please take a look. https://codereview.chromium.org/2545693002/diff/140001/chrome/browser/payments/site_per_process_payments_browsertest.cc File chrome/browser/payments/site_per_process_payments_browsertest.cc (right): https://codereview.chromium.org/2545693002/diff/140001/chrome/browser/payments/site_per_process_payments_browsertest.cc#newcode33 chrome/browser/payments/site_per_process_payments_browsertest.cc:33: command_line->AppendSwitch(switches::kIgnoreCertificateErrors); On ...
4 years ago (2016-12-14 04:01:07 UTC) #56
alexmos
Thanks, LGTM
4 years ago (2016-12-14 05:24:59 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2545693002/160001
4 years ago (2016-12-14 05:33:21 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/325613)
4 years ago (2016-12-14 05:40:38 UTC) #64
pals
On 2016/12/14 05:40:38, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years ago (2016-12-14 06:05:43 UTC) #65
nasko
IPC LGTM
4 years ago (2016-12-15 00:56:27 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2545693002/160001
4 years ago (2016-12-15 03:34:32 UTC) #68
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years ago (2016-12-15 03:39:46 UTC) #71
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/a1f17e817c65d8f3e8ba10beee7b43e625f21c04 Cr-Commit-Position: refs/heads/master@{#438724}
4 years ago (2016-12-15 03:41:48 UTC) #73
dcheng
I noticed this CL didn't get a L-G-T-M from a blink OWNER. I think this ...
4 years ago (2016-12-15 06:12:06 UTC) #74
please use gerrit instead
This is a crash fix for OOPIF. IFrame support is a status=experimental runtime-enabled feature. Did ...
4 years ago (2016-12-15 15:04:30 UTC) #75
please use gerrit instead
Disabling iframe support again in http://crrev.com/2580893002
4 years ago (2016-12-15 16:43:41 UTC) #76
sky
Thanks for catching this dcheng. Indeed, I'm not an owner of WebKit. I'm going to ...
4 years ago (2016-12-15 17:00:29 UTC) #77
sky
Thanks for catching this dcheng. Indeed, I'm not an owner of WebKit. I'm going to ...
4 years ago (2016-12-15 17:00:30 UTC) #78
sky
https://codereview.chromium.org/2582593002/ On Thu, Dec 15, 2016 at 9:00 AM, Scott Violet <sky@chromium.org> wrote: > Thanks ...
4 years ago (2016-12-15 17:07:33 UTC) #79
sky
4 years ago (2016-12-15 17:07:33 UTC) #80
Message was sent while issue was closed.
https://codereview.chromium.org/2582593002/

On Thu, Dec 15, 2016 at 9:00 AM, Scott Violet <sky@chromium.org> wrote:
> Thanks for catching this dcheng. Indeed, I'm not an owner of WebKit.
> I'm going to see about adding "set noparent" to WebKit/OWNERS
>
> On Wed, Dec 14, 2016 at 10:12 PM,  <dcheng@chromium.org> wrote:
>> I noticed this CL didn't get a L-G-T-M from a blink OWNER. I think this is
>> because sky is in //third_party/OWNERS.
>>
>> While the CL does LGTM, let's be careful in the future (sky only approved
>> the
>> //content changes)
>>
>> https://codereview.chromium.org/2545693002/

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698