Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user