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
6a3984c3
Commit
6a3984c3
authored
Feb 28, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIURI::Clone implementation on URIs without necko interface associated.
parent
6832c832
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
nsio.c
dlls/mshtml/nsio.c
+10
-11
No files found.
dlls/mshtml/nsio.c
View file @
6a3984c3
...
...
@@ -1533,29 +1533,28 @@ static nsresult NSAPI nsURI_SchemeIs(nsIWineURI *iface, const char *scheme, PRBo
static
nsresult
NSAPI
nsURI_Clone
(
nsIWineURI
*
iface
,
nsIURI
**
_retval
)
{
nsURI
*
This
=
NSURI_THIS
(
iface
);
nsIURI
*
nsuri
=
NULL
;
nsIWineURI
*
wine_uri
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
_retval
);
if
(
This
->
uri
)
{
nsIURI
*
uri
;
nsIWineURI
*
wine_uri
;
nsresult
nsres
;
nsres
=
nsIURI_Clone
(
This
->
uri
,
&
uri
);
nsres
=
nsIURI_Clone
(
This
->
uri
,
&
nsuri
);
if
(
NS_FAILED
(
nsres
))
{
WARN
(
"Clone failed: %08x
\n
"
,
nsres
);
return
nsres
;
}
}
nsres
=
create_uri
(
uri
,
This
->
container
,
&
wine_uri
);
*
_retval
=
(
nsIURI
*
)
wine_uri
;
if
(
NS_SUCCEEDED
(
nsres
))
return
nsIWineURI_SetWineURL
(
wine_uri
,
This
->
wine_url
);
nsres
=
create_uri
(
nsuri
,
This
->
container
,
&
wine_uri
);
if
(
NS_FAILED
(
nsres
))
{
WARN
(
"create_uri failed: %08x
\n
"
,
nsres
);
return
nsres
;
}
FIXME
(
"default action not implemented
\n
"
)
;
return
NS_ERROR_NOT_IMPLEMENTED
;
*
_retval
=
(
nsIURI
*
)
wine_uri
;
return
nsIWineURI_SetWineURL
(
wine_uri
,
This
->
wine_url
)
;
}
static
nsresult
NSAPI
nsURI_Resolve
(
nsIWineURI
*
iface
,
const
nsACString
*
arelativePath
,
...
...
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