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
cbe63d97
Commit
cbe63d97
authored
Jun 12, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Added accessing not existing property on IDispatchEx tests.
parent
84bf9708
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
run.c
dlls/jscript/tests/run.c
+10
-0
No files found.
dlls/jscript/tests/run.c
View file @
cbe63d97
...
...
@@ -101,6 +101,7 @@ DEFINE_EXPECT(testobj_withprop_i);
DEFINE_EXPECT
(
testobj_noprop_d
);
DEFINE_EXPECT
(
testobj_onlydispid_d
);
DEFINE_EXPECT
(
testobj_onlydispid_i
);
DEFINE_EXPECT
(
testobj_notexists_d
);
DEFINE_EXPECT
(
GetItemInfo_testVal
);
DEFINE_EXPECT
(
ActiveScriptSite_OnScriptError
);
DEFINE_EXPECT
(
invoke_func
);
...
...
@@ -327,6 +328,11 @@ static HRESULT WINAPI testObj_GetDispID(IDispatchEx *iface, BSTR bstrName, DWORD
*
pid
=
DISPID_TESTOBJ_ONLYDISPID
;
return
S_OK
;
}
if
(
!
strcmp_wa
(
bstrName
,
"notExists"
))
{
CHECK_EXPECT
(
testobj_notexists_d
);
test_grfdex
(
grfdex
,
fdexNameCaseSensitive
);
return
DISP_E_UNKNOWNNAME
;
}
ok
(
0
,
"unexpected name %s
\n
"
,
wine_dbgstr_w
(
bstrName
));
return
E_NOTIMPL
;
...
...
@@ -2055,6 +2061,10 @@ static BOOL run_tests(void)
parse_script_a
(
"var notExists; notExists = 1;"
);
CHECK_CALLED
(
global_notexists_d
);
SET_EXPECT
(
testobj_notexists_d
);
parse_script_a
(
"testObj.notExists;"
);
CHECK_CALLED
(
testobj_notexists_d
);
parse_script_a
(
"function f() { var testPropGet; }"
);
parse_script_a
(
"(function () { var testPropGet; })();"
);
parse_script_a
(
"(function () { eval('var testPropGet;'); })();"
);
...
...
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