Bug 1210293 - Remove legacy check from the XPIDL HTMLInputElement::SetUserInput. r=bz

This commit is contained in:
Bobby Holley
2015-09-30 22:02:47 -07:00
parent 3605393c71
commit 7ee0b28cb9
2 changed files with 3 additions and 7 deletions

View File

@@ -2202,10 +2202,6 @@ HTMLInputElement::MozIsTextField(bool aExcludePassword, bool* aResult)
NS_IMETHODIMP
HTMLInputElement::SetUserInput(const nsAString& aValue)
{
if (!nsContentUtils::IsCallerChrome()) {
return NS_ERROR_DOM_SECURITY_ERR;
}
if (mType == NS_FORM_INPUT_FILE)
{
Sequence<nsString> list;