зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c24f801ee6
Коммит
499d995e58
|
@ -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++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче