Bug 750096. r=bzbarsky.

This commit is contained in:
Henri Sivonen
2012-06-14 09:14:47 +03:00
parent 68fb6559be
commit ddb3e40159
4 changed files with 26 additions and 0 deletions

View File

@@ -149,6 +149,8 @@ nsParserUtils::ParseFragment(const nsAString& aFragment,
document = do_QueryInterface(domDocument);
NS_ENSURE_TRUE(document, NS_ERROR_NOT_AVAILABLE);
nsAutoScriptBlockerSuppressNodeRemoved autoBlocker;
// stop scripts
nsRefPtr<nsScriptLoader> loader;
bool scripts_enabled = false;