mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
dbb633ac74
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS finished loading the notification goes to mail first abd then it print and then check to see if it is busy and it comes back that it is. So instead I have to use two booleans to monitor if the document was asked to be destroyed while it was preparing to print. This typically happens when the user click on a click and it takes a while and then they decide to print. So while the Print Dialog is up the document gets unloaded and when it returned back everything is gone. So when the flow of control returns back from the Print Dialog it checks to see if it "should" have been destroyed, and if so, it then aborts printing, cleans and displays a message if the pressed "OK". If they pressed cancel then it doesn't print the message. Bug 131174 r=dcone sr=attinasi a=asa |
||
---|---|---|
.. | ||
idl | ||
macbuild | ||
public | ||
src | ||
tests | ||
.cvsignore | ||
Makefile.in | ||
makefile.win |