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
a2c2103c
Commit
a2c2103c
authored
Jul 23, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Don't expose properties belonging to Object prototype from Object instance.
parent
719db58a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
object.c
dlls/jscript/object.c
+9
-1
No files found.
dlls/jscript/object.c
View file @
a2c2103c
...
...
@@ -211,6 +211,14 @@ static const builtin_info_t Object_info = {
NULL
};
static
const
builtin_info_t
ObjectInst_info
=
{
JSCLASS_OBJECT
,
{
NULL
,
Object_value
,
0
},
0
,
NULL
,
Object_destructor
,
NULL
};
static
HRESULT
ObjectConstr_value
(
script_ctx_t
*
ctx
,
vdisp_t
*
jsthis
,
WORD
flags
,
unsigned
argc
,
VARIANT
*
argv
,
VARIANT
*
retv
,
jsexcept_t
*
ei
)
{
...
...
@@ -282,7 +290,7 @@ HRESULT create_object(script_ctx_t *ctx, jsdisp_t *constr, jsdisp_t **ret)
if
(
!
object
)
return
E_OUTOFMEMORY
;
hres
=
init_dispex_from_constr
(
object
,
ctx
,
&
Object_info
,
constr
?
constr
:
ctx
->
object_constr
);
hres
=
init_dispex_from_constr
(
object
,
ctx
,
&
Object
Inst
_info
,
constr
?
constr
:
ctx
->
object_constr
);
if
(
FAILED
(
hres
))
{
heap_free
(
object
);
return
hres
;
...
...
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