зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1647625 - Undo check for id or reason for block requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D80679
This commit is contained in:
Родитель
bc56a33f92
Коммит
21ef456a07
|
@ -371,15 +371,10 @@ NetworkObserver.prototype = {
|
|||
// If the owner isn't set we need to create the network event and send
|
||||
// it to the client. This happens in case where the request has been
|
||||
// blocked (e.g. CORS) and "http-on-stop-request" is the first notification.
|
||||
|
||||
// Temp fix to land on 79 to uplift to 78, lets remove from 79 after
|
||||
// eslint-disable-next-line no-lonely-if
|
||||
if (id || reason) {
|
||||
this._createNetworkEvent(subject, {
|
||||
blockedReason: reason,
|
||||
blockingExtension: id,
|
||||
});
|
||||
}
|
||||
this._createNetworkEvent(subject, {
|
||||
blockedReason: reason,
|
||||
blockingExtension: id,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче