зеркало из https://github.com/mozilla/gecko-dev.git
Bug 813462 - Activities with unknown properties in the payload should not be filtered-out by the handlers. r=mounir
This commit is contained in:
Родитель
e1aa912c8f
Коммит
afcb70dc61
|
@ -279,9 +279,9 @@ let Activities = {
|
|||
// For any incoming property.
|
||||
for (let prop in aMsg.options.data) {
|
||||
|
||||
// If this is unknown for the app, this app must be excluded.
|
||||
// If this is unknown for the app, let's continue.
|
||||
if (!(prop in aResult.description.filters)) {
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Otherwise, let's check the value against the filter.
|
||||
|
|
Загрузка…
Ссылка в новой задаче