Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug.

This commit is contained in:
Henri Sivonen
2011-11-16 09:38:51 +02:00
parent 8c00f0b7d1
commit 0d3eb749d1
23 changed files with 399 additions and 60 deletions

View File

@@ -735,10 +735,10 @@ nsHtml5TreeOpExecutor::RunScript(nsIContent* aScriptElement)
return;
}
if (mPreventScriptExecution) {
sele->PreventExecution();
}
if (mFragmentMode) {
if (mPreventScriptExecution) {
sele->PreventExecution();
}
return;
}