Bug 1289868: Whitelist outparam in heap write hazard analysis on a CLOSED TREE. r=me

MozReview-Commit-ID: GlVmMxGopBb
This commit is contained in:
Emilio Cobos Álvarez 2017-05-21 00:00:31 +02:00
parent 5fddbbeb72
commit 8ab7ae19d1

View File

@ -209,7 +209,8 @@ function treatAsSafeArgument(entry, varName, csuName)
["Gecko_nsFont_InitSystem", "aDest", null],
["Gecko_nsStyleFont_FixupNoneGeneric", "aFont", null],
["Gecko_StyleTransition_SetUnsupportedProperty", "aTransition", null],
["Gecko_AddPropertyToSet", "aPropertySet", "null"],
["Gecko_AddPropertyToSet", "aPropertySet", null],
["Gecko_CalcStyleDifference", "aAnyStyleChanged", null],
];
for (var [entryMatch, varMatch, csuMatch] of whitelist) {
assert(entryMatch || varMatch || csuMatch);