Gabriel Ivăncescu : mshtml/tests: Add tests for mimeTypes and plugins objects' names.

Alexandre Julliard julliard at winehq.org
Tue Oct 12 16:12:48 CDT 2021


Module: wine
Branch: master
Commit: 671fe6f62a7ece621a239a93e03fdf4698174d2b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=671fe6f62a7ece621a239a93e03fdf4698174d2b

Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date:   Fri Oct  8 20:30:55 2021 +0300

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

Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/tests/documentmode.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/mshtml/tests/documentmode.js b/dlls/mshtml/tests/documentmode.js
index 7f7fe879662..3307f2c1848 100644
--- a/dlls/mshtml/tests/documentmode.js
+++ b/dlls/mshtml/tests/documentmode.js
@@ -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");




More information about the wine-cvs mailing list