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

Issue 2080223002: Revert of Fixing renderer's access to a file from HTTP POST (after a xsite transfer). (Closed)

Created:
4 years, 6 months ago by benwells
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Fixing renderer's access to a file from HTTP POST (after a xsite transfer). (patchset #11 id:200001 of https://codereview.chromium.org/2062523002/ ) Reason for revert: New test is failing on DrMemory: First failing build: https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%20full%29%20%281%29/builds/8084 Sample output: CrossSiteTransferTest.PostWithFileData: c:\b\build\slave\drm-cr\build\src\content\browser\cross_site_transfer_browsertest.cc(458): error: Value of: delegate->file_chosen() Actual: false Expected: true [2980:4872:0617/180652:2750297:WARNING:render_frame_host_impl.cc(1927)] OnDidStopLoading was called twice. c:\b\build\slave\drm-cr\build\src\content\browser\cross_site_transfer_browsertest.cc(480): error: Value of: ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( new_process_id, file_path) Actual: false Expected: true c:\b\build\slave\drm-cr\build\src\content\browser\cross_site_transfer_browsertest.cc(490): error: Value of: actual_page_body Expected: has substring "test-file-content" Actual: "------WebKitFormBoundary8oQLaVhRjyBKYRPr\nContent-Disposition: form-data; name=\"file\"; filename=\"\"\nContent-Type: application/octet-stream\n\n\n------WebKitFormBoundary8oQLaVhRjyBKYRPr--\n\n" c:\b\build\slave\drm-cr\build\src\content\browser\cross_site_transfer_browsertest.cc(492): error: Value of: actual_page_body Expected: has substring "3488.tmp" Actual: "------WebKitFormBoundary8oQLaVhRjyBKYRPr\nContent-Disposition: form-data; name=\"file\"; filename=\"\"\nContent-Type: application/octet-stream\n\n\n------WebKitFormBoundary8oQLaVhRjyBKYRPr--\n\n" Original issue's description: > Fixing renderer's access to a file from HTTP POST (after a xsite transfer). > > Renderer needs to access files from HTTP POST (i.e. from XSSAuditor). > This CL makes sure that file access is preserved across xsite transfers. > > BUG=101395, 613260 > CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation > > Committed: https://crrev.com/bd82f922853ea6e61c4d907f2b51786f3ed9f5a2 > Cr-Commit-Position: refs/heads/master@{#400460} TBR=creis@chromium.org,lukasza@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=101395, 613260

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -179 lines) Patch
M content/browser/cross_site_transfer_browsertest.cc View 3 chunks +0 lines, -76 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 2 chunks +4 lines, -25 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 3 chunks +26 lines, -1 line 0 comments Download
M content/browser/session_history_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/resource_request_body_impl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/resource_request_body_impl.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M content/test/content_browser_test_utils_internal.h View 3 chunks +0 lines, -22 lines 0 comments Download
M content/test/content_browser_test_utils_internal.cc View 2 chunks +0 lines, -18 lines 0 comments Download
D content/test/data/form_that_posts_cross_site.html View 1 chunk +0 lines, -15 lines 0 comments Download
A content/test/data/session_history/form_that_posts_cross_site.html View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
benwells
Created Revert of Fixing renderer's access to a file from HTTP POST (after a xsite ...
4 years, 6 months ago (2016-06-20 10:57:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2080223002/1
4 years, 6 months ago (2016-06-20 10:57:12 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/23235) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-20 10:58:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2080223002/1
4 years, 6 months ago (2016-06-20 12:08:18 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/23252) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-20 12:09:53 UTC) #9
Łukasz Anforowicz
Ben, I don't think this revert will apply cleanly (without also reverting some dependent CLs). ...
4 years, 6 months ago (2016-06-20 16:54:33 UTC) #10
benwells
4 years, 6 months ago (2016-06-21 06:30:40 UTC) #11
On 2016/06/20 16:54:33, Łukasz Anforowicz wrote:
> Ben,
> 
> I don't think this revert will apply cleanly (without also reverting some
> dependent CLs).  OTOH, I see that you've already (thanks!) added an exception
in
> https://codereview.chromium.org/2084533002, so maybe I can just fix
> https://crbug.com/621466 (hopefully I can land a fix today or tomorrow).
> 
> Pleas let me know if the above sounds good.  (or if the memory issue
introduced
> by my CL is still impacting other's ability to land and test their CLs).

Yep, as reverting was complicated I just disabled the test on that bug. If you
could identify / fix the memory issue / broken test and re-enable the test ASAP
that would be great, thanks.

Powered by Google App Engine
This is Rietveld 408576698