Commit d76720cc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Inherit scriptmode from parent window.

parent ceb02fb0
......@@ -1582,7 +1582,7 @@ HRESULT HTMLWindow_Create(HTMLDocumentObj *doc_obj, nsIDOMWindow *nswindow, HTML
window->nswindow = nswindow;
}
window->scriptmode = SCRIPTMODE_GECKO;
window->scriptmode = parent ? parent->scriptmode : SCRIPTMODE_GECKO;
list_init(&window->script_hosts);
window->task_magic = get_task_target_magic();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment