PrintRenderFrameHelper: Refuse to print framesets

blink::WebLocalFrameImpl::PrintBegin() will DCHECK if the body of the
document being printed is a <frameset>. Return early with a preview or
print failure if the document is a <frameset>, instead of running
through the DCHECK.

Note: To see the issue without running clusterfuzz, create an html file
with the following contents:
<html>
<head></head>
<frameset></frameset>
</html>
and press ctrl + P to open Print Preview in a debug build.

Bug: 890056
Change-Id: Ifdb81deb55f6b481d5734c79b504bd6dfc172950
Reviewed-on: https://chromium-review.googlesource.com/c/1402001
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#621062}
1 file changed