From 4e6e90896635bd4e82a828fcf870da4727c3f17a Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 21 Dec 2009 22:51:04 +0100 Subject: [PATCH] mshtml: Use JScript for JavaScript in res: protocol documents. --- dlls/mshtml/persist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c index eaff9ddbd61..e6a54ac2eff 100644 --- a/dlls/mshtml/persist.c +++ b/dlls/mshtml/persist.c @@ -50,9 +50,11 @@ static BOOL use_gecko_script(LPCWSTR url) { static const WCHAR fileW[] = {'f','i','l','e',':'}; static const WCHAR aboutW[] = {'a','b','o','u','t',':'}; + static const WCHAR resW[] = {'r','e','s',':'}; return strncmpiW(fileW, url, sizeof(fileW)/sizeof(WCHAR)) - && strncmpiW(aboutW, url, sizeof(aboutW)/sizeof(WCHAR)); + && strncmpiW(aboutW, url, sizeof(aboutW)/sizeof(WCHAR)) + && strncmpiW(resW, url, sizeof(resW)/sizeof(WCHAR)); } void set_current_mon(HTMLWindow *This, IMoniker *mon)