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

Issue 1167413004: Merge page serializers [4/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

Support image documents, move frames test Move WebPageNewSerializeTest.PageWithFrames, WebPageNewSerializeTest.BlankFrames and WebPageNewSerializeTest.SubFrameSerialization test to PageSerializerTest. Also adds support for ImageDocument in PageSerializer so frames that points directly to an image is also supported. -- 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=196861

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -178 lines) Patch
M Source/core/page/PageSerializer.cpp View 1 3 chunks +8 lines, -6 lines 0 comments Download
M Source/web/tests/PageSerializerTest.cpp View 3 chunks +87 lines, -2 lines 0 comments Download
M Source/web/tests/WebPageNewSerializerTest.cpp View 3 chunks +0 lines, -94 lines 0 comments Download
D Source/web/tests/data/pageserializer/blank_frames.html View 1 chunk +0 lines, -37 lines 0 comments Download
A + Source/web/tests/data/pageserializer/frames/blank_frames.html View 2 chunks +3 lines, -4 lines 0 comments Download
A + Source/web/tests/data/pageserializer/frames/embed_iframe.html View 1 chunk +0 lines, -2 lines 0 comments Download
A Source/web/tests/data/pageserializer/frames/image.png View Binary file 0 comments Download
A + Source/web/tests/data/pageserializer/frames/object_iframe.html View 1 chunk +0 lines, -2 lines 0 comments Download
A Source/web/tests/data/pageserializer/frames/simple_frames.html View 1 chunk +14 lines, -0 lines 0 comments Download
A Source/web/tests/data/pageserializer/frames/simple_frames_1.html View 1 chunk +3 lines, -0 lines 0 comments Download
A Source/web/tests/data/pageserializer/frames/simple_frames_3.html View 1 chunk +3 lines, -0 lines 0 comments Download
A Source/web/tests/data/pageserializer/frames/simple_frames_top.html View 1 chunk +7 lines, -0 lines 0 comments Download
A + Source/web/tests/data/pageserializer/frames/simple_iframe.html View 1 chunk +1 line, -1 line 0 comments Download
A Source/web/tests/data/pageserializer/frames/top_frame.html View 1 chunk +21 lines, -0 lines 0 comments Download
D Source/web/tests/data/pageserializer/iframe.html View 1 chunk +0 lines, -9 lines 0 comments Download
D Source/web/tests/data/pageserializer/iframe2.html View 1 chunk +0 lines, -9 lines 0 comments Download
D Source/web/tests/data/pageserializer/top_frame.html View 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Tiger (Sony Mobile)
Please take a look. Thank you for reviewing.
4 years, 10 months ago (2015-06-09 09:38:50 UTC) #1
hajimehoshi
lgtm
4 years, 10 months ago (2015-06-10 04:34:03 UTC) #2
philipj_slow
LGTM % nits https://codereview.chromium.org/1167413004/diff/1/Source/core/page/PageSerializer.cpp File Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1167413004/diff/1/Source/core/page/PageSerializer.cpp#newcode240 Source/core/page/PageSerializer.cpp:240: WTF::TextEncoding textEncoding(document.charset()); Try document.encoding(), it's what ...
4 years, 10 months ago (2015-06-10 09:09:30 UTC) #4
Tiger (Sony Mobile)
https://codereview.chromium.org/1167413004/diff/1/Source/core/page/PageSerializer.cpp File Source/core/page/PageSerializer.cpp (right): https://codereview.chromium.org/1167413004/diff/1/Source/core/page/PageSerializer.cpp#newcode240 Source/core/page/PageSerializer.cpp:240: WTF::TextEncoding textEncoding(document.charset()); On 2015/06/10 09:09:30, philipj wrote: > Try ...
4 years, 10 months ago (2015-06-10 09:38:08 UTC) #5
philipj_slow
lgtm
4 years, 10 months ago (2015-06-10 11:12:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167413004/20001
4 years, 10 months ago (2015-06-10 11:12:48 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2015-06-10 12:41:10 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196861

Powered by Google App Engine
This is Rietveld 408576698