mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 785574 - Add a script blocker in nsHTMLEditor::SetAttributeOrEquivalent; r=bzbarsky
This commit is contained in:
parent
0ccbb9082a
commit
fabdcd910a
@ -4554,6 +4554,8 @@ nsHTMLEditor::SetAttributeOrEquivalent(nsIDOMElement * aElement,
|
||||
const nsAString & aValue,
|
||||
bool aSuppressTransaction)
|
||||
{
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
|
||||
nsresult res = NS_OK;
|
||||
if (IsCSSEnabled() && mHTMLCSSUtils) {
|
||||
int32_t count;
|
||||
|
Loading…
Reference in New Issue
Block a user