mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 04:43:38 +00:00
mshtml: Improve locale stub for KeyboardEvent.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
ff4fde9e20
commit
08957afe17
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue