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
54e6aa91
Commit
54e6aa91
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::Equals implementation on URIs without necko interface associated.
parent
6a3984c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
nsio.c
dlls/mshtml/nsio.c
+15
-2
No files found.
dlls/mshtml/nsio.c
View file @
54e6aa91
...
...
@@ -1497,14 +1497,27 @@ static nsresult NSAPI nsURI_SetPath(nsIWineURI *iface, const nsACString *aPath)
static
nsresult
NSAPI
nsURI_Equals
(
nsIWineURI
*
iface
,
nsIURI
*
other
,
PRBool
*
_retval
)
{
nsURI
*
This
=
NSURI_THIS
(
iface
);
nsIWineURI
*
wine_uri
;
LPCWSTR
other_url
=
NULL
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
other
,
_retval
);
if
(
This
->
uri
)
return
nsIURI_Equals
(
This
->
uri
,
other
,
_retval
);
FIXME
(
"default action not implemented
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
nsres
=
nsIURI_QueryInterface
(
other
,
&
IID_nsIWineURI
,
(
void
**
)
&
wine_uri
);
if
(
NS_FAILED
(
nsres
))
{
TRACE
(
"Could not get nsIWineURI interface
\n
"
);
*
_retval
=
FALSE
;
return
NS_OK
;
}
nsIWineURI_GetWineURL
(
wine_uri
,
&
other_url
);
*
_retval
=
!
UrlCompareW
(
This
->
wine_url
,
other_url
,
TRUE
);
nsIWineURI_Release
(
wine_uri
);
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_SchemeIs
(
nsIWineURI
*
iface
,
const
char
*
scheme
,
PRBool
*
_retval
)
...
...
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