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

Issue 2834013002: PlzNavigate: make MHTML iframe load working. (Closed)

Created:
3 years, 8 months ago by arthursonzogni
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, blink-reviews-api_chromium.org, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-frames_chromium.org, kinuko+watch, clamy, carlosk
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: make MHTML iframe load working. This CL makes the renderer use the MHTML Archive when there is one for loading iframes. Some tests are added. Design doc: https://goo.gl/jCVFBc BUG=705508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel Review-Url: https://codereview.chromium.org/2834013002 Cr-Commit-Position: refs/heads/master@{#470081} Committed: https://chromium.googlesource.com/chromium/src/+/8d745a7f38b559d75efe5b04a79f5fecd89a2e22

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed comments #2 #

Patch Set 4 : Move comments about data-url from test to function #

Total comments: 2

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -5 lines) Patch
M content/common/navigation_params.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/mhtml/cid_in_html_iframe.html View 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/mhtml/cid_in_html_iframe-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/LocalFrameClientImpl.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp View 1 2 3 4 3 chunks +27 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 78 (62 generated)
arthursonzogni
Hi Jian, Nate and Nasko, Please take a look. You are owner of: jianli: third_party/WebKit/LayoutTests/mhtml/ ...
3 years, 7 months ago (2017-05-03 14:03:31 UTC) #44
carlosk
Thanks for this fix! https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params_unittest.cc File content/common/navigation_params_unittest.cc (right): https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params_unittest.cc#newcode20 content/common/navigation_params_unittest.cc:20: EXPECT_TRUE(ShouldMakeNetworkRequestForURL(GURL("cid:foo@bar"))); nit: Please add a ...
3 years, 7 months ago (2017-05-03 16:56:49 UTC) #46
nasko
https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc File content/common/navigation_params.cc (left): https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc#oldcode26 content/common/navigation_params.cc:26: url.SchemeIs(url::kContentIDScheme) || url == content::kAboutSrcDocURL) { The comments in ...
3 years, 7 months ago (2017-05-03 17:28:39 UTC) #47
jianli
https://codereview.chromium.org/2834013002/diff/140001/third_party/WebKit/Source/web/LocalFrameClientImpl.h File third_party/WebKit/Source/web/LocalFrameClientImpl.h (right): https://codereview.chromium.org/2834013002/diff/140001/third_party/WebKit/Source/web/LocalFrameClientImpl.h#newcode234 third_party/WebKit/Source/web/LocalFrameClientImpl.h:234: bool ShouldUseMHTMLArchiveForSubFrame() const; When an archive exist, we should ...
3 years, 7 months ago (2017-05-03 22:56:19 UTC) #48
arthursonzogni
Thanks for your comments. Here is a new patch. https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc File content/common/navigation_params.cc (left): https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc#oldcode26 content/common/navigation_params.cc:26: ...
3 years, 7 months ago (2017-05-04 14:26:32 UTC) #53
nasko
https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc File content/common/navigation_params.cc (left): https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc#oldcode26 content/common/navigation_params.cc:26: url.SchemeIs(url::kContentIDScheme) || url == content::kAboutSrcDocURL) { On 2017/05/04 14:26:32, ...
3 years, 7 months ago (2017-05-04 15:48:18 UTC) #54
arthursonzogni
https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc File content/common/navigation_params.cc (left): https://codereview.chromium.org/2834013002/diff/140001/content/common/navigation_params.cc#oldcode26 content/common/navigation_params.cc:26: url.SchemeIs(url::kContentIDScheme) || url == content::kAboutSrcDocURL) { On 2017/05/04 15:48:18, ...
3 years, 7 months ago (2017-05-05 09:07:47 UTC) #57
Nate Chapin
lgtm https://codereview.chromium.org/2834013002/diff/220001/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp File third_party/WebKit/Source/web/LocalFrameClientImpl.cpp (right): https://codereview.chromium.org/2834013002/diff/220001/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp#newcode519 third_party/WebKit/Source/web/LocalFrameClientImpl.cpp:519: if (IsLoadedAsMHTMLArchive()) { Could we inline this and ...
3 years, 7 months ago (2017-05-05 20:34:18 UTC) #61
nasko
content/ LGTM
3 years, 7 months ago (2017-05-05 20:43:11 UTC) #62
pfeldman
WebKit/ lgtm https://codereview.chromium.org/2834013002/diff/220001/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2834013002/diff/220001/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp#newcode583 third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:583: if (resource_request.Url().ProtocolIs(kContentIdScheme) && !archive_) { [perf]: check ...
3 years, 7 months ago (2017-05-05 20:45:36 UTC) #64
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/2834013002/220001
3 years, 7 months ago (2017-05-05 20:48:14 UTC) #66
jianli
lgtm
3 years, 7 months ago (2017-05-05 20:51:21 UTC) #67
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/261996) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-05 20:54:15 UTC) #69
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/2834013002/240001
3 years, 7 months ago (2017-05-08 17:13:57 UTC) #72
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/2834013002/240001
3 years, 7 months ago (2017-05-08 17:18:34 UTC) #75
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 19:48:38 UTC) #78
Message was sent while issue was closed.
Committed patchset #5 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/8d745a7f38b559d75efe5b04a79f...

Powered by Google App Engine
This is Rietveld 408576698