Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
53cc70ca
Commit
53cc70ca
authored
Mar 26, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use "Netscape" as appName in IE11 compat mode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bbb46e81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
omnavigator.c
dlls/mshtml/omnavigator.c
+2
-1
documentmode.js
dlls/mshtml/tests/documentmode.js
+4
-0
No files found.
dlls/mshtml/omnavigator.c
View file @
53cc70ca
...
...
@@ -1150,7 +1150,8 @@ static HRESULT WINAPI OmNavigator_get_appName(IOmNavigator *iface, BSTR *p)
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
*
p
=
SysAllocString
(
L"Microsoft Internet Explorer"
);
*
p
=
SysAllocString
(
dispex_compat_mode
(
&
This
->
dispex
)
==
COMPAT_MODE_IE11
?
L"Netscape"
:
L"Microsoft Internet Explorer"
);
if
(
!*
p
)
return
E_OUTOFMEMORY
;
...
...
dlls/mshtml/tests/documentmode.js
View file @
53cc70ca
...
...
@@ -371,4 +371,8 @@ sync_test("navigator", function() {
?
"^"
+
(
v
<
9
?
"4"
:
"5"
)
+
"
\\
.0
\\
(compatible; MSIE "
+
(
v
<
7
?
7
:
v
)
+
"
\\
.0; Windows NT [^
\\
)]*
\\
)$"
:
"^5.0
\\
(Windows NT [0-9].[0-9]; .*Trident/[678]
\\
.0.*rv:11.0
\\
) like Gecko$"
;
ok
(
new
RegExp
(
re
).
test
(
app
),
"appVersion = "
+
app
);
ok
(
navigator
.
appCodeName
===
"Mozilla"
,
"appCodeName = "
+
navigator
.
appCodeName
);
ok
(
navigator
.
appName
===
(
v
<
11
?
"Microsoft Internet Explorer"
:
"Netscape"
),
"appName = "
+
navigator
.
appName
);
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment