mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1241278 - Record telemetry for notification permission callback usage. r=vladan
This commit is contained in:
parent
0d8c068131
commit
d873e15617
@ -656,6 +656,8 @@ NotificationPermissionRequest::ResolvePromise()
|
||||
mCallback->Call(mPermission, error);
|
||||
rv = error.StealNSResult();
|
||||
}
|
||||
Telemetry::Accumulate(
|
||||
Telemetry::WEB_NOTIFICATION_REQUEST_PERMISSION_CALLBACK, !!mCallback);
|
||||
mPromise->MaybeResolve(mPermission);
|
||||
return rv;
|
||||
}
|
||||
|
@ -10072,5 +10072,12 @@
|
||||
"bug_numbers": [1229961],
|
||||
"n_values": 12,
|
||||
"description": "Plugin drawing model. 0 when windowed, otherwise NPDrawingModel + 1."
|
||||
},
|
||||
"WEB_NOTIFICATION_REQUEST_PERMISSION_CALLBACK": {
|
||||
"alert_emails": ["push@mozilla.com"],
|
||||
"expires_in_version": "55",
|
||||
"bug_numbers": [1241278],
|
||||
"kind": "boolean",
|
||||
"description": "Usage of the deprecated Notification.requestPermission() callback argument"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user