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

Issue 2401853004: Strip unwanted classNames from all nodes (Closed)

Created:
4 years, 2 months ago by wychen
Modified:
4 years, 2 months ago
Reviewers:
mdjones
CC:
noyau (Ping after 24h), lody, gambard
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Strip unwanted classNames from all nodes Class name "caption" is still essential for styling, but all the other classNames are removed. Ref: crbug.com/654109 BUG=599121 R=mdjones@chromium.org Committed: 3fd2017fe4684a67114daf93bc652166f50f865b

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M java/org/chromium/distiller/DomUtil.java View 1 2 chunks +27 lines, -0 lines 0 comments Download
M java/org/chromium/distiller/webdocument/WebText.java View 1 chunk +1 line, -0 lines 0 comments Download
M javatests/org/chromium/distiller/ContentExtractorTest.java View 1 chunk +12 lines, -0 lines 0 comments Download
M javatests/org/chromium/distiller/DomUtilTest.java View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
wychen
PTAL
4 years, 2 months ago (2016-10-07 21:43:44 UTC) #2
mdjones
https://codereview.chromium.org/2401853004/diff/1/java/org/chromium/distiller/DomUtil.java File java/org/chromium/distiller/DomUtil.java (right): https://codereview.chromium.org/2401853004/diff/1/java/org/chromium/distiller/DomUtil.java#newcode477 java/org/chromium/distiller/DomUtil.java:477: * Strips unwanted classNames from all nodes in the ...
4 years, 2 months ago (2016-10-07 23:03:37 UTC) #3
wychen
https://codereview.chromium.org/2401853004/diff/1/java/org/chromium/distiller/DomUtil.java File java/org/chromium/distiller/DomUtil.java (right): https://codereview.chromium.org/2401853004/diff/1/java/org/chromium/distiller/DomUtil.java#newcode477 java/org/chromium/distiller/DomUtil.java:477: * Strips unwanted classNames from all nodes in the ...
4 years, 2 months ago (2016-10-07 23:11:53 UTC) #4
wychen
https://codereview.chromium.org/2401853004/diff/1/java/org/chromium/distiller/DomUtil.java File java/org/chromium/distiller/DomUtil.java (right): https://codereview.chromium.org/2401853004/diff/1/java/org/chromium/distiller/DomUtil.java#newcode477 java/org/chromium/distiller/DomUtil.java:477: * Strips unwanted classNames from all nodes in the ...
4 years, 2 months ago (2016-10-07 23:32:20 UTC) #7
mdjones
lgtm
4 years, 2 months ago (2016-10-07 23:37:00 UTC) #8
wychen
4 years, 2 months ago (2016-10-11 02:00:20 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
3fd2017fe4684a67114daf93bc652166f50f865b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698