Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(57)

Issue 1172993002: Merge page serializers [7/12] (Closed)

Created:
4 years, 10 months ago by Tiger (Sony Mobile)
Modified:
4 years, 10 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Move MHTML test, remove old test files Move WebPageNewSerializeTest.TestMHTMLEncoding (currently as FAILS_*) to MHTMLTest and fixing it, removing FAILS_ prefix. This is the last remaining test in WebPageNewSerializeTest so removing the files. -- This review is part of set aiming to merge the two existing page serializers, WebPageSerializerImpl and PageSerializer into the latter one. In addition to this it moves all the old tests from WebPageNewSerializerTest and WebPageSerializerTest to the newer PageSerializerTest structure and splits out a test for MHTML into the MHTMLTest file. Note: This is a rebase and split of https://codereview.chromium.org/68613003 from Opera which was reverted due to failing tests. In addition to the rebase some smaller fixes was done to accommodate to changes in the code from when it was first landed. BUG=328354 R=hajimehoshi@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196892

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Total comments: 4

Patch Set 3 : Fixes nits #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -370 lines) Patch
M Source/web/tests/MHTMLTest.cpp View 1 2 5 chunks +112 lines, -0 lines 3 comments Download
D Source/web/tests/WebPageNewSerializerTest.cpp View 1 chunk +0 lines, -247 lines 0 comments Download
D Source/web/tests/data/pageserializer/blue_background.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/css_test_page.html View 1 chunk +0 lines, -110 lines 0 comments Download
D Source/web/tests/data/pageserializer/green_background.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/import_style_from_link.css View 1 chunk +0 lines, -3 lines 0 comments Download
D Source/web/tests/data/pageserializer/import_styles.css View 1 chunk +0 lines, -3 lines 0 comments Download
D Source/web/tests/data/pageserializer/link_styles.css View 1 chunk +0 lines, -5 lines 0 comments Download
D Source/web/tests/data/pageserializer/ol-dot.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/orange_background.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/purple_background.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/red_background.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/ul-dot.png View Binary file 0 comments Download
D Source/web/tests/data/pageserializer/yellow_background.png View Binary file 0 comments Download
M Source/web/web.gypi View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Tiger (Sony Mobile)
PTAL
4 years, 10 months ago (2015-06-10 08:49:17 UTC) #2
hajimehoshi
lgtm https://codereview.chromium.org/1172993002/diff/1/Source/web/tests/MHTMLTest.cpp File Source/web/tests/MHTMLTest.cpp (right): https://codereview.chromium.org/1172993002/diff/1/Source/web/tests/MHTMLTest.cpp#newcode73 Source/web/tests/MHTMLTest.cpp:73: } else { nit: early return is better ...
4 years, 10 months ago (2015-06-10 09:02:03 UTC) #3
Tiger (Sony Mobile)
https://codereview.chromium.org/1172993002/diff/1/Source/web/tests/MHTMLTest.cpp File Source/web/tests/MHTMLTest.cpp (right): https://codereview.chromium.org/1172993002/diff/1/Source/web/tests/MHTMLTest.cpp#newcode73 Source/web/tests/MHTMLTest.cpp:73: } else { On 2015/06/10 09:02:03, hajimehoshi wrote: > ...
4 years, 10 months ago (2015-06-10 10:30:37 UTC) #4
philipj_slow
LGTM with voluntary nit. hajimehoshi@, do you think it's OK the way it is? https://codereview.chromium.org/1172993002/diff/20001/Source/web/tests/MHTMLTest.cpp ...
4 years, 10 months ago (2015-06-10 12:10:07 UTC) #6
hajimehoshi
On 2015/06/10 12:10:07, philipj wrote: > LGTM with voluntary nit. hajimehoshi@, do you think it's ...
4 years, 10 months ago (2015-06-10 13:49:10 UTC) #7
Tiger (Sony Mobile)
https://codereview.chromium.org/1172993002/diff/20001/Source/web/tests/MHTMLTest.cpp File Source/web/tests/MHTMLTest.cpp (right): https://codereview.chromium.org/1172993002/diff/20001/Source/web/tests/MHTMLTest.cpp#newcode200 Source/web/tests/MHTMLTest.cpp:200: if (!line.find("Content-Type:")) { On 2015/06/10 12:10:07, philipj wrote: > ...
4 years, 10 months ago (2015-06-10 13:50:08 UTC) #8
philipj_slow
https://codereview.chromium.org/1172993002/diff/40001/Source/web/tests/MHTMLTest.cpp File Source/web/tests/MHTMLTest.cpp (right): https://codereview.chromium.org/1172993002/diff/40001/Source/web/tests/MHTMLTest.cpp#newcode200 Source/web/tests/MHTMLTest.cpp:200: if (line.compare(0, 13, "Content-Type:") == 0) { I'm not ...
4 years, 10 months ago (2015-06-10 13:58:39 UTC) #9
Tiger (Sony Mobile)
https://codereview.chromium.org/1172993002/diff/40001/Source/web/tests/MHTMLTest.cpp File Source/web/tests/MHTMLTest.cpp (right): https://codereview.chromium.org/1172993002/diff/40001/Source/web/tests/MHTMLTest.cpp#newcode200 Source/web/tests/MHTMLTest.cpp:200: if (line.compare(0, 13, "Content-Type:") == 0) { On 2015/06/10 ...
4 years, 10 months ago (2015-06-10 14:16:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172993002/40001
4 years, 10 months ago (2015-06-10 15:15:51 UTC) #13
philipj_slow
https://codereview.chromium.org/1172993002/diff/40001/Source/web/tests/MHTMLTest.cpp File Source/web/tests/MHTMLTest.cpp (right): https://codereview.chromium.org/1172993002/diff/40001/Source/web/tests/MHTMLTest.cpp#newcode200 Source/web/tests/MHTMLTest.cpp:200: if (line.compare(0, 13, "Content-Type:") == 0) { On 2015/06/10 ...
4 years, 10 months ago (2015-06-10 16:42:52 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/66061)
4 years, 10 months ago (2015-06-10 18:16:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172993002/40001
4 years, 10 months ago (2015-06-10 18:45:49 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2015-06-10 19:40:06 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196892

Powered by Google App Engine
This is Rietveld 408576698