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
655adf65
Commit
655adf65
authored
Apr 21, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Return null from IHTMLStorage::getItem stub.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7645094
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
htmlstorage.c
dlls/mshtml/htmlstorage.c
+4
-1
dom.js
dlls/mshtml/tests/dom.js
+3
-0
No files found.
dlls/mshtml/htmlstorage.c
View file @
655adf65
...
...
@@ -145,8 +145,11 @@ static HRESULT WINAPI HTMLStorage_key(IHTMLStorage *iface, LONG lIndex, BSTR *p)
static
HRESULT
WINAPI
HTMLStorage_getItem
(
IHTMLStorage
*
iface
,
BSTR
bstrKey
,
VARIANT
*
p
)
{
HTMLStorage
*
This
=
impl_from_IHTMLStorage
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
bstrKey
),
p
);
return
E_NOTIMPL
;
V_VT
(
p
)
=
VT_NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLStorage_setItem
(
IHTMLStorage
*
iface
,
BSTR
bstrKey
,
BSTR
bstrValue
)
...
...
dlls/mshtml/tests/dom.js
View file @
655adf65
...
...
@@ -412,6 +412,9 @@ sync_test("storage", function() {
"typeof(window.sessionStorage) = "
+
typeof
(
window
.
sessionStorage
));
ok
(
typeof
(
window
.
localStorage
)
===
"object"
||
typeof
(
window
.
localStorage
)
===
"unknown"
,
"typeof(window.localStorage) = "
+
typeof
(
window
.
localStorage
));
var
item
=
sessionStorage
.
getItem
(
"nonexisting"
);
ok
(
item
===
null
,
"item = "
+
item
);
});
async_test
(
"animation"
,
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