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:
Hubert Boma Manilla 2020-06-24 12:01:27 +00:00
Родитель bc56a33f92
Коммит 21ef456a07
1 изменённых файлов: 4 добавлений и 9 удалений

Просмотреть файл

@ -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,
});
}
},