diff --git a/gfx/layers/wr/WebRenderBridgeParent.cpp b/gfx/layers/wr/WebRenderBridgeParent.cpp index 08792ab7b390..a4469ef74c5c 100644 --- a/gfx/layers/wr/WebRenderBridgeParent.cpp +++ b/gfx/layers/wr/WebRenderBridgeParent.cpp @@ -13,6 +13,7 @@ #include "GeckoProfiler.h" #include "GLContext.h" #include "GLContextProvider.h" +#include "nsExceptionHandler.h" #include "mozilla/Range.h" #include "mozilla/layers/AnimationHelper.h" #include "mozilla/layers/APZSampler.h" @@ -912,6 +913,10 @@ mozilla::ipc::IPCResult WebRenderBridgeParent::RecvSetDisplayList( return IPC_OK(); } + if (!IsRootWebRenderBridgeParent()) { + CrashReporter::AnnotateCrashReport(CrashReporter::Annotation::URL, aTxnURL); + } + AUTO_PROFILER_TRACING("Paint", "SetDisplayList"); UpdateFwdTransactionId(aFwdTransactionId); @@ -1032,6 +1037,10 @@ mozilla::ipc::IPCResult WebRenderBridgeParent::RecvEmptyTransaction( return IPC_OK(); } + if (!IsRootWebRenderBridgeParent()) { + CrashReporter::AnnotateCrashReport(CrashReporter::Annotation::URL, aTxnURL); + } + AUTO_PROFILER_TRACING("Paint", "EmptyTransaction"); UpdateFwdTransactionId(aFwdTransactionId);