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
be8bd0e6
Commit
be8bd0e6
authored
Nov 25, 2022
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Nov 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Treat edit mode as a reload.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
a44ce98d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
mutation.c
dlls/mshtml/mutation.c
+1
-1
nsevents.c
dlls/mshtml/nsevents.c
+1
-2
persist.c
dlls/mshtml/persist.c
+3
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+0
-1
No files found.
dlls/mshtml/mutation.c
View file @
be8bd0e6
...
...
@@ -283,7 +283,7 @@ static void parse_complete(HTMLDocumentObj *doc)
call_property_onchanged
(
&
doc
->
cp_container
,
1005
);
call_explorer_69
(
doc
);
if
(
doc
->
webbrowser
&&
doc
->
nscontainer
->
usermode
!=
EDITMODE
&&
!
(
doc
->
window
->
load_flags
&
BINDING_REFRESH
))
if
(
doc
->
webbrowser
&&
!
(
doc
->
window
->
load_flags
&
BINDING_REFRESH
))
IDocObjectService_FireNavigateComplete2
(
doc
->
doc_object_service
,
&
doc
->
window
->
base
.
IHTMLWindow2_iface
,
0
);
/* FIXME: IE7 calls EnableModelless(TRUE), EnableModelless(FALSE) and sets interactive state here */
...
...
dlls/mshtml/nsevents.c
View file @
be8bd0e6
...
...
@@ -358,8 +358,7 @@ static nsresult NSAPI handle_load(nsIDOMEventListener *iface, nsIDOMEvent *event
update_title
(
doc_obj
);
}
if
(
doc_obj
&&
doc_obj
->
nscontainer
->
usermode
!=
EDITMODE
&&
doc_obj
->
doc_object_service
&&
!
(
doc
->
outer_window
->
load_flags
&
BINDING_REFRESH
))
if
(
doc_obj
&&
doc_obj
->
doc_object_service
&&
!
(
doc
->
outer_window
->
load_flags
&
BINDING_REFRESH
))
IDocObjectService_FireDocumentComplete
(
doc_obj
->
doc_object_service
,
&
doc
->
outer_window
->
base
.
IHTMLWindow2_iface
,
0
);
...
...
dlls/mshtml/persist.c
View file @
be8bd0e6
...
...
@@ -413,6 +413,9 @@ HRESULT set_moniker(HTMLOuterWindow *window, IMoniker *mon, IUri *nav_uri, IBind
}
}
if
(
doc_obj
->
nscontainer
->
usermode
==
EDITMODE
)
window
->
load_flags
=
BINDING_REFRESH
;
download_task
=
malloc
(
sizeof
(
download_proc_task_t
));
download_task
->
doc
=
doc_obj
;
download_task
->
set_download
=
set_download
;
...
...
dlls/mshtml/tests/htmldoc.c
View file @
be8bd0e6
...
...
@@ -582,7 +582,6 @@ static void _test_navigation_type(unsigned line, IUnknown *unk)
IHTMLPerformanceNavigation_Release
(
nav
);
expected
=
is_refresh
||
editmode
?
1
:
is_from_hist
?
2
:
0
;
todo_wine_if
(
editmode
)
ok_
(
__FILE__
,
line
)(
type
==
expected
,
"type = %lu, expected %lu
\n
"
,
type
,
expected
);
}
...
...
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