Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.

This commit is contained in:
Henri Sivonen
2010-11-01 11:50:01 +01:00
parent 738dc53862
commit 8743dcf063
14 changed files with 86 additions and 16 deletions

View File

@@ -221,12 +221,16 @@ class nsHtml5Parser : public nsIParser,
* @param aContextLocalName local name of context node
* @param aContextNamespace namespace of context node
* @param aQuirks true to make <table> not close <p>
* @param aPreventScriptExecution true to prevent scripts from executing;
* don't set to false when parsing into a target node that has been bound
* to tree.
*/
NS_IMETHOD ParseFragment(const nsAString& aSourceBuffer,
nsIContent* aTargetNode,
nsIAtom* aContextLocalName,
PRInt32 aContextNamespace,
PRBool aQuirks);
PRBool aQuirks,
PRBool aPreventScriptExecution);
/**
* Don't call. For interface compat only.