зеркало из https://github.com/mozilla/pjs.git
Bug 515257 - Remove bogus assertion on optgroup child removal. r=bnewman.
--HG-- extra : rebase_source : ea5f2690286d4dedefcc657472f3f56bf68ff5b6
This commit is contained in:
Родитель
91914faed5
Коммит
2e0f448dd7
|
@ -186,7 +186,6 @@ nsHTMLOptGroupElement::InsertChildAt(nsIContent* aKid,
|
|||
nsresult
|
||||
nsHTMLOptGroupElement::RemoveChildAt(PRUint32 aIndex, PRBool aNotify, PRBool aMutationEvent)
|
||||
{
|
||||
NS_ASSERTION(aMutationEvent, "Someone tried to inhibit mutation events on optgroup child removal.");
|
||||
nsSafeOptionListMutation safeMutation(GetSelect(), this, nsnull, aIndex);
|
||||
nsresult rv = nsGenericHTMLElement::RemoveChildAt(aIndex, aNotify, aMutationEvent);
|
||||
if (NS_FAILED(rv)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче