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
595fb40e
Commit
595fb40e
authored
Mar 04, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't use fragment navigation for SuperNavigate calls.
parent
badff7c4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+4
-0
binding.h
dlls/mshtml/binding.h
+1
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+1
-1
navigate.c
dlls/mshtml/navigate.c
+1
-1
olecmd.c
dlls/mshtml/olecmd.c
+1
-1
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
595fb40e
...
...
@@ -3424,6 +3424,10 @@ static void test_WebBrowser(BOOL do_download, BOOL do_close)
trace
(
"GoForward...
\n
"
);
test_go_forward
(
webbrowser
,
"http://test.winehq.org/tests/winehq_snapshot/"
);
test_download
(
DWL_FROM_GOFORWARD
|
DWL_HTTP
);
}
else
{
trace
(
"Navigate2 repeated with the same URL...
\n
"
);
test_Navigate2
(
webbrowser
,
"about:blank"
);
test_download
(
DWL_EXPECT_BEFORE_NAVIGATE
);
}
test_EnumVerbs
(
webbrowser
);
...
...
dlls/mshtml/binding.h
View file @
595fb40e
...
...
@@ -107,6 +107,7 @@ typedef struct {
#define BINDING_FROMHIST 0x0004
#define BINDING_REFRESH 0x0008
#define BINDING_SUBMIT 0x0010
#define BINDING_NOFRAG 0x0020
HRESULT
set_http_header
(
struct
list
*
,
const
WCHAR
*
,
int
,
const
WCHAR
*
,
int
)
DECLSPEC_HIDDEN
;
HRESULT
create_redirect_nschannel
(
const
WCHAR
*
,
nsChannel
*
,
nsChannel
**
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/htmlwindow.c
View file @
595fb40e
...
...
@@ -2184,7 +2184,7 @@ static HRESULT WINAPI HTMLPrivateWindow_SuperNavigate(IHTMLPrivateWindow *iface,
headers
=
V_BSTR
(
headers_var
);
}
hres
=
super_navigate
(
window
,
uri
,
BINDING_NAVIGATED
,
headers
,
post_data
,
post_data_size
);
hres
=
super_navigate
(
window
,
uri
,
BINDING_NAVIGATED
|
BINDING_NOFRAG
,
headers
,
post_data
,
post_data_size
);
IUri_Release
(
uri
);
if
(
post_data
)
SafeArrayUnaccessData
(
V_ARRAY
(
post_data_var
));
...
...
dlls/mshtml/navigate.c
View file @
595fb40e
...
...
@@ -2210,7 +2210,7 @@ HRESULT super_navigate(HTMLOuterWindow *window, IUri *uri, DWORD flags, const WC
}
}
if
(
!
(
flags
&
BINDING_
REFRESH
)
&&
window
->
uri_nofrag
&&
!
post_data_size
)
{
if
(
!
(
flags
&
BINDING_
NOFRAG
)
&&
window
->
uri_nofrag
&&
!
post_data_size
)
{
BOOL
eq
;
hres
=
IUri_IsEqual
(
uri_nofrag
,
window
->
uri_nofrag
,
&
eq
);
...
...
dlls/mshtml/olecmd.c
View file @
595fb40e
...
...
@@ -407,7 +407,7 @@ static void refresh_proc(task_t *_task)
IOleCommandTarget_Exec
(
window
->
doc_obj
->
client_cmdtrg
,
&
CGID_ShellDocView
,
37
,
0
,
&
var
,
NULL
);
}
load_uri
(
task
->
window
,
task
->
window
->
uri
,
BINDING_REFRESH
);
load_uri
(
task
->
window
,
task
->
window
->
uri
,
BINDING_REFRESH
|
BINDING_NOFRAG
);
}
static
void
refresh_destr
(
task_t
*
_task
)
...
...
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