зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1364505 - Add a rule to favor plugin fallback content when no srcURI has been specified. r=qDot
MozReview-Commit-ID: 18VcbxHmi0c
This commit is contained in:
Родитель
dce52337e9
Коммит
c18d8c931c
|
@ -3433,6 +3433,14 @@ nsObjectLoadingContent::HasGoodFallback() {
|
|||
}
|
||||
}
|
||||
|
||||
// RULE "nosrc":
|
||||
// Use fallback content if the object has not specified an URI.
|
||||
if (rulesList[i].EqualsLiteral("nosrc")) {
|
||||
if (!mOriginalURI) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// RULE "adobelink":
|
||||
// Don't use fallback content when it has a link to adobe's website.
|
||||
if (rulesList[i].EqualsLiteral("adobelink")) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче