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

Issue 1342093002: Mandoline: let html_viewer handle more contents (Closed)

Created:
5 years, 3 months ago by yzshen1
Modified:
5 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mandoline: let html_viewer handle more contents - Let html_viewer handle 'text/plain'. - When a URL fetch results in 4XX/5XX status code, don't drop the response. If the mime type is 'text/html' or 'text/plain', the response will be rendered by html_viewer. - AboutFetcher returns 404 for about: URLs other than about:blank. BUG=None Committed: https://crrev.com/faf4512218eb08a205e31bde8b5dba84e9b58056 Cr-Commit-Position: refs/heads/master@{#349138}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -17 lines) Patch
M mojo/fetcher/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/fetcher/about_fetcher.cc View 1 2 3 4 1 chunk +8 lines, -7 lines 0 comments Download
M mojo/fetcher/about_fetcher_unittest.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M mojo/fetcher/network_fetcher.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
A mojo/fetcher/network_fetcher_unittest.cc View 1 2 3 4 5 1 chunk +178 lines, -0 lines 0 comments Download
M mojo/runner/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/runner/context.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/shell/fetcher.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
yzshen1
Hi, Scott. Would you please take a look? Thanks! This change prevents page_cycler.typical_25 from hanging ...
5 years, 3 months ago (2015-09-15 08:14:43 UTC) #2
sky
This is subtle and I suspect will break without test coverage. Can you write test ...
5 years, 3 months ago (2015-09-15 13:15:49 UTC) #3
yzshen1
On 2015/09/15 13:15:49, sky wrote: > This is subtle and I suspect will break without ...
5 years, 3 months ago (2015-09-15 23:47:58 UTC) #4
sky
LGTM https://codereview.chromium.org/1342093002/diff/80001/mojo/fetcher/network_fetcher_unittest.cc File mojo/fetcher/network_fetcher_unittest.cc (right): https://codereview.chromium.org/1342093002/diff/80001/mojo/fetcher/network_fetcher_unittest.cc#newcode95 mojo/fetcher/network_fetcher_unittest.cc:95: run_loop_ = &run_loop; nit: base::AutoReset https://codereview.chromium.org/1342093002/diff/80001/mojo/fetcher/network_fetcher_unittest.cc#newcode109 mojo/fetcher/network_fetcher_unittest.cc:109: base::RunLoop* ...
5 years, 3 months ago (2015-09-16 01:14:45 UTC) #5
yzshen1
Thanks, Scott! https://codereview.chromium.org/1342093002/diff/80001/mojo/fetcher/network_fetcher_unittest.cc File mojo/fetcher/network_fetcher_unittest.cc (right): https://codereview.chromium.org/1342093002/diff/80001/mojo/fetcher/network_fetcher_unittest.cc#newcode95 mojo/fetcher/network_fetcher_unittest.cc:95: run_loop_ = &run_loop; On 2015/09/16 01:14:45, sky ...
5 years, 3 months ago (2015-09-16 05:24:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342093002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342093002/100001
5 years, 3 months ago (2015-09-16 05:26:18 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/113547)
5 years, 3 months ago (2015-09-16 07:54:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342093002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342093002/100001
5 years, 3 months ago (2015-09-16 15:49:12 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-16 16:19:06 UTC) #14
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/faf4512218eb08a205e31bde8b5dba84e9b58056 Cr-Commit-Position: refs/heads/master@{#349138}
5 years, 3 months ago (2015-09-16 16:19:47 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:56:34 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/faf4512218eb08a205e31bde8b5dba84e9b58056
Cr-Commit-Position: refs/heads/master@{#349138}

Powered by Google App Engine
This is Rietveld 408576698