Make sure to return in the error condition, not just pop the JSContext stack
and continue. Bug 321494, r=sicking, sr=brendan git-svn-id: svn://10.0.0.236/trunk@187107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3112,7 +3112,8 @@ nsTextControlFrame::SetValue(const nsAString& aValue)
|
||||
JSContext* cx;
|
||||
stack->Pop(&cx);
|
||||
NS_ASSERTION(!cx, "Unexpected JSContext popped!");
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// Since this code does not handle user-generated changes to the text,
|
||||
|
||||
Reference in New Issue
Block a user