mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1177013 - Telemetry for CPOW cancelation (r=dvander)
This commit is contained in:
parent
ffa804eb82
commit
cd8523e75b
@ -14,6 +14,7 @@
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/Move.h"
|
||||
#include "mozilla/SizePrintfMacros.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "nsDebug.h"
|
||||
#include "nsISupportsImpl.h"
|
||||
#include "nsContentUtils.h"
|
||||
@ -2040,6 +2041,7 @@ void
|
||||
CancelCPOWs()
|
||||
{
|
||||
if (gParentProcessBlocker) {
|
||||
mozilla::Telemetry::Accumulate(mozilla::Telemetry::IPC_TRANSACTION_CANCEL, true);
|
||||
gParentProcessBlocker->CancelCurrentTransaction();
|
||||
}
|
||||
}
|
||||
|
@ -4843,6 +4843,12 @@
|
||||
"keyed" : true,
|
||||
"description" : "Exceptions thrown by add-ons"
|
||||
},
|
||||
"IPC_TRANSACTION_CANCEL": {
|
||||
"alert_emails": ["billm@mozilla.com"],
|
||||
"expires_in_version": "never",
|
||||
"kind": "boolean",
|
||||
"description": "True when an IPC transaction is canceled"
|
||||
},
|
||||
"MISBEHAVING_ADDONS_CPOW_TIME_MS": {
|
||||
"expires_in_version": "never",
|
||||
"kind": "exponential",
|
||||
|
Loading…
Reference in New Issue
Block a user