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
fcd136e1
Commit
fcd136e1
authored
Jul 25, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Set correct load type in load_nsuri.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cc16e0d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
nsiface.idl
dlls/mshtml/nsiface.idl
+24
-1
nsio.c
dlls/mshtml/nsio.c
+3
-0
No files found.
dlls/mshtml/nsiface.idl
View file @
fcd136e1
...
...
@@ -3757,9 +3757,32 @@ interface nsIContentViewer : nsISupports
]
interface
nsIDocShellLoadInfo
:
nsISupports
{
typedef
int32_t
nsDocShellInfoLoadType
;
typedef
uint32_t
nsDocShellInfoReferrerPolicy
;
typedef
enum
{
loadNormal
=
0
,
loadNormalReplace
=
1
,
loadHistory
=
2
,
loadReloadNormal
=
3
,
loadReloadBypassCache
=
4
,
loadReloadBypassProxy
=
5
,
loadReloadBypassProxyAndCache
=
6
,
loadLink
=
7
,
loadRefresh
=
8
,
loadReloadCharsetChange
=
9
,
loadBypassHistory
=
10
,
loadStopContent
=
11
,
loadStopContentAndReplace
=
12
,
loadNormalExternal
=
13
,
loadNormalBypassCache
=
14
,
loadNormalBypassProxy
=
15
,
loadNormalBypassProxyAndCache
=
16
,
loadPushState
=
17
,
loadReplaceBypassCache
=
18
,
loadReloadMixedContent
=
19
,
loadNormalAllowMixedContent
=
20
}
nsDocShellInfoLoadType
;
nsresult
GetReferrer
(
nsIURI
**
aReferrer
)
;
nsresult
SetReferrer
(
nsIURI
*
aReferrer
)
;
nsresult
GetOriginalURI
(
nsIURI
**
aOriginalURI
)
;
...
...
dlls/mshtml/nsio.c
View file @
fcd136e1
...
...
@@ -296,6 +296,9 @@ HRESULT load_nsuri(HTMLOuterWindow *window, nsWineURI *uri, nsIInputStream *post
return
E_FAIL
;
}
nsres
=
nsIDocShellLoadInfo_SetLoadType
(
load_info
,
(
flags
&
LOAD_FLAGS_BYPASS_CACHE
)
?
loadNormalBypassCache
:
loadNormal
);
assert
(
nsres
==
NS_OK
);
nsres
=
nsIDocShellLoadInfo_SetPostDataStream
(
load_info
,
post_stream
);
assert
(
nsres
==
NS_OK
);
}
...
...
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