mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 534546 - Script with defer attribute never runs in the HTML5 parser. Part of the patch for bug 515610 (r=bnewman) but not landed due to a bad merge.
--HG-- extra : rebase_source : 9a6d14b2147370d16bd27b206e12b05037279d83
This commit is contained in:
parent
90122f0ace
commit
f4ab766e30
@ -508,6 +508,11 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
|
||||
*aScriptElement = node;
|
||||
return rv;
|
||||
}
|
||||
case eTreeOpRunScriptAsyncDefer: {
|
||||
nsIContent* node = *(mOne.node);
|
||||
aBuilder->RunScript(node);
|
||||
return rv;
|
||||
}
|
||||
case eTreeOpDoneAddingChildren: {
|
||||
nsIContent* node = *(mOne.node);
|
||||
node->DoneAddingChildren(aBuilder->HaveNotified(node));
|
||||
|
Loading…
Reference in New Issue
Block a user