Chromium Code Reviews
DescriptionReign in print throttling.
Don't throttle the frequency of calls to window.print() from JavaScript if the
action was user initiated (e.g., clicking on a button), if print preview is
active (which is tab-modal, so the user can easily stop any attempted DOS), or
if a flag on the command line is given (say, you want to run chromium for a
point-of-sale system).
BUG=50186
TEST=Go to a web page with a print button - should be able to click on the button and cancel the print quickly without ever seeing the dreaded warning from 50186 in the console.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157612
Patch Set 1 #Patch Set 2 : Rebase to start review #
Total comments: 4
Patch Set 3 : Add comment sentence on new parameter #Patch Set 4 : Rebase only #
Messages
Total messages: 12 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||