DescriptionRevert 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 #Messages
Total messages: 12 (5 generated)
|