Support window.print() in iframes.
window.print() will work in iframes only if the user is interacting with the page. This will prevent abusive experience from malicious iframes. This CL does not have tests, because there is no infrastructure for testing PrintTabHelper, AddScriptCommandCallback and iframes. Bug: 881876 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: Ia741e74accf69b6cee63351e04851e3068e8c3e5 Reviewed-on: https://chromium-review.googlesource.com/1213270Reviewed-by:Mike Dougherty <michaeldo@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#589632}
Showing
Please register or sign in to comment