mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Bug 997564 - Use async way to fire an error. r=fabrice
This commit is contained in:
parent
3b0a2a9d18
commit
7af584c1e2
@ -56,7 +56,7 @@ ActivityProxy.prototype = {
|
||||
// Only let certified apps enumerate providers for this filter.
|
||||
if (aOptions.getFilterResults === true &&
|
||||
principal.appStatus != Ci.nsIPrincipal.APP_STATUS_CERTIFIED) {
|
||||
Services.DOMRequest.fireError(this.activity, "SecurityError");
|
||||
Services.DOMRequest.fireErrorAsync(this.activity, "SecurityError");
|
||||
Services.obs.notifyObservers(null, "Activity:Error", null);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user