mshtml/tests: Add tests for mimeTypes and plugins objects' names.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gabriel Ivăncescu 2021-10-08 20:30:55 +03:00 committed by Alexandre Julliard
parent 6f78047199
commit 671fe6f62a
1 changed files with 2 additions and 0 deletions

View File

@ -216,10 +216,12 @@ sync_test("builtin_toString", function() {
test("implementation", document.implementation, "DOMImplementation");
if(localStorage) test("localStorage", localStorage, "Storage");
test("location", window.location, "Object", window.location.href);
if(v >= 11 /* todo_wine */) test("mimeTypes", window.navigator.mimeTypes, v < 11 ? "MSMimeTypesCollection" : "MimeTypeArray");
test("navigator", window.navigator, "Navigator");
test("performance", window.performance, "Performance");
test("performanceNavigation", window.performance.navigation, "PerformanceNavigation");
test("performanceTiming", window.performance.timing, "PerformanceTiming");
if(v >= 11 /* todo_wine */) test("plugins", window.navigator.plugins, v < 11 ? "MSPluginsCollection" : "PluginArray");
test("screen", window.screen, "Screen");
test("sessionStorage", window.sessionStorage, "Storage");
test("style", document.body.style, "MSStyleCSSProperties");