mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1210293 - Remove legacy check from the XPIDL HTMLInputElement::SetUserInput. r=bz
This commit is contained in:
parent
60e083098f
commit
531a1064b8
@ -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;
|
||||
|
@ -16,13 +16,13 @@ interface nsIEditor;
|
||||
*
|
||||
*/
|
||||
|
||||
[scriptable, uuid(b33eb56c-3120-418c-892b-774b00c7dde8)]
|
||||
[scriptable, uuid(3503de34-6631-4594-b7be-c36ff6a520c4)]
|
||||
interface nsIDOMNSEditableElement : nsISupports
|
||||
{
|
||||
readonly attribute nsIEditor editor;
|
||||
[noscript] readonly attribute nsIEditor editor;
|
||||
// This is similar to set .value on nsIDOMInput/TextAreaElements, but
|
||||
// handling of the value change is closer to the normal user input, so
|
||||
// 'change' event for example will be dispatched when focusing out the
|
||||
// element.
|
||||
void setUserInput(in DOMString input);
|
||||
[noscript] void setUserInput(in DOMString input);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user