Commit Graph

4175 Commits

Author SHA1 Message Date
Jacek Caban 1593364466 mshtml: Factor out variant_to_nsstr from var_to_styleval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:54 +02:00
Jacek Caban f0497aac0b mshtml: Return nsAString from var_to_styleval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:52 +02:00
Jacek Caban 983774e3fa mshtml: Use nsAString in fix_px_value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:50 +02:00
Jacek Caban 6b74a99da2 mshtml: Pass style value as nsAString to set_nsstyle_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:47 +02:00
Jacek Caban e0408dd802 mshtml: Use DispHTMLDOMImplementation for IDispatchEx implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:44 +02:00
Jacek Caban c06af48420 mshtml: Add ISVGTSpanElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:41 +02:00
Jacek Caban 56f03488b4 mshtml: Add ISVGCircleElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:37 +02:00
Jacek Caban 07ee5cb341 mshtml: Add ISVGSVGElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:34 +02:00
Jacek Caban 55ea9b37c3 mshtml: Add ISVGElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:31 +02:00
Jacek Caban 2e4b264242 mshtml/tests: Properly release elem2 in test_elem_bounding_client_rect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:22 +02:00
Jacek Caban 40c74cf336 mshtml: Support argument type conversion for functions with dual interface return type.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban 0a942e5d49 mshtml: Support argument type conversion for functions with dual interface arguments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban 830c55bcf4 mshtml: Support argument type conversion for functions with IDispatch arguments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban 64ff525b6a mshtml: Support type conversion in functions with arguments using default values.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Piotr Caban 5ab0d1443c mshtml: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:34 +02:00
Jacek Caban c62e96ebfc mshtml: Implement IHTMLElement6::msMatchesSelector.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Jacek Caban d9da6e642e mshtml: Move detach_document_node call to HTMLDocumentNode_unlink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:49 +01:00
Jacek Caban 43ae349c96 mshtml: Support SVG element style.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:47 +01:00
Jacek Caban 394347945c mshtml: Add IElementSelector::querySelector implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:45 +01:00
Jacek Caban 4257a14f47 mshtml: Add IHTMLDOMNode3::get_namespaceURI implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:43 +01:00
Jacek Caban 7858cc01b7 mshtml: Add IHTMLDocument7::createElementNS implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:41 +01:00
Jacek Caban 9f4d05b11c mshtml: Alloc proper BSTR size in return_nscstr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:48 +01:00
Jacek Caban 46de3fcf1d mshtml: Add IHTMLRectCollection implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:46 +01:00
Jacek Caban 454a532359 mshtml: Add IHTMLElement::getClientRects implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:44 +01:00
Jacek Caban 3dd1fd9c8b mshtml: Handle removeAttribute("filter") calls on detached style objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:42 +01:00
Jacek Caban 3886fa60e0 mshtml: Expose getComputedStyle to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:40 +01:00
Jacek Caban 0893932970 mshtml: Add IHTMLWindow7::getComputedStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:38 +01:00
Jacek Caban 9944c4bd68 mshtml: Propagate nsIDOMCSSStyleDeclaration errors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:54 +01:00
Jacek Caban 78a05ca6dd mshtml: Introduce map_nsresult and use it in return_nsstr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:51 +01:00
Jacek Caban 2cd8ff3751 mshtml: Expose IHTMLCSSStyleDeclaration to scripts from current style object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:48 +01:00
Jacek Caban 9d35d09e89 mshtml: Use interface agnostic form of dispids for compat_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:44 +01:00
Jacek Caban edb4eca788 mshtml: Pass style as CSSStyle to current style property getters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:38 +01:00
Jacek Caban 68d0052b63 mshtml: Use CSSStyle for HTMLCurrentStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:32 +01:00
Jacek Caban 069d5de90a mshtml: Add IHTMLCSSStyleDeclaration::getPropertyValue implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:27 +01:00
Jacek Caban f4cceb1fb0 mshtml: Move IHTMLCSSStyleDeclaration2 implementation to CSSStyle object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:08 +01:00
Jacek Caban 12ec83f75b mshtml: Move IHTMLCSSStyleDeclaration implementation to CSSStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:05 +01:00
Jacek Caban 8445470266 mshtml: Move backgroundPosition[XY] properties implementation to IHTMLCSSStyleDeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:03 +01:00
Jacek Caban 15db389d4b mshtml: Move style zoom property implementation to IHTMLCSSStyleDeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:01 +01:00
Jacek Caban 153f666b64 mshtml: Pass style as CSSStyle to get_style_property_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:59 +01:00
Jacek Caban 4709d9c553 mshtml: Pass style as CSSStyle to get_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:56 +01:00
Jacek Caban bff44d514c mshtml: Pass style as CSSStyle to set_style_property_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:54 +01:00
Jacek Caban 989df1851d mshtml: Pass style as CSSStyle to set_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:52 +01:00
Jacek Caban 0097dd1c6d mshtml: Forward HTMLStyle IUnknown calls to IHTMLCSSStyleDeclaration implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:49 +01:00
Jacek Caban 0a073a2cbe mshtml: Move style DispatchEx to CSSStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:47 +01:00
Jacek Caban 66e918fc07 mshtml: Introduce new CSSStyle type as a base for different style object implementations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:45 +01:00
Jacek Caban 64b5d6b3e5 mshtml: Add IHTMLWindow6::get_localStorage implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:52:25 +01:00
Jacek Caban 9240ed581f mshtml: Use get_parentWindow for IHTMLDocument2::get_Script implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:13 +01:00
Jacek Caban 51e6cbdbd8 mshtml: Return NULL for document not attached to window in IHTMLDocument7::get_defaultView.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:11 +01:00
Jacek Caban a124117f40 mshtml: Remove selection and range objects from document list when detaching.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:09 +01:00
Jacek Caban 18e0225afb mshtml: Set elem_vars to NULL when detaching.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:07 +01:00
Jacek Caban 8be931623a jscript: Support undefined context value in Array.prototype.map.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:17:21 +01:00
Jacek Caban 6d69c6db51 jscript: Support undefined context value in Array.prototype.forEach.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:17:15 +01:00
Jacek Caban 4bdd24292d mshtml: Add IHTMLAnchorElement::get_host implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:35 +01:00
Jacek Caban 971ee04c7f mshtml: Add IHTMLAnchorElement::get_protocol implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:33 +01:00
Jacek Caban 119b1a6922 mshtml: Add IHTMLCSSStyleDeclaration::setProperty implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:30 +01:00
Jacek Caban b5058ada58 jscript: Add Object.create implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:09:38 +01:00
Jacek Caban 60816b9f8a jscript: Add Array.prototype.map implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 120bf0eba9 mshtml: Get rid of no longer needed HTMLOuterWindow doc_obj pointer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 2a6cb251f9 mshtml: Access document object via browser object in navigate_uri.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban da055b6456 mshtml: Access document object via browser object in navigate_new_window.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 26d3e0c5db mshtml: Access document object via browser object in super_navigate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 54323080d7 mshtml: Access document object via browser object in navigate_javascript_proc and navigate_fragment.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 5ba1725491 mshtml: Access document object via browser object in handle_navigation_error and handle_extern_mime_navigation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 225b2f67b1 mshtml: Access document object via browser object in nsChannelBSC_init_bindinfo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 70a964d4f9 mshtml: Access document object via browser object in IBindCallbackRedirect::Redirect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban aa96a8de36 mshtml: Access document object via browser object in update_window_doc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban f75d1e6855 mshtml: Access document object via browser object in window QueryService implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 23b8df55f6 mshtml: Access document object via browser object in IHTMLPrivateWindow implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 1a85cb9368 mshtml: Access document object via browser object in IHTMLWindow2 implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban 892be572cb mshtml: Access document object via browser object in nsIChannel::AsyncOpen.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban b0ffd08ae1 mshtml: Access document object via browser object in refresh_proc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban d8cff0dc6f mshtml: Access document object via browser object in IOmHistory::get_length.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban d95da5f249 mshtml: Access document object via browser object in IActiveScriptSiteWindow::GetWindow.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban 2b8c553cc9 mshtml: Use is_main_content_window in a few more places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban fc1bdc65a7 mshtml: Correctly handle documents with no window associated in IHTMLDocument2::get_location.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban 7e0e55f76f mshtml: Add IHTMLDOMImplementation2::createHTMLDocument implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban b574cd98bd mshtml: Bind events directly to document node for documents with no window associated.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban d49d83a18e mshtml: Use detach_document_node in detach_gecko_browser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban 1d04b60446 mshtml: Don't Use HTMLDocument type in HTMLDOMNode_unlink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban 0abe9939b8 mshtml: Move SetDesignMode call to create_document_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:19 +01:00
Jacek Caban 3f79f129ff mshtml: Move init_editor to HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:15 +01:00
Jacek Caban 496abd052e mshtml: Get rid of handle_edit_load.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:12 +01:00
Jacek Caban 34c84fd1a0 mshtml: Move cmdtable_t to HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:09 +01:00
Jacek Caban b384f5b3a4 mshtml: Move do_ns_command to HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:05 +01:00
Jacek Caban 1ea4924e46 mshtml: Move IsDirty implementation to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:02 +01:00
Jacek Caban 53e095c2e8 mshtml: Pass document node to handle_edit_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:58 +01:00
Jacek Caban aa4d9190a0 mshtml: Move user mode to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:53 +01:00
Jacek Caban 98db6a0d9b mshtml: Move cycle collection to detach_gecko_browser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:48 +01:00
Jacek Caban 96604df690 mshtml: Move script mode handling to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:41 +01:00
Jacek Caban f2a07b117a jscript: Add Object.getPrototypeOf implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:12 +01:00
Jacek Caban a3037ec2f2 mshtml: Create top content window in init_browser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:07 +01:00
Jacek Caban a007de5242 mshtml: Store GeckoBrowser weak reference in HTMLOuterWindow.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:05 +01:00
Jacek Caban 2d8610050d mshtml: Pass GeckoBrowser instead of HTMLDocumentObj to create_outer_window.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:03 +01:00
Jacek Caban 5e581621ab mshtml: Store weak GeckoBrowser reference in HTMLDocumentNode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:01 +01:00
Jacek Caban 0ebbceddaa mshtml: Use global security manager.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:59 +01:00
Jacek Caban 067e982b3c mshtml: Pass GeckoBrowser instead of HTMLDocumentObj to create_document_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:57 +01:00
Jacek Caban 521888958c mshtml: Move child window list to inner window and detach children when detaching parent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:54 +01:00
Jacek Caban bf9dc5b3ed mshtml: Detach more document objects in detach_inner_window.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:52 +01:00
Jacek Caban eca21a38c1 mshtml: Rename NSContainer to GeckoBrowser.
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +01:00
Jacek Caban e50ab8d6f4 mshtml: Simplify handling origin URI charset.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:06 +01:00