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
de2e9e13
Commit
de2e9e13
authored
May 24, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
May 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed AsyncOpen implementation for channels without associated document.
parent
189719c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
nsio.c
dlls/mshtml/nsio.c
+7
-7
No files found.
dlls/mshtml/nsio.c
View file @
de2e9e13
...
...
@@ -647,7 +647,7 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
if
(
do_load_from_moniker_hack
(
This
))
return
WINE_NS_LOAD_FROM_MONIKER
;
}
else
if
(
container
->
doc
)
{
}
else
{
BOOL
cont
=
before_async_open
(
This
,
container
);
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
...
...
@@ -655,11 +655,11 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
TRACE
(
"canceled
\n
"
);
return
NS_ERROR_UNEXPECTED
;
}
}
else
{
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
return
This
->
channel
?
nsIChannel_AsyncOpen
(
This
->
channel
,
aListener
,
aContext
)
:
NS_ERROR_UNEXPECTED
;
if
(
!
container
->
doc
)
return
This
->
channel
?
nsIChannel_AsyncOpen
(
This
->
channel
,
aListener
,
aContext
)
:
NS_ERROR_UNEXPECTED
;
}
}
...
...
@@ -1567,7 +1567,7 @@ static nsresult NSAPI nsURI_SetNSContainer(nsIWineURI *iface, NSContainer *aCont
if
(
This
->
container
)
{
if
(
This
->
container
==
aContainer
)
return
NS_OK
;
WARN
(
"Container already set: %p
\n
"
,
This
->
c
ontainer
);
TRACE
(
"Changing %p -> %p
\n
"
,
This
->
container
,
aC
ontainer
);
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
This
->
container
));
}
...
...
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