mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Make sure to return in the error condition, not just pop the JSContext stack
and continue. Bug 321494, r=sicking, sr=brendan
This commit is contained in:
parent
dbc03c98c4
commit
199fb02ff4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user