mshtml/tests: Allow typeof(localStorage) to be unknown.
Fixes tests on some win10 versions. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8979458f45
commit
f2e50eedb9
|
@ -398,7 +398,7 @@ sync_test("stylesheets", function() {
|
|||
sync_test("storage", function() {
|
||||
ok(typeof(window.sessionStorage) === "object",
|
||||
"typeof(window.sessionStorage) = " + typeof(window.sessionStorage));
|
||||
ok(typeof(window.localStorage) === "object",
|
||||
ok(typeof(window.localStorage) === "object" || typeof(window.localStorage) === "unknown",
|
||||
"typeof(window.localStorage) = " + typeof(window.localStorage));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue