Commit Graph

172 Commits

Author SHA1 Message Date
Nikolay Sivov 2b37b97d0c mshtml: Avoid potential moniker instance leak.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 19:54:16 +01:00
Jacek Caban 52a5acaefb mshtml: Store task_magic in HTMLDocumentObj instead of HTMLDocument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:21 +01:00
Jacek Caban 3dd152dc59 mshtml: Pass document as HTMLDocumentObj to update_doc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:29:37 +01:00
Jacek Caban 2de948e86c mshtml: Merge hlink.c into persist.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-07 21:24:45 +01:00
Jacek Caban c29d776de8 mshtml: Rename fire_event_obj and dispatch_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-20 18:59:37 +02:00
Jacek Caban a252059a88 mshtml: Don't use fire_event to dispatch document and frame element readystatechange event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-20 18:59:36 +02:00
Jacek Caban 57b830526b mshtml: Use event target vtbl to construct target chain in fire_event_obj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-19 17:15:51 +02:00
Jacek Caban 62c7dd0576 mshtml: Always use event target as script this in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 17:13:56 +02:00
Jacek Caban ebee2a8346 mshtml: Added MHTMLDocument object implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 13:49:01 +01:00
Michael Stefaniuc 3223e15230 mshtml: Avoid using LPSTREAM.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:30 +09:00
Andrey Gusev 15616e6580 mshtml: Fix a typo in WARN() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:45 +09:00
Jacek Caban 1dc502c5b4 mshtml: Pass node as an object to fire_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban 4354bc831f mshtml: Skip travellog notifications for frame navigation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:58 +09:00
Francois Gouget ff983cc36a mshtml: Remove unneeded NONAMELESSXXX directives. 2015-03-13 21:57:30 +09:00
Jacek Caban f0fc2ba27d mshtml: Use our submit implementation for all windows, but only for POST method. 2015-02-03 12:45:51 +09:00
Jacek Caban e61de218ee mshtml: Try to not use nsIDOMHTMLFormElement::Submit for IHTMLFormElelement::submit implementation. 2013-09-27 16:27:40 +02:00
Jacek Caban 553eae881b mshtml: Call set_current_mon in channelbsc_load_stream. 2013-09-26 21:34:15 +02:00
Jacek Caban 99af1ee34c mshtml: Use proper window in set_moniker when invoked on frame or iframe. 2013-07-27 11:51:15 -05:00
Jacek Caban 8f323e9b91 mshtml: Store IWebBrowserApp reference in HTMLDocumentObj. 2013-04-15 17:47:32 +02:00
Jacek Caban afa527c1ae mshtml: Pass IUri to create_doc_uri. 2013-04-04 19:30:30 +02:00
Jacek Caban 0e53cfb336 mshtml: Fixed load flags usage. 2013-04-04 19:30:26 +02:00
Jacek Caban 7b9fc3bb7d mshtml: Use Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME in CreateUri calls. 2013-03-26 12:16:21 +01:00
Jacek Caban af6c518e7d mshtml: Use lazy allocation for connection points. 2013-03-15 16:18:05 +01:00
Jacek Caban 1cc3cf1b64 mshtml: Added exec_refresh implementation. 2012-11-12 16:35:15 +01:00
Jacek Caban 8f1bb21f35 mshtml: Don't skip history notification for about: URLs. 2012-11-12 16:35:15 +01:00
Jacek Caban 7ac09e721c mshtml: Properly report history update for location.replace call. 2012-11-12 16:35:15 +01:00
Jacek Caban 26d3962528 mshtml: Added IPersistStream::LoadHistory implementation. 2012-11-09 11:30:52 +01:00
Jacek Caban cfa0a3accd mshtml: Use flags in navigation functions. 2012-11-09 11:30:48 +01:00
Jacek Caban 92443dca02 mshtml: Added IPersistHistory::SaveHistory implementation. 2012-11-09 11:30:45 +01:00
Jacek Caban e0a33d0480 mshtml: Don't pass hash part of URI to EvaluateNewWindow. 2012-11-09 11:30:35 +01:00
Jacek Caban 4940275d21 mshtml: Set 'this' to window object for onload handlers. 2012-10-22 12:06:33 +02:00
Jacek Caban 3b6615686b mshtml: Fixed error handling of IBindCtx_GetObjectParam (coverity). 2012-10-19 12:20:49 +02:00
Jacek Caban 08485aeb48 mshtml: Properly handle OOM errors in task.c (coverity). 2012-10-19 12:19:45 +02:00
Jacek Caban 51b701c3ad mshtml: Moved HTMLScriptElement declaration to separated header. 2012-10-16 20:40:28 +02:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban 5fecc4896f mshtml: Don't store outer window in nsChannelBSC. 2012-07-12 11:47:20 -05:00
Jacek Caban 25c5082f90 mshtml: Create inner window early in binding process and use it to store current binding callback. 2012-07-12 11:47:09 -05:00
Jacek Caban 94f0f884fd mshtml: Moved binding list to HTMLInnerWindow. 2012-07-11 10:00:26 -05:00
Jacek Caban 79356c65c1 mshtml: Moved document node from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:19 +02:00
Jacek Caban 08964ede45 mshtml: Added separated types for outer and inner HTML windows. 2012-06-25 17:45:19 +02:00
Jacek Caban 0675f5c3d1 mshtml: Fixed Exec_ShellDocView_84 tests. 2012-05-29 18:20:14 +02:00
Jacek Caban 21f5ef2808 mshtml: Improved more VARIANT debug traces. 2012-03-28 14:56:39 +02:00
Jacek Caban 6c6744f800 mshtml: Use jscript.dll for JavaScript for all zones except untrusted. 2012-03-27 17:55:55 +02:00
André Hentschel 3950721c2d mshtml: Only release the interface if it exists. 2012-02-11 15:13:20 +01:00
Jacek Caban c5257dc126 mshtml: Moved creating URIs relative to window to a new function. 2012-01-27 18:05:58 +01:00
Jacek Caban 5e84789578 mshtml: Added history update notification support. 2012-01-20 16:02:50 +01:00
Michael Stefaniuc 51f77f4983 mshtml: Remove superfluous NULL pointer check before free (Smatch). 2012-01-16 12:45:34 +01:00
Jacek Caban fbdfec74b0 mshtml: Properly handle fragment-only navigation. 2011-11-15 19:37:32 +01:00
Jacek Caban bc701d5965 mshtml: Split setting window URI from set_current_mon. 2011-11-15 19:37:31 +01:00
Jacek Caban dc604f4a27 mshtml: Get rid of an unused parameter in prepare_for_binding. 2011-11-14 15:25:19 +01:00