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
f3fc0050
Commit
f3fc0050
authored
Sep 09, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use ActiveScript for JavaScript in about protocol documents.
parent
3d99a998
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
persist.c
dlls/mshtml/persist.c
+4
-1
dom.c
dlls/mshtml/tests/dom.c
+2
-2
No files found.
dlls/mshtml/persist.c
View file @
f3fc0050
...
...
@@ -42,7 +42,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
static
BOOL
use_gecko_script
(
LPCWSTR
url
)
{
static
const
WCHAR
fileW
[]
=
{
'f'
,
'i'
,
'l'
,
'e'
,
':'
};
return
strncmpiW
(
fileW
,
url
,
sizeof
(
fileW
)
/
sizeof
(
WCHAR
));
static
const
WCHAR
aboutW
[]
=
{
'a'
,
'b'
,
'o'
,
'u'
,
't'
,
':'
};
return
strncmpiW
(
fileW
,
url
,
sizeof
(
fileW
)
/
sizeof
(
WCHAR
))
&&
strncmpiW
(
aboutW
,
url
,
sizeof
(
aboutW
)
/
sizeof
(
WCHAR
));
}
void
set_current_mon
(
HTMLDocument
*
This
,
IMoniker
*
mon
)
...
...
dlls/mshtml/tests/dom.c
View file @
f3fc0050
...
...
@@ -4755,8 +4755,8 @@ static void test_elems(IHTMLDocument2 *doc)
DISPID
pid
=
-
1
;
BSTR
str
=
a2bstr
(
"Testing"
);
hres
=
IDispatchEx_GetDispID
(
dispex
,
str
,
1
,
&
pid
);
todo_wine
ok
(
hres
==
S_OK
,
"GetDispID failed: %08x
\n
"
,
hres
);
todo_wine
ok
(
pid
!=
-
1
,
"pid == -1
\n
"
);
ok
(
hres
==
S_OK
,
"GetDispID failed: %08x
\n
"
,
hres
);
ok
(
pid
!=
-
1
,
"pid == -1
\n
"
);
SysFreeString
(
str
);
IDispatchEx_Release
(
dispex
);
}
...
...
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