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

Issue 563923002: display error message for empty distilled content (Closed)

Created:
6 years, 3 months ago by kuan
Modified:
6 years, 2 months ago
Reviewers:
nyquist
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

display error message for empty distilled content also: - ensure that error message is displayed for empty title - move dom_distiller_viewer.html/js from content to core dir - added tests. BUG=403066 Committed: https://crrev.com/3695ffef35abf39c0ea4b38ea4ccfca7764a109a Cr-Commit-Position: refs/heads/master@{#296719}

Patch Set 1 #

Patch Set 2 : address comment #

Patch Set 3 : added more tests #

Total comments: 2

Patch Set 4 : addressed comment #

Patch Set 5 : attempt to fix build breaks #

Patch Set 6 : 2nd try to fix resources #

Patch Set 7 : 3rd try #

Patch Set 8 : move test to browsertest to bypass missing resources on ios/android #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -155 lines) Patch
M components/components_tests.gyp View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 2 comments Download
M components/dom_distiller/content/distiller_page_web_contents_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +111 lines, -0 lines 0 comments Download
D components/dom_distiller/content/resources/dom_distiller_viewer.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -82 lines 0 comments Download
D components/dom_distiller/content/resources/dom_distiller_viewer.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -67 lines 0 comments Download
A + components/dom_distiller/core/html/dom_distiller_viewer.html View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/core/javascript/dom_distiller_viewer.js View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
M components/dom_distiller/core/viewer.cc View 3 chunks +12 lines, -4 lines 0 comments Download
M components/resources/dom_distiller_resources.grdp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
kuan
6 years, 3 months ago (2014-09-11 21:24:15 UTC) #2
nyquist
lgtm as is, but it seems possible to add tests for this as well. Is ...
6 years, 3 months ago (2014-09-15 07:14:03 UTC) #3
kuan
i've added test in patch set 2. ptal. thx.
6 years, 3 months ago (2014-09-18 22:27:02 UTC) #4
kuan
pls hold off.. i need to add tests for the other method.
6 years, 3 months ago (2014-09-19 14:23:56 UTC) #5
kuan
the tests are now complete in patch set 3. ptal. thx.
6 years, 3 months ago (2014-09-19 17:11:57 UTC) #6
nyquist
lgtm https://codereview.chromium.org/563923002/diff/40001/components/dom_distiller/core/viewer_unittest.cc File components/dom_distiller/core/viewer_unittest.cc (right): https://codereview.chromium.org/563923002/diff/40001/components/dom_distiller/core/viewer_unittest.cc#newcode174 components/dom_distiller/core/viewer_unittest.cc:174: std::string some_title = "some title"; should these be ...
6 years, 3 months ago (2014-09-19 23:47:05 UTC) #7
kuan
i've addressed your comment in patch set 4, sending to cq now... https://codereview.chromium.org/563923002/diff/40001/components/dom_distiller/core/viewer_unittest.cc File components/dom_distiller/core/viewer_unittest.cc ...
6 years, 3 months ago (2014-09-19 23:51:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/563923002/60001
6 years, 3 months ago (2014-09-19 23:52:52 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/17466)
6 years, 3 months ago (2014-09-20 00:14:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/563923002/80001
6 years, 3 months ago (2014-09-22 20:22:42 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/17335)
6 years, 3 months ago (2014-09-22 20:51:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/563923002/100001
6 years, 3 months ago (2014-09-23 20:36:35 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/11630)
6 years, 3 months ago (2014-09-23 21:50:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/563923002/120001
6 years, 3 months ago (2014-09-23 22:19:54 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/11685)
6 years, 3 months ago (2014-09-23 23:37:42 UTC) #24
kuan
i've modified the cl based on our offline discussion. all green trybots never look so ...
6 years, 3 months ago (2014-09-25 00:41:08 UTC) #25
nyquist
https://codereview.chromium.org/563923002/diff/140001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/563923002/diff/140001/components/components_tests.gyp#newcode849 components/components_tests.gyp:849: # Dependencies of dom_distiller These now become out of ...
6 years, 3 months ago (2014-09-25 04:55:59 UTC) #26
kuan
https://codereview.chromium.org/563923002/diff/140001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/563923002/diff/140001/components/components_tests.gyp#newcode849 components/components_tests.gyp:849: # Dependencies of dom_distiller On 2014/09/25 04:55:59, nyquist wrote: ...
6 years, 2 months ago (2014-09-25 14:53:06 UTC) #27
nyquist
lgtm
6 years, 2 months ago (2014-09-25 15:32:40 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/563923002/140001
6 years, 2 months ago (2014-09-25 15:57:56 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 24db7bff758983bc10475812c30c3110e4cc1cab
6 years, 2 months ago (2014-09-25 16:23:25 UTC) #31
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 16:24:00 UTC) #32
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/3695ffef35abf39c0ea4b38ea4ccfca7764a109a
Cr-Commit-Position: refs/heads/master@{#296719}

Powered by Google App Engine
This is Rietveld 408576698