mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
6d191b58d4
64 changed files with 532 additions and 20498 deletions
|
|
@ -718,9 +718,9 @@ nsObjectLoadingContent::UnbindFromTree(bool aDeep, bool aNullParent)
|
|||
if (mType == eType_Plugin) {
|
||||
nsIDocument* doc = thisContent->GetComposedDoc();
|
||||
if (doc && doc->IsActive()) {
|
||||
nsCOMPtr<nsIRunnable> ev = new nsSimplePluginEvent(doc,
|
||||
NS_LITERAL_STRING("PluginRemoved"));
|
||||
NS_DispatchToCurrentThread(ev);
|
||||
nsCOMPtr<nsIRunnable> ev = new nsSimplePluginEvent(doc,
|
||||
NS_LITERAL_STRING("PluginRemoved"));
|
||||
NS_DispatchToCurrentThread(ev);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3628,6 +3628,14 @@ nsObjectLoadingContent::HasGoodFallback() {
|
|||
}
|
||||
}
|
||||
|
||||
// RULE "nosrc":
|
||||
// Use fallback content if the object has not specified a src 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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue