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 7c963f4aa1
commit 8cb7bb6eef
23 changed files with 384 additions and 65 deletions

View File

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