Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
08957afe
Commit
08957afe
authored
Nov 07, 2022
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Nov 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Improve locale stub for KeyboardEvent.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
ff4fde9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-2
events.js
dlls/mshtml/tests/events.js
+1
-0
No files found.
dlls/mshtml/htmlevent.c
View file @
08957afe
...
...
@@ -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
=
{
...
...
dlls/mshtml/tests/events.js
View file @
08957afe
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment