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

Issue 2594663005: Report empty article as empty. (Closed)

Created:
4 years ago by Olivier
Modified:
4 years ago
CC:
chromium-reviews, pkl (ping after 24h if needed), sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Report empty article as empty. Dom Distiller adds "No data found" to the HTML if the page is empty. This prevents RL to handle correctly the error. BUG=648923 Committed: https://crrev.com/4af6f965f87724fcfc7b7e2b900522edf57a5212 Cr-Commit-Position: refs/heads/master@{#440391}

Patch Set 1 #

Total comments: 2

Patch Set 2 : done #

Total comments: 7

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M ios/chrome/browser/dom_distiller/distiller_viewer.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Olivier
4 years ago (2016-12-21 13:05:19 UTC) #2
jif
Ideally DistilledArticleProto would contain a boolean informing whether an error occured or not. https://codereview.chromium.org/2594663005/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ...
4 years ago (2016-12-21 13:36:33 UTC) #3
Olivier
True. Wychen, can we add this flag in the proto? https://codereview.chromium.org/2594663005/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ios/chrome/browser/dom_distiller/distiller_viewer.cc (right): https://codereview.chromium.org/2594663005/diff/1/ios/chrome/browser/dom_distiller/distiller_viewer.cc#newcode44 ...
4 years ago (2016-12-21 13:46:27 UTC) #4
wychen
I haven't built this, but with this CL, when the distilled content is an empty ...
4 years ago (2016-12-22 07:58:19 UTC) #5
Olivier
On 2016/12/22 07:58:19, wychen wrote: > I haven't built this, but with this CL, when ...
4 years ago (2016-12-22 08:17:34 UTC) #6
wychen
Ah. Stupid me. Didn't notice it's in ios/. :p https://codereview.chromium.org/2594663005/diff/20001/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ios/chrome/browser/dom_distiller/distiller_viewer.cc (right): https://codereview.chromium.org/2594663005/diff/20001/ios/chrome/browser/dom_distiller/distiller_viewer.cc#newcode43 ios/chrome/browser/dom_distiller/distiller_viewer.cc:43: ...
4 years ago (2016-12-22 10:19:33 UTC) #7
Olivier
Thanks. PTAL https://codereview.chromium.org/2594663005/diff/20001/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ios/chrome/browser/dom_distiller/distiller_viewer.cc (right): https://codereview.chromium.org/2594663005/diff/20001/ios/chrome/browser/dom_distiller/distiller_viewer.cc#newcode41 ios/chrome/browser/dom_distiller/distiller_viewer.cc:41: DomDistillerRequestViewBase::OnArticleReady(article_proto); On 2016/12/22 07:58:19, wychen wrote: > ...
4 years ago (2016-12-22 10:54:59 UTC) #8
wychen
lgtm https://codereview.chromium.org/2594663005/diff/20001/ios/chrome/browser/dom_distiller/distiller_viewer.cc File ios/chrome/browser/dom_distiller/distiller_viewer.cc (right): https://codereview.chromium.org/2594663005/diff/20001/ios/chrome/browser/dom_distiller/distiller_viewer.cc#newcode41 ios/chrome/browser/dom_distiller/distiller_viewer.cc:41: DomDistillerRequestViewBase::OnArticleReady(article_proto); On 2016/12/22 10:54:59, Olivier Robin wrote: > ...
4 years ago (2016-12-22 11:05:12 UTC) #9
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/2594663005/40001
4 years ago (2016-12-22 11:06:11 UTC) #11
Olivier
Thanks for the review
4 years ago (2016-12-22 11:06:20 UTC) #12
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/331532)
4 years ago (2016-12-22 11:11:49 UTC) #14
Olivier
+noyau as owner
4 years ago (2016-12-22 11:14:06 UTC) #16
jif
lgtm
4 years ago (2016-12-22 12:02:51 UTC) #17
noyau (Ping after 24h)
lgtm
4 years ago (2016-12-22 12:25:20 UTC) #19
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/2594663005/40001
4 years ago (2016-12-22 12:25:36 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-22 12:29:06 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-22 12:30:37 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4af6f965f87724fcfc7b7e2b900522edf57a5212
Cr-Commit-Position: refs/heads/master@{#440391}

Powered by Google App Engine
This is Rietveld 408576698