commit | dcb35fd5c675d00dafda22073ca7ecd5ee4d5815 | [log] [tgz] |
---|---|---|
author | rbpotter <rbpotter@chromium.org> | Wed Jan 09 06:48:47 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 09 06:48:47 2019 |
tree | 85500336cf901f9c20d6a49f9017eb1f644795db | |
parent | d4ef25550261c5fbd415c843fbbbcdcfa949d7e7 [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .