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
e1ca5965
Commit
e1ca5965
authored
Oct 08, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement ::abort().
parent
25dc6c7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
httprequest.c
dlls/msxml3/httprequest.c
+7
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+17
-2
No files found.
dlls/msxml3/httprequest.c
View file @
e1ca5965
...
...
@@ -731,9 +731,14 @@ static HRESULT WINAPI httprequest_abort(IXMLHTTPRequest *iface)
{
httprequest
*
This
=
impl_from_IXMLHTTPRequest
(
iface
);
FIXME
(
"stub
(%p)
\n
"
,
This
);
TRACE
(
"
(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
BindStatusCallback_Detach
(
This
->
bsc
);
This
->
bsc
=
NULL
;
httprequest_setreadystate
(
This
,
READYSTATE_UNINITIALIZED
);
return
S_OK
;
}
static
HRESULT
WINAPI
httprequest_get_status
(
IXMLHTTPRequest
*
iface
,
LONG
*
status
)
...
...
dlls/msxml3/tests/domdoc.c
View file @
e1ca5965
...
...
@@ -3225,6 +3225,9 @@ if (0)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
}
hr
=
IXMLHttpRequest_abort
(
pXMLHttpRequest
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
/* send before open */
hr
=
IXMLHttpRequest_send
(
pXMLHttpRequest
,
dummy
);
ok
(
hr
==
E_FAIL
||
broken
(
hr
==
E_UNEXPECTED
)
/* win9x, win2k */
,
"got 0x%08x
\n
"
,
hr
);
...
...
@@ -3266,7 +3269,7 @@ if (0)
state
=
-
1
;
hr
=
IXMLHttpRequest_get_readyState
(
pXMLHttpRequest
,
&
state
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
state
==
0
,
"got %d, expected 0
\n
"
,
state
);
ok
(
state
==
READYSTATE_UNINITIALIZED
,
"got %d, expected READYSTATE_UNINITIALIZED
\n
"
,
state
);
event
=
create_dispevent
();
ref
=
IDispatch_AddRef
(
event
);
...
...
@@ -3297,7 +3300,19 @@ if (0)
state
=
-
1
;
hr
=
IXMLHttpRequest_get_readyState
(
pXMLHttpRequest
,
&
state
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
state
==
1
,
"got %d, expected 1
\n
"
,
state
);
ok
(
state
==
READYSTATE_LOADING
,
"got %d, expected READYSTATE_LOADING
\n
"
,
state
);
hr
=
IXMLHttpRequest_abort
(
pXMLHttpRequest
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
state
=
-
1
;
hr
=
IXMLHttpRequest_get_readyState
(
pXMLHttpRequest
,
&
state
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
state
==
READYSTATE_UNINITIALIZED
||
broken
(
state
==
READYSTATE_LOADING
)
/* win98, win2k */
,
"got %d, expected READYSTATE_UNINITIALIZED
\n
"
,
state
);
hr
=
IXMLHttpRequest_open
(
pXMLHttpRequest
,
method
,
url
,
async
,
dummy
,
dummy
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IXMLHttpRequest_setRequestHeader
(
pXMLHttpRequest
,
_bstr_
(
"header1"
),
_bstr_
(
"value1"
));
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
...
...
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