From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/jscript/jsutils.c | 10 ++++++++++ dlls/jscript/tests/caller.c | 24 +++++++++++++++++++++--- 2 files changed, 31 insertions(+), 3 deletions(-)
diff --git a/dlls/jscript/jsutils.c b/dlls/jscript/jsutils.c index 96e42625dc6..166fdc696b9 100644 --- a/dlls/jscript/jsutils.c +++ b/dlls/jscript/jsutils.c @@ -955,6 +955,16 @@ HRESULT variant_change_type(script_ctx_t *ctx, VARIANT *dst, VARIANT *src, VARTY case VT_NULL: hres = V_VT(src) == VT_NULL ? S_OK : E_NOTIMPL; break; + case VT_UNKNOWN: + case VT_DISPATCH: + if(V_VT(src) != vt) + hres = E_NOTIMPL; + else { + IUnknown_AddRef(V_UNKNOWN(src)); + V_UNKNOWN(dst) = V_UNKNOWN(src); + hres = S_OK; + } + break; default: FIXME("vt %d not implemented\n", vt); hres = E_NOTIMPL; diff --git a/dlls/jscript/tests/caller.c b/dlls/jscript/tests/caller.c index 0da8c9abb08..836f5a820a1 100644 --- a/dlls/jscript/tests/caller.c +++ b/dlls/jscript/tests/caller.c @@ -97,14 +97,14 @@ static void _call_change_type(unsigned line, IVariantChangeType *change_type, VA HRESULT hres;
VariantInit(dst); - if(V_VT(src) == VT_DISPATCH && vt != VT_BOOL) { + if(V_VT(src) != vt && vt != VT_BOOL && (V_VT(src) == VT_DISPATCH || V_VT(src) == VT_UNKNOWN)) { SET_EXPECT(OnEnterScript); SET_EXPECT(OnLeaveScript); } hres = IVariantChangeType_ChangeType(change_type, dst, src, 0, vt); ok_(__FILE__,line)(hres == S_OK, "ChangeType(%d) failed: %08lx\n", vt, hres); ok_(__FILE__,line)(V_VT(dst) == vt, "V_VT(dst) = %d\n", V_VT(dst)); - if(V_VT(src) == VT_DISPATCH && vt != VT_BOOL) { + if(V_VT(src) != vt && vt != VT_BOOL && (V_VT(src) == VT_DISPATCH || V_VT(src) == VT_UNKNOWN)) { CHECK_CALLED(OnEnterScript); CHECK_CALLED(OnLeaveScript); } @@ -118,7 +118,7 @@ static void _change_type_fail(unsigned line, IVariantChangeType *change_type, VA
V_VT(&v) = VT_EMPTY; hres = IVariantChangeType_ChangeType(change_type, &v, src, 0, vt); - ok_(__FILE__,line)(hres == exhres, "ChangeType failed: %08lx, expected %08lx\n", hres, exhres); + ok_(__FILE__,line)(hres == exhres, "ChangeType failed: %08lx, expected %08lx [%d]\n", hres, exhres, V_VT(src)); }
static void test_change_type(IVariantChangeType *change_type, VARIANT *src, const conv_results_t *ex) @@ -158,6 +158,20 @@ static void test_change_type(IVariantChangeType *change_type, VARIANT *src, cons
call_change_type(change_type, &v, src, VT_I2); ok(V_I2(&v) == (INT16)ex->int_result, "V_I2(v) = %d, expected %d\n", V_I2(&v), ex->int_result); + + if(V_VT(src) != VT_UNKNOWN) + change_type_fail(change_type, src, VT_UNKNOWN, E_NOTIMPL); + else { + call_change_type(change_type, &v, src, VT_UNKNOWN); + ok(V_UNKNOWN(&v) == V_UNKNOWN(src), "V_UNKNOWN(v) != V_UNKNOWN(src)\n"); + } + + if(V_VT(src) != VT_DISPATCH) + change_type_fail(change_type, src, VT_DISPATCH, E_NOTIMPL); + else { + call_change_type(change_type, &v, src, VT_DISPATCH); + ok(V_DISPATCH(&v) == V_DISPATCH(src), "V_DISPATCH(v) != V_DISPATCH(src)\n"); + } }
static void test_change_types(IVariantChangeType *change_type, IDispatch *obj_disp) @@ -200,6 +214,10 @@ static void test_change_types(IVariantChangeType *change_type, IDispatch *obj_di V_VT(&v) = VT_NULL; test_change_type(change_type, &v, &null_results);
+ V_VT(&v) = VT_UNKNOWN; + V_UNKNOWN(&v) = (IUnknown*)obj_disp; + test_change_type(change_type, &v, &obj_results); + V_VT(&v) = VT_DISPATCH; V_DISPATCH(&v) = obj_disp; test_change_type(change_type, &v, &obj_results);
From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/dispex.c | 11 +++++++++++ dlls/mshtml/htmlevent.c | 3 +++ dlls/mshtml/tests/events.c | 2 ++ dlls/mshtml/tests/events.js | 15 +++++++++++++++ 4 files changed, 31 insertions(+)
diff --git a/dlls/mshtml/dispex.c b/dlls/mshtml/dispex.c index ebb1a675d91..8f60ebb9be3 100644 --- a/dlls/mshtml/dispex.c +++ b/dlls/mshtml/dispex.c @@ -1064,6 +1064,17 @@ HRESULT change_type(VARIANT *dst, VARIANT *src, VARTYPE vt, IServiceProvider *ca { V_VT(dst) = VT_EMPTY;
+ switch(vt) { + case VT_UNKNOWN: + case VT_DISPATCH: + if(V_VT(src) == VT_EMPTY || V_VT(src) == VT_NULL) { + V_VT(dst) = vt; + V_DISPATCH(dst) = NULL; + return S_OK; + } + break; + } + if(caller) { IVariantChangeType *change_type = NULL; HRESULT hres; diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c index 581d949a447..d9e1307d451 100644 --- a/dlls/mshtml/htmlevent.c +++ b/dlls/mshtml/htmlevent.c @@ -4100,6 +4100,9 @@ static HRESULT WINAPI EventTarget_addEventListener(IEventTarget *iface, BSTR typ
TRACE("(%p)->(%s %p %x)\n", This, debugstr_w(type), function, capture);
+ if(!function) + return S_OK; + container = get_listener_container(This, type, TRUE); if(!container) return E_OUTOFMEMORY; diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c index 1819bc6bdd9..b53851d61bf 100644 --- a/dlls/mshtml/tests/events.c +++ b/dlls/mshtml/tests/events.c @@ -1898,6 +1898,7 @@ static void test_onclick(IHTMLDocument2 *doc) VariantClear(&v);
if(document_mode >= 9) { + add_event_listener((IUnknown*)div, L"click", NULL, VARIANT_FALSE); add_event_listener((IUnknown*)div, L"click", (IDispatch*)&div_onclick_capture_obj, VARIANT_TRUE); add_event_listener((IUnknown*)div, L"click", (IDispatch*)&div_onclick_bubble_obj, VARIANT_FALSE); } @@ -2052,6 +2053,7 @@ static void test_onclick(IHTMLDocument2 *doc) doc_detach_event(doc, L"onclick", (IDispatch*)&doc_onclick_attached_obj);
if(document_mode >= 9) { + remove_event_listener((IUnknown*)div, L"click", NULL, VARIANT_FALSE); remove_event_listener((IUnknown*)div, L"click", (IDispatch*)&div_onclick_capture_obj, VARIANT_TRUE); remove_event_listener((IUnknown*)div, L"click", (IDispatch*)&div_onclick_bubble_obj, VARIANT_FALSE); } diff --git a/dlls/mshtml/tests/events.js b/dlls/mshtml/tests/events.js index 997e583ad20..156330e984b 100644 --- a/dlls/mshtml/tests/events.js +++ b/dlls/mshtml/tests/events.js @@ -198,6 +198,21 @@ sync_test("add_remove_listener", function() { calls = ""; div.click(); ok(calls === "", "calls = " + calls); + + /* test undefined function argument */ + div.addEventListener("click", undefined, false); + + calls = ""; + div.click(); + ok(calls === "", "calls = " + calls); + + div.addEventListener("click", listener, false); + div.removeEventListener("click", undefined); + + calls = ""; + div.click(); + ok(calls === "listener,", "calls = " + calls); + div.removeEventListener("click", listener); });
sync_test("event_phase", function() {
From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com ---
The special entry has no flags, so there's no need for this. --- dlls/mshtml/htmlevent.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c index d9e1307d451..6a9497ec436 100644 --- a/dlls/mshtml/htmlevent.c +++ b/dlls/mshtml/htmlevent.c @@ -3674,8 +3674,6 @@ HRESULT ensure_doc_nsevent_handler(HTMLDocumentNode *doc, nsIDOMNode *nsnode, ev doc->event_vector[eid] = TRUE; eid = EVENTID_BLUR; break; - case EVENTID_LAST: - return S_OK; default: break; }
From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/htmldoc.c | 24 ++++++++++- dlls/mshtml/main.c | 66 +++++++++++++++++++++++++++++++ dlls/mshtml/mshtml_private.h | 1 + dlls/mshtml/tests/documentmode.js | 1 + dlls/mshtml/tests/htmldoc.c | 19 +++++++++ 5 files changed, 109 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index e3ef57ecfee..35d8a6ac0e7 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -1245,8 +1245,28 @@ static HRESULT WINAPI HTMLDocument_get_defaultCharset(IHTMLDocument2 *iface, BST static HRESULT WINAPI HTMLDocument_get_mimeType(IHTMLDocument2 *iface, BSTR *p) { HTMLDocumentNode *This = impl_from_IHTMLDocument2(iface); - FIXME("(%p)->(%p)\n", This, p); - return E_NOTIMPL; + const char *content_type; + WCHAR *content_typeW; + HRESULT hres; + + TRACE("(%p)->(%p)\n", This, p); + + *p = NULL; + + if(!This->window) { + FIXME("No window\n"); + return E_NOTIMPL; + } + + if(!This->window->bscallback || !(content_type = This->window->bscallback->nschannel->content_type)) + return E_FAIL; + + if(!(content_typeW = heap_strdupAtoW(content_type))) + return E_OUTOFMEMORY; + + hres = get_mime_type_display_name(content_typeW, p); + heap_free(content_typeW); + return hres; }
static HRESULT WINAPI HTMLDocument_get_fileSize(IHTMLDocument2 *iface, BSTR *p) diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c index ae14137bc54..03cf0713ef4 100644 --- a/dlls/mshtml/main.c +++ b/dlls/mshtml/main.c @@ -48,6 +48,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
+#define CHARS_IN_GUID 39 + HINSTANCE hInst; DWORD mshtml_tls = TLS_OUT_OF_INDEXES;
@@ -126,6 +128,70 @@ BSTR charset_string_from_cp(UINT cp) return SysAllocString(info.wszWebCharset); }
+HRESULT get_mime_type_display_name(const WCHAR *content_type, BSTR *ret) +{ + WCHAR buffer[128], *str; + WCHAR *const clsid_str = buffer + sizeof("CLSID\")-1; + DWORD type, size, len; + HKEY key, type_key; + LSTATUS status; + + status = RegOpenKeyExW(HKEY_CLASSES_ROOT, L"MIME\Database\Content Type", 0, 0, &key); + if(status != ERROR_SUCCESS) + goto fail; + + RegOpenKeyExW(key, content_type, 0, KEY_QUERY_VALUE, &type_key); + RegCloseKey(key); + if(status != ERROR_SUCCESS) + goto fail; + + size = CHARS_IN_GUID * sizeof(WCHAR); + status = RegQueryValueExW(type_key, L"CLSID", NULL, &type, (BYTE*)clsid_str, &size); + RegCloseKey(type_key); + if(status != ERROR_SUCCESS || type != REG_SZ || size != CHARS_IN_GUID * sizeof(WCHAR) || + clsid_str[0] != '{' || clsid_str[CHARS_IN_GUID-2] != '}' || clsid_str[CHARS_IN_GUID-1]) + goto fail; + + memcpy(buffer, L"CLSID\", sizeof(L"CLSID\")-sizeof(WCHAR)); + status = RegOpenKeyExW(HKEY_CLASSES_ROOT, buffer, 0, KEY_QUERY_VALUE, &key); + if(status != ERROR_SUCCESS) + goto fail; + + size = sizeof(buffer); + str = buffer; + for(;;) { + status = RegQueryValueExW(key, NULL, NULL, &type, (BYTE*)str, &size); + if(status == ERROR_SUCCESS && type == REG_SZ && size >= sizeof(WCHAR)) + break; + if(str != buffer) + heap_free(str); + if(status != ERROR_MORE_DATA) { + RegCloseKey(key); + goto fail; + } + if(!(str = heap_alloc(size))) { + RegCloseKey(key); + return E_OUTOFMEMORY; + } + } + RegCloseKey(key); + + len = size / sizeof(WCHAR); + len -= !str[len - 1]; + *ret = SysAllocStringLen(str, len); + if(str != buffer) + heap_free(str); + + return *ret ? S_OK : E_OUTOFMEMORY; + +fail: + WARN("Did not find MIME in database for %s\n", debugstr_w(content_type)); + + /* native seems to return "File" when it doesn't know the content type */ + *ret = SysAllocString(L"File"); + return *ret ? S_OK : E_OUTOFMEMORY; +} + IInternetSecurityManager *get_security_manager(void) { if(!security_manager) { diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index 49393c977cc..c403b4efc54 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -1455,6 +1455,7 @@ extern void *call_thiscall_func; compat_mode_t get_max_compat_mode(IUri*) DECLSPEC_HIDDEN; UINT cp_from_charset_string(BSTR) DECLSPEC_HIDDEN; BSTR charset_string_from_cp(UINT) DECLSPEC_HIDDEN; +HRESULT get_mime_type_display_name(const WCHAR*,BSTR*) DECLSPEC_HIDDEN; HINSTANCE get_shdoclc(void) DECLSPEC_HIDDEN; void set_statustext(HTMLDocumentObj*,INT,LPCWSTR) DECLSPEC_HIDDEN; IInternetSecurityManager *get_security_manager(void) DECLSPEC_HIDDEN; diff --git a/dlls/mshtml/tests/documentmode.js b/dlls/mshtml/tests/documentmode.js index a9ff38d5781..3054ed920ab 100644 --- a/dlls/mshtml/tests/documentmode.js +++ b/dlls/mshtml/tests/documentmode.js @@ -311,6 +311,7 @@ sync_test("doc_props", function() { }
var v = document.documentMode; + ok(document.mimeType === "HTML Document", "mimeType = " + document.mimeType);
test_exposed("onstorage", v < 9); test_exposed("textContent", v >= 9); diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index 7764f256ab0..0758b23995d 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -7680,6 +7680,23 @@ static void test_QueryInterface(IHTMLDocument2 *htmldoc) IUnknown_Release(qi); }
+static void test_mimeType(IHTMLDocument2 *doc, const WCHAR *expected) +{ + BSTR mime_type = (BSTR)0xdeadbeef; + HRESULT hres; + + hres = IHTMLDocument2_get_mimeType(doc, &mime_type); + if(expected) { + ok(hres == S_OK, "get_mimeType returned %08lx\n", hres); + ok(!lstrcmpW(mime_type, expected), "mime type = %s, expected %s\n", + debugstr_w(mime_type), debugstr_w(expected)); + }else { + ok(hres == E_FAIL, "get_mimeType returned %08lx\n", hres); + ok(!mime_type, "mime type = %s, expected (null)\n", debugstr_w(mime_type)); + } + SysFreeString(mime_type); +} + static void init_test(enum load_state_t ls) { doc_unk = NULL; doc_hwnd = last_hwnd = NULL; @@ -7733,6 +7750,7 @@ static void test_HTMLDocument(BOOL do_load, BOOL mime) test_GetCurMoniker((IUnknown*)doc, &Moniker, NULL, FALSE); test_elem_from_point(doc); } + test_mimeType(doc, do_load ? L"HTML Document" : NULL);
test_MSHTML_QueryStatus(doc, OLECMDF_SUPPORTED); test_OleCommandTarget_fail(doc); @@ -7844,6 +7862,7 @@ static void test_MHTMLDocument(void) set_custom_uihandler(doc, &CustomDocHostUIHandler); test_GetCurMoniker((IUnknown*)doc, NULL, L"mhtml:winetest:doc", FALSE); test_download(0); + test_mimeType(doc, L"HTML Document");
test_exec_onunload(doc); test_UIDeactivate();
From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/htmldoc.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index 35d8a6ac0e7..eb2269ae705 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -1040,11 +1040,31 @@ static HRESULT WINAPI HTMLDocument_get_vlinkColor(IHTMLDocument2 *iface, VARIANT static HRESULT WINAPI HTMLDocument_get_referrer(IHTMLDocument2 *iface, BSTR *p) { HTMLDocumentNode *This = impl_from_IHTMLDocument2(iface); + nsACString spec_str; + const char *spec; + nsIURI *referrer; + WCHAR *specW;
- FIXME("(%p)->(%p)\n", This, p); + TRACE("(%p)->(%p)\n", This, p);
*p = NULL; - return S_OK; + + if(!This->window || !This->window->bscallback || !(referrer = This->window->bscallback->nschannel->referrer)) + return S_OK; + + nsACString_InitDepend(&spec_str, NULL); + if(NS_FAILED(nsIURI_GetSpec(referrer, &spec_str))) { + WARN("GetSpec failed, returning NULL\n"); + return S_OK; + } + nsACString_GetData(&spec_str, &spec); + if(spec && (specW = heap_strdupAtoW(spec))) { + *p = SysAllocString(specW); + heap_free(specW); + } + nsACString_Finish(&spec_str); + + return *p || !spec ? S_OK : E_OUTOFMEMORY; }
static HRESULT WINAPI HTMLDocument_get_location(IHTMLDocument2 *iface, IHTMLLocation **p)
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=125457
Your paranoid android.
=== w7u_2qxl (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null)
=== w7u_adm (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null)
=== w7u_el (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null)
=== w8 (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w8adm (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w864 (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w1064v1507 (32 bit report) ===
mshtml: htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w1064v1809 (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w1064 (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w1064_tsign (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w10pro64 (32 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w864 (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w1064v1507 (64 bit report) ===
mshtml: htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w1064v1809 (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document"
=== w1064 (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w1064_2qxl (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w1064_adm (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w1064_tsign (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w10pro64 (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w10pro64_en_AE_u8 (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w10pro64_ar (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w10pro64_ja (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w10pro64_zh_CN (64 bit report) ===
mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document"
=== w8 (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w8adm (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w864 (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w1064v1507 (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w1064v1809 (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w1064 (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w1064_tsign (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w10pro64 (32 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w864 (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w1064v1507 (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w1064v1809 (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File"
=== w1064 (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w1064_2qxl (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w1064_adm (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w1064_tsign (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w10pro64 (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w10pro64_en_AE_u8 (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w10pro64_ar (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w10pro64_ja (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== w10pro64_zh_CN (64 bit report) ===
mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document"
=== debian11 (32 bit report) ===
ntoskrnl.exe: driver_pnp.c:707: Test failed: Got 1 remove events.
For the second patch, I also considered doing that handling from VT_NULL to a null VT_DISPATCH in jscript using the internal ES5 version check. Let me know if that's preferrable.
On Wed Oct 26 17:04:10 2022 +0000, **** wrote:
Marvin replied on the mailing list:
Hi, It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated. The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details: The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=125457 Your paranoid android. === w7u_2qxl (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) === w7u_adm (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) === w7u_el (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) === w8 (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w8adm (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w864 (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w1064v1507 (32 bit report) === mshtml: htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w1064v1809 (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w1064 (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w1064_tsign (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w10pro64 (32 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w864 (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w1064v1507 (64 bit report) === mshtml: htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w1064v1809 (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"HTM File", expected L"HTML Document" === w1064 (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w1064_2qxl (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w1064_adm (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w1064_tsign (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w10pro64 (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w10pro64_en_AE_u8 (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w10pro64_ar (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w10pro64_ja (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w10pro64_zh_CN (64 bit report) === mshtml: htmldoc.c:7694: Test failed: get_mimeType returned 00000000 htmldoc.c:7695: Test failed: mime type = L"", expected (null) htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" htmldoc.c:7691: Test failed: mime type = L"Microsoft Edge HTML Document", expected L"HTML Document" === w8 (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w8adm (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w864 (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w1064v1507 (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w1064v1809 (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w1064 (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w1064_tsign (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w10pro64 (32 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w864 (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w1064v1507 (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w1064v1809 (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = HTM File" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = HTM File" === w1064 (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w1064_2qxl (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w1064_adm (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w1064_tsign (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w10pro64 (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w10pro64_en_AE_u8 (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w10pro64_ar (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w10pro64_ja (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === w10pro64_zh_CN (64 bit report) === mshtml: script.c:738: Test failed: L"index.html?0:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?5:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?7:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?8:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"index.html?9:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?10:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" script.c:738: Test failed: L"/index.html?11:doc_props: mimeType = Microsoft Edge HTML Document" === debian11 (32 bit report) === ntoskrnl.exe: driver_pnp.c:707: Test failed: Got 1 remove events.
I guess this test is not very reliable across versions because of differences in the registry.
Do you think loading it from the registry and then comparing is fine, or is it not important to test at all?
On Wed Oct 26 17:21:54 2022 +0000, Gabriel Ivăncescu wrote:
I guess this test is not very reliable across versions because of differences in the registry. Do you think loading it from the registry and then comparing is fine, or is it not important to test at all?
If tests get too ugly we may skip them, but they are nice to have. It seems that it should be possible to simplify registry code with shlwapi helpers, see GetMIMETypeSubKey and maybe SHRegGetCLSIDKey for example.
Jacek Caban (@jacek) commented about dlls/mshtml/htmldoc.c:
- FIXME("(%p)->(%p)\n", This, p);
- return E_NOTIMPL;
- const char *content_type;
- WCHAR *content_typeW;
- HRESULT hres;
- TRACE("(%p)->(%p)\n", This, p);
- *p = NULL;
- if(!This->window) {
FIXME("No window\n");
return E_NOTIMPL;
- }
- if(!This->window->bscallback || !(content_type = This->window->bscallback->nschannel->content_type))
It seems questionable to access bscallback like like that in a random DOM function. Could we use `nsIDOMDocument::GetContentType` instead?
Jacek Caban (@jacek) commented about dlls/mshtml/htmldoc.c:
static HRESULT WINAPI HTMLDocument_get_referrer(IHTMLDocument2 *iface, BSTR *p) { HTMLDocumentNode *This = impl_from_IHTMLDocument2(iface);
- nsACString spec_str;
- const char *spec;
- nsIURI *referrer;
- WCHAR *specW;
- FIXME("(%p)->(%p)\n", This, p);
TRACE("(%p)->(%p)\n", This, p);
*p = NULL;
- return S_OK;
- if(!This->window || !This->window->bscallback || !(referrer = This->window->bscallback->nschannel->referrer))
Similarly to the other comment, could we use `nsIDOMDocument::GetReferrer` instead?
On Wed Oct 26 18:28:12 2022 +0000, Gabriel Ivăncescu wrote:
For the second patch, I also considered doing that handling from VT_NULL to a null VT_DISPATCH in jscript using the internal ES5 version check. Let me know if that's preferrable.
I'm not sure, change_type() does not seem wrong, but you unconditionally skipping IVariantChangeType is questionable. It would be interesting to add something like Invoke(attachEvent) call to test_arg_conv() and see how it behaves.
On Wed Oct 26 18:14:11 2022 +0000, Jacek Caban wrote:
If tests get too ugly we may skip them, but they are nice to have. It seems that it should be possible to simplify registry code with shlwapi helpers, see GetMIMETypeSubKey and maybe SHRegGetCLSIDKey for example.
Thanks, I actually had no idea those APIs even existed… they don't seem documented on MSDN.