Commit Graph

3668 Commits

Author SHA1 Message Date
Jacek Caban db1d194078 mshtml: Added IHTMLCurrentStyle::get_direction implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01:00
Jacek Caban de998b95ac mshtml: Added IHTMLElement4::onbeforeactivate property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01:00
Jacek Caban 8dce1975aa mshtml: Added IHTMLDocument5::onfocusin and onfocusout properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01:00
Jacek Caban c4e9787e86 mshtml: Store event handlers in rb tree.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:31 +01:00
Jacek Caban 68d2f9c6a6 mshtml: Release event target in XMLHttpRequest destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:13 +01:00
Jacek Caban bc02ba80b9 mshtml: Pass event target as EventTarget to release_event_target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:11 +01:00
Jacek Caban 57239e7822 mshtml: Use get_handler_vector in detach_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:09 +01:00
Jacek Caban 3fcb5a0aed mshtml: Use get_handler_vector in get_event_handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:07 +01:00
Jacek Caban 02f0483d37 mshtml: Use get_handler_vector in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:05 +01:00
Jacek Caban 6da77419b5 mshtml: Use get_handler_vector in remove_event_handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:03 +01:00
Jacek Caban db67232ce2 mshtml: Added new get_handler_vector helper for creating handle_vector_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:01 +01:00
Jacek Caban 72ee409e7f mshtml: Don't reallocate handler_vector_t when handlers are added.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:59 +01:00
Jacek Caban c12b4b4846 mshtml: Return event target as EventTarget from DispatchEx vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:57 +01:00
Jacek Caban e1d54def73 mshtml: Return event target as EventTarget in NodeImplVtbl.get_event_target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:55 +01:00
Jacek Caban 74a759673d mshtml: Use inner window's event target for body element.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:53 +01:00
Jacek Caban 8fba2bc6df mshtml/tests: Added body event setters tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:51 +01:00
Francois Gouget 948991f23a mshtml/tests: A couple of spelling fixes in ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 16:07:57 +01:00
Jacek Caban 7219c7cf5d mshtml/tests: Added MHTML document tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 13:49:10 +01: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
Jacek Caban fdcd7e60c2 mshtml/tests: Added COM aggregation tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Jacek Caban 6e94b955c2 mshtml: Added support for COM aggregation in HTMLDocument object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Jacek Caban 2fb4de7b5e mshtml: Renamed unk_imp to outer_unk.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:38 +01:00
Jacek Caban fedc26ec3f mshtml: Added IHTMLSelectionObject2::get_typeDetail semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Jacek Caban f5f4765aab mshtml/tests: Added text selection type tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Jacek Caban 0e8c7bece6 mshtml: Added MHTMLDocument object class factory stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:51:37 +01:00
Jacek Caban 4823119a79 mshtml: Initialize nsAString in IHTMLDocument3::get_dir.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:24:32 +01:00
Francois Gouget 7effdeebda mshtml/tests: Some spelling fixes in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:15 +01:00
Jacek Caban 61cb24f40f mshtml: Silence a noisy FIXME.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 15:27:43 +01:00
Michael Stefaniuc d8f6e3ef7c mshtml: Avoid a cast from a COM object to an interface.
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-11-25 19:49:07 +01:00
Jacek Caban cb11d67035 mshtml: Added IHTMLDocument3::dir property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 13:20:10 -06:00
Nikolay Sivov 1f9ab34b5e mshtml/tests: Fix some BSTR leaks in various tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:08 -06:00
Nikolay Sivov f45d82eb4c mshtml: Fix uri builder leak on nsIFileURL release (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Nikolay Sivov a5f27c6cdc mshtml: Fix outer window url leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Nikolay Sivov 892d2e8c29 mshtml: Fix some IUri leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Nikolay Sivov 15a07c0725 mshtml: Fix BSTR leak in SetReferrerWithPolicy() (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Michael Stefaniuc 41992ae38d mshtml: Use EqualRect() to compare RECTs.
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-10-23 17:30:31 +02:00
Michael Stefaniuc d930b57ded mshtml/tests: Use EqualRect() to compare RECTs.
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-10-23 17:30:27 +02:00
Jacek Caban 1dedd90e8c mshtml: Added support for non-pixel style values in IHTMLStyle::get_pixel* functions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 20:51:44 +02:00
Jacek Caban a6ef2386a7 mshtml: Update binding moniker in handle_redirect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 18:07:50 +02:00
Jacek Caban a6d35fdaa8 mshtml: Fixed leak in get_nsstyle_attr_nsval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-06 21:27:45 +02:00
Michael Stefaniuc a14674aa36 mshtml: Avoid casts from COM objects to interfaces.
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-09-19 23:13:34 +09:00
Jacek Caban ca2e0c5e70 mshtml: Use IUnknownVtbl in wrapper_vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:26:12 +09:00
Nikolay Sivov 7846f0947a mshtml: Use proper constants as HRESULT return values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:24:58 +09:00
Jacek Caban 9679755a06 mshtml: Use rb tree instead of list to map nsIDOMWindowProxy to HTMLOuterWindow.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:02 +09:00
Sebastian Lackner 01581bfc48 mshtml/tests: Fix incorrect usage of broken() function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 23:55:11 +09:00
Michael Stefaniuc 0793d01d1c mshtml: Avoid using the COM method implementations directly.
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-09-06 11:28:39 +09:00
Andrew Eikum 22783dfef8 mshtml: Don't crash creating a URI if we have no document.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:42:15 +09:00
Nikolay Sivov 8fbaeb3058 mshtml: Formatting change to get rid of warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:09:28 +09:00
Nikolay Sivov 0b0a63b433 mshtml: Remove dead assignment (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 09:09:02 -05:00
Jacek Caban 3d4dbd3c14 mshtml: Use correct principal to create in create_nsxhr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Jacek Caban 0ff1b0c382 mshtml: Set referer HTTP header in nsIHttpChannel::SetReferrerWithPolicy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Jacek Caban 3cb45c4c8d mshtml: Don't send https referrer to non-https channel.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Jacek Caban ed7dc73ca5 mshtml: Forward nsIHttpChannel::SetReferrer to SetReferrerWithPolicy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Michael Stefaniuc 85916a10ad mshtml: Use SetRectEmpty() instead of memset().
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-08-01 09:44:58 -05:00
Jacek Caban 82d867a676 mshtml: Added asynchronous script loading tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:20 +09:00
Jacek Caban b1f4bf1d7d mshtml: Load dynamically created script elements asynchronously.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:12 +09:00
Jacek Caban 8ccc38cb55 mshtml: Set interactive script ready state change in the right places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:10 +09:00
Jacek Caban 3a85711a98 mshtml: Set loaded script ready state if binding failed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:08 +09:00
Jacek Caban 5b1affa446 mshtml: Moved script execution logic from HTMLScriptElement::put_src to script BSC.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:06 +09:00
Jacek Caban eeb075dd0e mshtml: Merge parse_extern_script and bind_script.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:04 +09:00
Jacek Caban f73f884884 mshtml: Store external script text in HTMLScriptElement object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:03:01 +09:00
Jacek Caban 718a415aa1 mshtml: Moved parsing external script to OnStopBinding callback.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:59 +09:00
Jacek Caban 2dd15b59d1 mshtml: Moved getting text from ScriptBSC to separated function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:57 +09:00
Jacek Caban 339ebdb11d mshtml: Use bind_to_tree callback to parse dynamically added scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:54 +09:00
Jacek Caban acef7258ab mshtml/tests: Use relative URLs in navigation.js.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:48 +09: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
Nikolay Sivov 3ea8a700f7 mshtml: Fix a typo in a trace message.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 22:10:31 +09:00
Michael Stefaniuc 9cec2e5936 mshtml: Use SetRect() instead of open coding it.
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-14 22:10:30 +09:00
Jacek Caban 141998f63c mshtml: Removed no longer used nav_test.html file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:22 +09:00
Jacek Caban d72d640308 mshtml: Export IElementSelector for all elements in compatibility mode >= IE8.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:13 +09:00
Jacek Caban c20c47b85e mshtml: Properly handle duplicated names with different DISPIDs in add_func_info.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:11 +09:00
Jacek Caban 91e7a02845 mshtml: Added support for exposing different sets of properties from DispatchEx depending on compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:09 +09:00
Jacek Caban f6a00dbd25 mshtml: Use callback to register additional IDispatch interfaces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:53 +09:00
Jacek Caban 87f7aea1ca mshtml: Reimplement IHTMLDocument5::get_compatMode based on document mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:45 +09:00
Jacek Caban 429e0dde69 mshtml: Added document.documentMode tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:35 +09:00
Jacek Caban 6614df04a8 mshtml: Set compatibility mode based on doctype.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:27 +09:00
Jacek Caban 73bdf9d926 mshtml: Expose IHTMLDocument6 to IDispatch.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:23 +09:00
Jacek Caban 6e2ebcd167 mshtml: Added IHTMLDocument6::get_documentMode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:19 +09:00
Jacek Caban bda4b35aa3 mshtml: Store compatibility mode provided by meta element.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:16 +09:00
Jacek Caban fc42ccc361 mshtml: Get rid of no longer needed get_dispex_data function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:11 +09:00
Jacek Caban 13c3ae6d93 mshtml: Store dispex_data_t pointer instead of dispex_static_data_t in DispatchEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:05 +09:00
Jacek Caban bb4227d6d5 mshtml: Preprocess typelib data in init_dispex.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:00 +09:00
Jacek Caban 392a41060c mshtml: Store function buffer size in dispex_data_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:55 +09:00
Jacek Caban dba85f124b mshtml: Added a helper to get vtbl from DispatchEx and use it to access vtbl outside dispex.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:50 +09:00
Jacek Caban fd2f645d16 mshtml: Moved dispex_data_t pointer to the end of dispex_static_data_t struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:45 +09:00
Jacek Caban 00f74afeef mshtml: Rewrite navigation tests using new HTTP emulation framework.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:52:49 +09:00
Jacek Caban 2ad4e9f422 mshtml: Added scripted XHR tests with emulated HTTP connection.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:51:31 +09:00
Francois Gouget c242e00b8c mshtml: Fix a typo in a TRACE() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:27:37 +09:00
Francois Gouget 3998a7aa54 mshtml: Nswindow_to_window() is not used anymore, remove it.
It has been superseded by mozwindow_to_window().

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:27:37 +09:00
Jacek Caban 39cba73ab5 mshtml: Specify locale in VarBstrFrom* calls.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:51 +09:00
Jacek Caban 244abfcb77 mshtml: Added IHTMLElement6::getElementsByClassName implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:47 +09:00
Jacek Caban cb1be040ea mshtml: Added missing release_dispex call in HTMLRect destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:44 +09:00
Jacek Caban d715fdf2c8 mshtml: Added IHTMLElement2::onscroll and onresize properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:42 +09:00
Jacek Caban 4a96d20945 mshtml: Added IHTMLElement::ondragstart and onhelp properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:40 +09:00
Jacek Caban b04cc8d278 mshtml: Added FIXME for drag and dragstart events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:37 +09:00
Jacek Caban 7e86918a77 mshtml: Added IHTMLElement6::on* properties implementation for supported events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:35 +09:00
Jacek Caban 1b04f09be4 mshtml: Added IHTMLElement6 stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:33 +09:00
Michael Stefaniuc 7701c2c166 mshtml: Don't cast from an iface to a COM object.
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-03 10:20:21 +09:00
Jacek Caban 589248c1e2 mshtml: Added IHTMLLinkElement::onload property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:04:42 +09:00
André Hentschel 56e06d3f2e mshtml/tests: Allow ParseUrl to clear buffer on Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:04:11 +09:00