Block printing through JS when printing is disabled by policy or pref
This CL ensures that when the PrintingEnabled policy or the corresponding printing.enabled pref is set, the JS window.print() call is completely ignored. Previously, it was bringing up a print preview dialog. BUG=107709 TEST=Policy and pref both successfully block JS printing Review URL: https://chromiumcodereview.appspot.com/10689190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148622 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment