mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 14:44:26 +00:00
Bug 1059707 Don't print a deprecation warning for theme XBL binding documents r=smaug
This commit is contained in:
parent
bbf77ff477
commit
1c56da8a40
@ -828,6 +828,7 @@ nsXULElement::BindToTree(nsIDocument* aDocument,
|
||||
{
|
||||
if (!aBindingParent &&
|
||||
aDocument &&
|
||||
!aDocument->IsLoadedAsInteractiveData() &&
|
||||
!aDocument->AllowXULXBL() &&
|
||||
!aDocument->HasWarnedAbout(nsIDocument::eImportXULIntoContent)) {
|
||||
nsContentUtils::AddScriptRunner(new XULInContentErrorReporter(aDocument));
|
||||
|
Loading…
x
Reference in New Issue
Block a user