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:
Jacek Caban 2021-03-26 16:33:14 +01:00 committed by Alexandre Julliard
parent 8979458f45
commit f2e50eedb9
1 changed files with 1 additions and 1 deletions

View File

@ -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));
});