This can happen when the last page is closed while the print job is sending data to the printer.
Created attachment 226102 [details] Patch
Committed r165371: <http://trac.webkit.org/changeset/165371>