mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1524200 - Introduce additional debugging messages to Sanitizer.jsm, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D20976 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4b9d7d9972
commit
a22566dfa7
@ -750,6 +750,7 @@ async function getAllPrincipals(progress) {
|
||||
progress.step = "principals-quota-manager";
|
||||
let principals = await new Promise(resolve => {
|
||||
quotaManagerService.getUsage(request => {
|
||||
progress.step = "principals-quota-manager-getUsage";
|
||||
if (request.resultCode != Cr.NS_OK) {
|
||||
// We are probably shutting down. We don't want to propagate the
|
||||
// error, rejecting the promise.
|
||||
@ -765,6 +766,8 @@ async function getAllPrincipals(progress) {
|
||||
list.push(principal);
|
||||
}
|
||||
}
|
||||
|
||||
progress.step = "principals-quota-manager-completed";
|
||||
resolve(list);
|
||||
});
|
||||
}).catch(() => []);
|
||||
|
Loading…
Reference in New Issue
Block a user