Commit 08957afe authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Improve locale stub for KeyboardEvent.

parent ff4fde9e
......@@ -2154,8 +2154,11 @@ static HRESULT WINAPI DOMKeyboardEvent_get_char(IDOMKeyboardEvent *iface, VARIAN
static HRESULT WINAPI DOMKeyboardEvent_get_locale(IDOMKeyboardEvent *iface, BSTR *p)
{
DOMKeyboardEvent *This = impl_from_IDOMKeyboardEvent(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
FIXME("(%p)->(%p) semi-stub\n", This, p);
*p = SysAllocString(L"");
return *p ? S_OK : E_OUTOFMEMORY;
}
static const IDOMKeyboardEventVtbl DOMKeyboardEventVtbl = {
......
......@@ -760,6 +760,7 @@ sync_test("keyboard_event", function() {
ok(e.location === 0, "location = " + e.location);
ok(e.detail === 0, "detail = " + e.detail);
ok(e.which === 0, "which = " + e.which);
ok(e.locale === "", "locale = " + e.locale);
});
sync_test("custom_event", function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment