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
610ea94d
Commit
610ea94d
authored
Oct 22, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLLocation::toString implementation.
parent
8b04ab10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
htmllocation.c
dlls/mshtml/htmllocation.c
+4
-2
htmllocation.c
dlls/mshtml/tests/htmllocation.c
+6
-0
No files found.
dlls/mshtml/htmllocation.c
View file @
610ea94d
...
...
@@ -583,8 +583,10 @@ static HRESULT WINAPI HTMLLocation_assign(IHTMLLocation *iface, BSTR bstr)
static
HRESULT
WINAPI
HTMLLocation_toString
(
IHTMLLocation
*
iface
,
BSTR
*
String
)
{
HTMLLocation
*
This
=
impl_from_IHTMLLocation
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
String
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
String
);
return
IHTMLLocation_get_href
(
&
This
->
IHTMLLocation_iface
,
String
);
}
static
const
IHTMLLocationVtbl
HTMLLocationVtbl
=
{
...
...
dlls/mshtml/tests/htmllocation.c
View file @
610ea94d
...
...
@@ -129,6 +129,12 @@ static void test_href(IHTMLLocation *loc, const struct location_test *test)
"%s: expected retrieved href to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
href
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
hres
=
IHTMLLocation_toString
(
loc
,
&
str
);
ok
(
hres
==
S_OK
,
"%s: toString failed: 0x%08x
\n
"
,
test
->
name
,
hres
);
ok
(
str_eq_wa
(
str
,
test
->
href
),
"%s: toString returned %s, expected %s
\n
"
,
test
->
name
,
wine_dbgstr_w
(
str
),
test
->
href
);
SysFreeString
(
str
);
}
static
void
test_protocol
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
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