| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index f6136ed6e43769fa59418def7d3b30a348c906fe..361130cadc7fa65b91f0a74260ac1895f62d8c91 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -1000,8 +1000,7 @@ bool Internals::wasLastChangeUserEdit(Element* textField, ExceptionState& except
|
| if (textField->hasTagName(inputTag))
|
| return toHTMLInputElement(textField)->lastChangeWasUserEdit();
|
|
|
| - // FIXME: We should be using hasTagName instead but Windows port doesn't link QualifiedNames properly.
|
| - if (textField->tagName() == "TEXTAREA")
|
| + if (textField->hasTagName(textareaTag))
|
| return toHTMLTextAreaElement(textField)->lastChangeWasUserEdit();
|
|
|
| exceptionState.throwDOMException(InvalidNodeTypeError, "The element provided is not a TEXTAREA.");
|
|
|