Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9ee2f5e0
Commit
9ee2f5e0
authored
Aug 15, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Correctly handle nsILoadGroup.
parent
498b781e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
navigate.c
dlls/mshtml/navigate.c
+11
-1
nsio.c
dlls/mshtml/nsio.c
+18
-1
No files found.
dlls/mshtml/navigate.c
View file @
9ee2f5e0
...
...
@@ -309,10 +309,20 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
TRACE
(
"(%p)->(%08lx %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
if
(
This
->
nslistener
)
if
(
This
->
nslistener
)
{
nsIStreamListener_OnStopRequest
(
This
->
nslistener
,
(
nsIRequest
*
)
NSCHANNEL
(
This
->
nschannel
),
This
->
nscontext
,
NS_OK
);
if
(
This
->
nschannel
->
load_group
)
{
nsresult
nsres
;
nsres
=
nsILoadGroup_RemoveRequest
(
This
->
nschannel
->
load_group
,
(
nsIRequest
*
)
NSCHANNEL
(
This
->
nschannel
),
NULL
,
NS_OK
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"RemoveRequest failed: %08lx
\n
"
,
nsres
);
}
}
return
S_OK
;
}
...
...
dlls/mshtml/nsio.c
View file @
9ee2f5e0
...
...
@@ -602,8 +602,17 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
if
(
!
This
->
channel
)
if
(
!
This
->
channel
)
{
if
(
This
->
load_group
)
{
nsres
=
nsILoadGroup_AddRequest
(
This
->
load_group
,
(
nsIRequest
*
)
NSCHANNEL
(
This
),
NULL
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"AddRequest failed:%08lx
\n
"
,
nsres
);
}
return
WINE_NS_LOAD_FROM_MONIKER
;
}
}
else
{
BOOL
cont
=
before_async_open
(
This
,
container
);
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
...
...
@@ -673,6 +682,14 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
bscallback
->
nscontext
=
aContext
;
}
if
(
This
->
load_group
)
{
nsres
=
nsILoadGroup_AddRequest
(
This
->
load_group
,
(
nsIRequest
*
)
NSCHANNEL
(
This
),
NULL
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"AddRequest failed:%08lx
\n
"
,
nsres
);
}
start_binding
(
bscallback
);
IBindStatusCallback_Release
(
STATUSCLB
(
bscallback
));
...
...
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