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
62e34022
Commit
62e34022
authored
Sep 26, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IActiveScriptSiteUIControl tests.
parent
d531c9ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
script.c
dlls/mshtml/tests/script.c
+17
-0
No files found.
dlls/mshtml/tests/script.c
View file @
62e34022
...
...
@@ -2084,6 +2084,22 @@ static void test_default_arg_conv(IHTMLWindow2 *window)
IDispatchEx_Release
(
dispex
);
}
static
void
test_ui
(
void
)
{
IActiveScriptSiteUIControl
*
ui_control
;
SCRIPTUICHANDLING
uic_handling
=
10
;
HRESULT
hres
;
hres
=
IActiveScriptSite_QueryInterface
(
site
,
&
IID_IActiveScriptSiteUIControl
,
(
void
**
)
&
ui_control
);
ok
(
hres
==
S_OK
,
"Could not get IActiveScriptSiteUIControl: %08x
\n
"
,
hres
);
hres
=
IActiveScriptSiteUIControl_GetUIBehavior
(
ui_control
,
SCRIPTUICITEM_MSGBOX
,
&
uic_handling
);
ok
(
hres
==
S_OK
,
"GetUIBehavior failed: %08x
\n
"
,
hres
);
ok
(
uic_handling
==
SCRIPTUICHANDLING_ALLOW
,
"uic_handling = %d
\n
"
,
uic_handling
);
IActiveScriptSiteUIControl_Release
(
ui_control
);
}
static
void
test_script_run
(
void
)
{
IDispatchEx
*
document
,
*
dispex
;
...
...
@@ -2308,6 +2324,7 @@ static void test_script_run(void)
test_global_id
();
test_security
();
test_ui
();
}
static
HRESULT
WINAPI
ActiveScriptParse_ParseScriptText
(
IActiveScriptParse
*
iface
,
...
...
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