Nikolay Sivov
a40bca8866
mshtml: Fix a memory leak (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>
2015-11-11 19:39:20 +09:00
Nikolay Sivov
8dd3f7d8c4
mshtml: Make it clear that ATTR_FIX_PX and ATTR_FIX_URL as exclusive (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>
2015-11-11 19:18:14 +09:00
Alexandre Julliard
d8cc1dccba
makefiles: Add makedep pragmas in all IDL source files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Jacek Caban
79c59085b1
mshtml/tests: Fixed more test failures on win10.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 23:33:30 +09:00
Nikolay Sivov
33809d2bcc
mshtml/tests: Add missing return value test (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:04 +09:00
Nikolay Sivov
f8e3c1f712
mshtml: Use VARIANT_TRUE instead of TRUE when appropriate (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 20:58:24 +09:00
Jacek Caban
f986d3a72f
mshtml/tests: Fixed some tests on win10.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:25 +09:00
Dmitry Timoshkov
3662980f41
mshtml: Add IHTMLEditServices stub implementation.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:25 +09:00
Dmitry Timoshkov
e8b9bda53a
mshtml: Handle memory allocation failure when creating IOleUndoManager.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 23:34:57 +09:00
Joachim Priesner
e7fc477921
mshtml: Treat "data:" as Gecko special URI scheme.
...
This enables loading of inline content specified as data: URI, such as
background images.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:01:41 +09:00
Jacek Caban
d25737b381
mshtml: Updated nsIDocShellLoadInfo declaration to recent Wine Gecko version.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 17:20:59 +09:00
Jacek Caban
a42816073e
mshtml: Use proper name for OnRedirectVerifyCallback implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 00:01:56 +09:00
Jacek Caban
a68d5d2da3
mshtml: Fixed comparing names in find_http_header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 00:01:56 +09:00
Jacek Caban
aacc7b394e
mshtml/tests: Fixed tests on some Windows versions.
2015-09-15 22:51:45 +09:00
Gerald Pfeifer
a0da827d61
mshtml: Adjust NS_ERROR_GENERATE_FAILURE to avoid shift overflow.
2015-09-08 15:10:59 +09:00
Andrey Gusev
d3177504b1
Assorted spelling and typos fixes.
2015-08-31 20:18:46 +09:00
Zhenbo Li
f1c3f7ff1c
mshtml/tests: Fix crash on win2000 testbot.
2015-08-25 21:09:01 +09:00
Zhenbo Li
89d0c66461
mshtml: Remove unnecessary FIXME.
2015-08-25 21:08:59 +09:00
Zhenbo Li
e8c687857b
mshtml: Add IHTMLOptionElement::form property implementation.
2015-08-25 21:08:57 +09:00
Zhenbo Li
85c31979de
mshtml: Add IHTMLOptionElement::defaultSelected property implementation.
2015-08-25 21:08:54 +09:00
Zhenbo Li
b8f8b95e20
mshtml: Add IHTMLXMLHttpRequest::abort() method implementation.
2015-08-20 20:16:26 +09:00
Andrey Gusev
5cdcd4493f
Assorted spelling and typos fixes.
2015-08-18 15:00:13 +09:00
Jacek Caban
ce83ff7351
mshtml: Properly handle request aborted inside OnStartRequest.
2015-08-17 14:46:54 +09:00
Jacek Caban
5d52373c62
mshtml: Added IHTMLCurrentStyle3::whiteSpace property implementation.
2015-08-17 14:46:52 +09:00
Indrek Altpere
2cfe3cac0c
mshtml: Handle nsIDOMWindow_GetFrames returning NULL.
2015-08-17 14:39:33 +09:00
Zhenbo Li
a15751ab73
mshtml: Add IHTMLSelectElement::form property implementation.
2015-08-17 14:39:11 +09:00
Zhenbo Li
f7b9dd9525
mshtml: Add IHTMLSelectElement::name property implementation.
2015-08-17 14:39:06 +09:00
Alex Henrie
0c986f98ad
mshtml: Use the same click event handler for anchor and area elements.
2015-08-17 14:38:51 +09:00
Jacek Caban
a556f9e5c1
mshtml: Wine Gecko 2.40 release.
2015-08-12 22:59:15 +09:00
Zhenbo Li
b0dd7c79d3
mshtml: Fix error handler in IHTMLSelectElement::remove().
2015-08-07 23:50:49 +09:00
Zhenbo Li
6419ac0f13
mshtml: Add IHTMLSelectElement::size property implementation.
2015-08-07 23:50:49 +09:00
Zhenbo Li
312534f26f
mshtml: Add IHTMLOpinionElement::index property's getter implementation.
2015-08-07 23:50:49 +09:00
Zhenbo Li
bb060fe62f
mshtml: Add IHTMLXMLHttpRequest::getAllResponseHeaders() method implementation.
2015-08-06 21:05:02 +09:00
Zhenbo Li
44e6448618
mshtml: Add IHTMLXMLHttpRequest::getResponseHeader() method implementation.
2015-08-06 21:05:00 +09:00
Zhenbo Li
74d07b7b0a
mshtml: Add IHTMLXMLHttpRequest::statusText property implementation.
2015-08-06 21:04:58 +09:00
Alex Henrie
f36d761650
mshtml: Stub out HTMLAreaElement.
2015-08-05 23:46:28 +09:00
Zhenbo Li
4e6e9a1485
mshtml: Add nsChannel_GetResponseStatusText implementation.
2015-07-22 17:43:01 +02:00
Zhenbo Li
21043e5acf
mshtml: Add IHTMLXMLHttpRequest::status property implementation.
2015-07-22 17:42:59 +02:00
Zhenbo Li
4ea5d00e58
mshtml: Add IHTMLXMLHttpRequest::responseText() method implementation.
2015-07-22 17:42:57 +02:00
Piotr Caban
1a0c4efba9
mshtml: Test body.offsetHeight value in quirks mode.
2015-07-20 20:56:04 +02:00
Huw Davies
1e263612ff
mshtml/tests: Fix a crash on Win 2008.
2015-07-17 19:29:30 +09:00
Zhenbo Li
119af47683
mshtml: Add IHTMLXMLHttpRequest::send() method implementation.
2015-07-08 19:12:08 +09:00
Zhenbo Li
f2669d6e9f
mshtml/tests: Wait for the document to be completely loaded.
2015-07-08 19:12:03 +09:00
Jacek Caban
7f7e460a75
mshtml: Added nsIIOService::NewChannelFromURI2 semi-stub implementation.
2015-07-03 12:46:44 +09:00
Jacek Caban
8d85da757a
mshtml: Added support for binding XHR events.
2015-07-02 13:42:55 +09:00
Zhenbo Li
b6cf265317
mshtml: Add IHTMLXMLHttpRequest::readyState property implementation.
2015-07-01 19:18:13 +09:00
Zhenbo Li
d6b92300af
mshtml: Add IHTMLXMLHttpRequest:open() method implementation.
2015-07-01 19:18:12 +09:00
Zhenbo Li
deb884a6d8
mshtml: Add IHTMLXMLHttpRequestFactory::create() method implementation.
2015-07-01 19:18:12 +09:00
Jacek Caban
069599135b
mshtml: Initialize output paramter before test call.
2015-06-29 19:07:54 +09:00
Zhenbo Li
295a8d8301
mshtml/tests: Added IHTMLXMLHttpRequest tests.
2015-06-26 20:35:07 +09:00
Jacek Caban
430df1ca61
mshtml: Added IHTMLXMLHttpRequest::onreadystatechange property implementation.
2015-06-22 19:16:48 +09:00
Jacek Caban
e250e54530
mshtml: Use test.winehq.org over http in img_onload tests.
2015-06-18 21:41:03 +09:00
Zhenbo Li
82d090dd6d
mshtml: Implement IHTMLXMLHttpRequest as a stub.
2015-06-11 14:41:35 +09:00
Zhenbo Li
0036b8bf2e
mshtml: Implement IHTMLXMLHttpRequestFactory as a stub.
2015-06-10 23:30:39 +09:00
Nikolay Sivov
a260d3efc6
mshtml: Handle allocation failure during collection creation (Coverity).
2015-06-03 22:52:10 +09:00
Jacek Caban
f5066488e9
mshtml: Fixed leak in HTMLCurrentStyle_Create.
2015-06-03 14:47:36 +09:00
Dmitry Timoshkov
242beac637
mshtml: Handle VT_INT/VT_UI4 same way as VT_I4/VT_UINT in IHTMLElementCollection::item.
2015-06-02 20:53:43 +09:00
Indrek Altpere
2676488fcd
mshtml: Add NULL check to get_frame_by_name.
2015-06-02 14:08:29 +09:00
Indrek Altpere
55c03ad4d2
mshtml: Add NULL check to avoid crashing due to Gecko bug.
2015-06-02 14:08:22 +09:00
Nikolay Sivov
a3916f636d
mshtml/tests: Fix use-after-free in events tests.
2015-06-01 14:43:35 +09:00
Jacek Caban
9981890397
mshtml: Pass EventTarget to call_event_handlers.
2015-05-26 14:36:57 +09:00
Marcus Meissner
47086b9aaf
mshtml: Fixed incorrect NULL ptr check (Coverity).
2015-05-21 13:55:14 +09:00
Jacek Caban
c1079f2571
mshtml: Use bind_event in set_event_handler.
2015-05-21 13:55:07 +09:00
Jacek Caban
7950f780df
mshtml: Get rid of no longer needed detach_event argument.
2015-05-21 13:55:03 +09:00
Jacek Caban
189cb568ee
mshtml: Use vtbl for binding to event in attach_event.
2015-05-21 13:54:58 +09:00
Jacek Caban
4686f3d761
mshtml: Removed unneeded argument from ensure_nsevent_handler.
2015-05-18 14:06:29 +09:00
Jacek Caban
25dee9f5be
mshtml: Initialize output value before passing it to VariantCopy.
2015-05-15 21:58:06 +09:00
Jacek Caban
6919c86601
mshtml: Get rid of get_node_event_target.
2015-05-15 18:06:09 +09:00
Jacek Caban
760f9de851
mshtml: Pass EventTarget to update_cp_events.
2015-05-15 18:06:05 +09:00
Jacek Caban
21151f3ec6
mshtml: Pass EventTarget to detach_event.
2015-05-15 18:06:01 +09:00
Jacek Caban
513c77d9e4
mshtml: Pass EventTarget to attach_event.
2015-05-15 18:05:57 +09:00
Jacek Caban
f2fa7e662e
mshtml: Pass EventTarget to get_event_handler.
2015-05-15 18:05:52 +09:00
Jacek Caban
f26597753a
mshtml: Pass EventTarget to set_event_handler.
2015-05-15 18:05:46 +09:00
Jacek Caban
2f4e85abb8
mshtml: Make HTMLInnerWindow inherit from EventTarget.
2015-05-15 18:05:37 +09:00
Jacek Caban
a1d837c341
mshtml: Moved getting event target data pointer to DispatchEx vtbl.
2015-05-15 18:05:34 +09:00
Jacek Caban
f908f03cd9
mshtml: Added new EventTarget struct representing event targets.
2015-05-15 18:05:27 +09:00
Jacek Caban
71cae1fceb
mshtml: Added IHTMLEventObj::get_returnValue implementation.
2015-05-05 10:16:11 +09:00
Jacek Caban
985d8afcd1
mshtml: Added IHTMLDOMAttribute2::get_value implementation.
2015-05-05 10:16:06 +09:00
Jacek Caban
8e0d661927
mshtml: Split getAttribute into helper function and use it in IHTMLDOMAttribute::get_nodeValue implementation.
2015-05-05 10:15:59 +09:00
Jacek Caban
7c85ed6aab
mshtml: Fixed binding event scripts to window objects.
2015-04-20 14:37:33 +09:00
Jacek Caban
a0ec86b7b7
mshtml: Get rid of duplicated NS_DLSYM defines.
2015-04-20 14:37:25 +09:00
Jacek Caban
ba00e8e0e1
mshtml: Use NS_Alloc and NS_Free directly instead of via nsIMemory.
2015-04-16 20:46:19 +09:00
Thomas Faber
3f63177204
mshtml: Remove nsIDOMWindowUtils::SetCriticalDisplayPortForElement.
2015-04-13 20:27:40 +09:00
Jacek Caban
b94dd24eaf
mshtml: Use debugstr_mshtml_guid in object and embed element implementation.
2015-04-13 20:27:34 +09:00
Jacek Caban
81c13caf37
mshtml: Increment ref count in QI(IID_HTMLPluginContainer) call.
2015-04-13 20:27:31 +09:00
Francois Gouget
45f5e5d746
mshtml: Mark internal symbols with hidden visibility.
2015-03-27 00:12:40 +09:00
Michael Stefaniuc
0cce9200d9
mshtml/tests: Actually test the return of IHTMLTable_get_width().
2015-03-25 20:12:51 +09:00
Michael Stefaniuc
a21b2cc5b9
mshtml: Print the debug string instead of the pointer value.
2015-03-24 18:16:09 +09:00
Jacek Caban
9374056644
mshtml: Added IHTMLSelectionObject2 stub implementation.
2015-03-23 16:20:25 +09:00
Francois Gouget
f505e6fb4a
Assorted spelling fixes.
2015-03-19 21:54:14 +09:00
Jacek Caban
14e62a0e2d
mshtml: Added IHTMLTextAreaElement::defaultValue property implementation.
2015-03-16 15:03:08 +09:00
Francois Gouget
ff983cc36a
mshtml: Remove unneeded NONAMELESSXXX directives.
2015-03-13 21:57:30 +09:00
Michael Stefaniuc
b211f9123b
mshtml/tests: '%' doesn't needs escaping in a C string (sparse).
2015-03-11 22:09:57 +09:00
Jacek Caban
144056bce0
mshtml: Allow setting event handlers to strings.
2015-03-11 12:42:42 +09:00
Jacek Caban
7bce21c087
mshtml: Added IHTMLDOMAttribute2::get_expando implementation.
2015-03-10 15:08:15 +09:00
Jacek Caban
25845c7065
mshtml: Added IHTMLDOMAttribute2 stub implementation.
2015-03-10 15:08:03 +09:00
Michael Stefaniuc
533bb9f390
mstml/tests: Merge two adjacent if blocks with identical condition (PVS-Studio).
2015-03-09 22:06:30 +09:00
Jacek Caban
10fba143f7
mshtml: Return S_OK in IHTMLPluginsCollection::refresh.
2015-03-06 21:10:17 +09:00
Michael Stefaniuc
9dcb4004d9
mshtml/tests: Remove an unused assignment (PVS-Studio).
2015-03-06 20:32:01 +09:00
Francois Gouget
5a36a48c15
mshtml: Make insert_adjacent_node() static.
2015-03-02 13:49:44 +09:00