Bug 1381023: Don't treat no response as an error in hybrid extension message handling. r=trivial

MozReview-Commit-ID: FukWQcLwFOT
This commit is contained in:
Kris Maglione 2017-07-14 09:40:10 -07:00
Родитель c24f801ee6
Коммит 499d995e58
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -245,7 +245,8 @@ ProxyMessenger = {
result = res;
}
} catch (e) {
if (e.result != MessageChannel.RESULT_NO_HANDLER) {
if (e.result !== MessageChannel.RESULT_NO_HANDLER &&
e.result !== MessageChannel.RESULT_NO_RESPONSE) {
throw e;
}
failures++;