mshtml: Use JScript for JavaScript in res: protocol documents.
This commit is contained in:
parent
64bd51b1d3
commit
4e6e908966
|
@ -50,9 +50,11 @@ static BOOL use_gecko_script(LPCWSTR url)
|
||||||
{
|
{
|
||||||
static const WCHAR fileW[] = {'f','i','l','e',':'};
|
static const WCHAR fileW[] = {'f','i','l','e',':'};
|
||||||
static const WCHAR aboutW[] = {'a','b','o','u','t',':'};
|
static const WCHAR aboutW[] = {'a','b','o','u','t',':'};
|
||||||
|
static const WCHAR resW[] = {'r','e','s',':'};
|
||||||
|
|
||||||
return strncmpiW(fileW, url, sizeof(fileW)/sizeof(WCHAR))
|
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)
|
void set_current_mon(HTMLWindow *This, IMoniker *mon)
|
||||||
|
|
Loading…
Reference in New Issue