gecko-dev/layout/printing
Jonathan Watt 176a890dbf Bug 1432409 part 2 - Make RemotePrintJobChild::OnStatusChange no-op if initialization failed. r=dholbert
After the part 1 fix, we can still (asynchronously) call some generic cleanup
code that tries to let the parent process's RemotePrintJobParent know that
printing failed under the stack:

  RemotePrintJobChild::OnStatusChange
  nsPrintData::DoOnStatusChange
  nsPrintJob::FirePrintingErrorEvent
  nsPrintJob::CleanupOnFailure

We crash on trying to use the RemotePrintJobChild to message the parent process
since the delete message from the parent has been processed.  This change makes
RemotePrintJobChild::OnStatusChange check that it's initialized before trying
to send any messages.

Pushing to CLOSED TREE since this passed a full Try build and is a topcrash
we want to land for beta ASAP.

MozReview-Commit-ID: FfizRMj2s2m
2018-02-19 23:25:30 +00:00
..
crashtests Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
ipc Bug 1432409 part 2 - Make RemotePrintJobChild::OnStatusChange no-op if initialization failed. r=dholbert 2018-02-19 23:25:30 +00:00
DrawEventRecorder.cpp Bug 1431475: Make assertions guarding opening and closing print recording file streams MOZ_DIAGNOSTIC_ASSERTs. r=jwatt 2018-01-22 17:54:53 +00:00
DrawEventRecorder.h Bug 1431475: Make assertions guarding opening and closing print recording file streams MOZ_DIAGNOSTIC_ASSERTs. r=jwatt 2018-01-22 17:54:53 +00:00
PrintTranslator.cpp Bug 1319423 - Part 2 - Switch away from std::ifstream to PRFileDesc in PrintTranslator; r=jrmuizel 2017-10-03 13:23:57 -04:00
PrintTranslator.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
moz.build Bug 1432203 - Remove nsIPrintStatusFeedback. r=bobowen 2018-01-15 11:42:15 +00:00
nsIPrintProgress.idl
nsIPrintProgressParams.idl Bug 1410288 - Change nsIPrintProgressParams' attributes from wstring to AString. r=bobowen. 2017-10-19 11:32:37 +11:00
nsPagePrintTimer.cpp Bug 1430682 - Use OwningNonNull for nsPagePrintTimer::mDocViewerPrint and remove null checks. r=bobowen 2018-01-09 22:21:53 +00:00
nsPagePrintTimer.h Bug 1430682 - Use OwningNonNull for nsPagePrintTimer::mDocViewerPrint and remove null checks. r=bobowen 2018-01-09 22:21:53 +00:00
nsPrintData.cpp Bug 1430683 - Remove nsPrintData::mOrigDCScale. r=bobowen 2018-01-08 11:43:16 +00:00
nsPrintData.h Bug 1430683 - Remove nsPrintData::mOrigDCScale. r=bobowen 2018-01-08 11:43:16 +00:00
nsPrintJob.cpp Bug 1434318 part 10. Remove nsIDOMDocument's title attribute. r=mystor 2018-01-31 15:18:10 -05:00
nsPrintJob.h Bug 1425641, part 2 - Remove lots of static methods from the nsPrintJob interface. r=bobowen 2017-12-06 12:47:19 +00:00
nsPrintObject.cpp Bug 1434318 part 1. Make nsIContentViewer's DOMDocument readonly. r=mystor 2018-01-31 15:18:09 -05:00
nsPrintObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsPrintPreviewListener.cpp Bug 1436508 part 12. Remove nsIDOMKeyEvent. r=masayuki 2018-02-09 11:17:10 -05:00
nsPrintPreviewListener.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00