mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1645071 - remove await from non-blocking listener. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D95125
This commit is contained in:
parent
5fac6c2b9b
commit
25256faaa4
@ -1060,7 +1060,7 @@ HttpObserverManager = {
|
||||
}
|
||||
|
||||
if (kind === "onBeforeSendHeaders" && this.listeners.onSendHeaders.size) {
|
||||
await this.runChannelListener(channel, "onSendHeaders");
|
||||
this.runChannelListener(channel, "onSendHeaders");
|
||||
} else if (kind !== "onErrorOccurred") {
|
||||
channel.errorCheck();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user