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
2bffcedc
Commit
2bffcedc
authored
Nov 16, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Update window URI when its binding is redirected.
parent
1fb705de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
binding.h
dlls/mshtml/binding.h
+1
-0
navigate.c
dlls/mshtml/navigate.c
+11
-0
nsio.c
dlls/mshtml/nsio.c
+9
-0
No files found.
dlls/mshtml/binding.h
View file @
2bffcedc
...
...
@@ -112,3 +112,4 @@ HRESULT super_navigate(HTMLWindow*,IUri*,const WCHAR*,BYTE*,DWORD) DECLSPEC_HIDD
HRESULT
create_channelbsc
(
IMoniker
*
,
const
WCHAR
*
,
BYTE
*
,
DWORD
,
nsChannelBSC
**
)
DECLSPEC_HIDDEN
;
HRESULT
channelbsc_load_stream
(
nsChannelBSC
*
,
IStream
*
)
DECLSPEC_HIDDEN
;
void
channelbsc_set_channel
(
nsChannelBSC
*
,
nsChannel
*
,
nsIStreamListener
*
,
nsISupports
*
)
DECLSPEC_HIDDEN
;
IUri
*
nsuri_get_uri
(
nsWineURI
*
);
dlls/mshtml/navigate.c
View file @
2bffcedc
...
...
@@ -1134,6 +1134,17 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_AsyncOnChannelRedirect(nsIAs
ERR
(
"AddRequest failed: %08x
\n
"
,
nsres
);
}
if
(
This
->
bsc
->
window
)
{
IUri
*
uri
=
nsuri_get_uri
(
This
->
nschannel
->
uri
);
if
(
uri
)
{
set_current_uri
(
This
->
bsc
->
window
,
uri
);
IUri_Release
(
uri
);
}
else
{
WARN
(
"Could not get IUri from nsWineURI
\n
"
);
}
}
return
NS_OK
;
}
...
...
dlls/mshtml/nsio.c
View file @
2bffcedc
...
...
@@ -84,6 +84,15 @@ static BOOL ensure_uri(nsWineURI *This)
return
TRUE
;
}
IUri
*
nsuri_get_uri
(
nsWineURI
*
nsuri
)
{
if
(
!
ensure_uri
(
nsuri
))
return
NULL
;
IUri_AddRef
(
nsuri
->
uri
);
return
nsuri
->
uri
;
}
static
IUri
*
get_uri_nofrag
(
IUri
*
uri
)
{
IUriBuilder
*
uri_builder
;
...
...
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