DescriptionRemove "recursive" parameter from WebPageSerializer::serialize.
After a recent CL, almost all callers of
WebPageSerializer::serialize(WebLocalFrame*,...) pass recursive=false. The
current CL removes the "recursive" parameter altogether and uses non-recursive
/ single-frame mode all the time.
The only place that kept using the recursive mode was 1 test in
dom_serializer_browsertest.cc. This test has been moved to a new
SaveDownloadableIFrame test in save_page_browsertest.cc. The new test tests
the same scenario as the old test, but coordinating serializing of multiple
frames at the SavePackage level (rather than at the WebPageSerializer level).
BUG=526786
Committed: https://crrev.com/d083d29530a507b7b5a6df1c572743c27c80c463
Cr-Commit-Position: refs/heads/master@{#351456}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Reverted VerifySavePackageExpectations changes. #
Total comments: 2
Patch Set 3 : Unconditionally enabling the new test. #Patch Set 4 : Rebasing... #Messages
Total messages: 28 (12 generated)
|