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
ba521ffc
Commit
ba521ffc
authored
Jan 15, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't check if script element was already parsed in doc_insert_script.
parent
022d02cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
mutation.c
dlls/mshtml/mutation.c
+2
-1
script.c
dlls/mshtml/script.c
+0
-4
No files found.
dlls/mshtml/mutation.c
View file @
ba521ffc
...
...
@@ -341,7 +341,8 @@ static nsresult run_insert_script(HTMLDocumentNode *doc, nsISupports *script_ifa
while
(
!
list_empty
(
&
window
->
script_queue
))
{
iter
=
LIST_ENTRY
(
list_head
(
&
window
->
script_queue
),
script_queue_entry_t
,
entry
);
list_remove
(
&
iter
->
entry
);
doc_insert_script
(
window
,
iter
->
script
);
if
(
!
iter
->
script
->
parsed
)
doc_insert_script
(
window
,
iter
->
script
);
IHTMLScriptElement_Release
(
&
iter
->
script
->
IHTMLScriptElement_iface
);
heap_free
(
iter
);
}
...
...
dlls/mshtml/script.c
View file @
ba521ffc
...
...
@@ -760,7 +760,6 @@ static void parse_inline_script(ScriptHost *script_host, HTMLScriptElement *scri
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetText failed: %08x
\n
"
,
nsres
);
}
else
if
(
*
text
)
{
script_elem
->
parsed
=
TRUE
;
parse_text
(
script_host
,
text
);
}
...
...
@@ -927,9 +926,6 @@ void doc_insert_script(HTMLInnerWindow *window, HTMLScriptElement *script_elem)
{
ScriptHost
*
script_host
;
if
(
script_elem
->
parsed
)
return
;
script_host
=
get_elem_script_host
(
window
,
script_elem
);
if
(
!
script_host
)
return
;
...
...
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