DescriptionBlock 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148622
Patch Set 1 #Patch Set 2 : Rebased now that the printing.* prefs are moving to the profile. #Patch Set 3 : Meh. The printing code changed under me. Rebased. #
Messages
Total messages: 10 (0 generated)
|