Commit Graph

3505 Commits

Author SHA1 Message Date
Jacek Caban b0c759a3b9 mshtml: Fixed OnStopBinding if it's called called after we aborted document binding.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 20:09:43 +09:00
Andrey Gusev 8d56059742 mshtml/tests: Fix a typo in comment.
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-05-27 00:14:50 +09:00
Jacek Caban 7d2bba4647 mshtml: Added IHTMLWindow2::onunload property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:54 +09:00
Jacek Caban 8abd37637a mshtml: Improved FIXMEs about unimplemented events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:54 +09:00
Hadrien Boizard c0505097f9 mshtml/tests: Use todo_wine_if() in tests.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-25 22:04:13 +09:00
Jacek Caban 4d1194d104 mshtml: Added IHTMLElement::put_onkeyup implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:09:17 +09:00
Andrey Gusev 92890ac993 mshtml/tests: Fix a typo in ok() messages.
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-05-23 14:08:59 +09:00
Jacek Caban 6dd6c76299 mshtml: Fixed GetNextDispID for the case when the first dynamic property is deleted.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:53 +09:00
Piotr Caban 60fe748543 mshtml: Make it possible to clear timer and interval with any of clearTimeout and clearInterval functions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:45:59 +09:00
Piotr Caban 4e77355f3a mshtml: Fix HTMLWindow3_setInterval behavior on 0 msec intervals.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:45:57 +09:00
Jacek Caban c766386f36 mshtml: Added IHTMLElement2::oncontextmenu property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09:00
Piotr Caban 98006cf6e7 mshtml: Add more <img> onload tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09:00
Jacek Caban 67cb39b270 mshtml: Bind load event directly to the target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09:00
Jacek Caban 60538b4cd9 mshtml: Ensure that bind_event is not called multiple times for the same event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09:00
Nikolay Sivov 508830c3ac mshtml: IBindStatusCallback::OnStopBinding() last argument is string pointer.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 12:41:28 +09:00
Francois Gouget ea12d857b4 mshtml/tests: A spelling fix for a dom ok() 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-04-26 14:49:02 +09:00
Michael Stefaniuc db8159ee89 mshtml: Use wine_dbgstr_rect() to trace 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-04-21 13:36:16 +09:00
Francois Gouget 91c3e75bb5 mshtml: Fix spelling of an HTMLEmbedElement method implementation name.
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-04-14 13:14:01 +09:00
Jacek Caban 8c00ee2ac6 mshtml: Added more IHTMLXMLHttpRequst::send tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 22:40:10 +09:00
Jacek Caban 5ae224dee8 mshtml: Added support for sending BSTR over IHTMLXMLHttpRequst::send.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 22:40:07 +09:00
Jacek Caban 80893bcf52 mshtml: Skip headers problematic for cache.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 22:40:03 +09:00
Jacek Caban 529a7ed55f mshtml: Event tests code clean up.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 12:51:39 +09:00
Jacek Caban 6fd383e8df mshtml: Added IHTMLWindow6::postMessage semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 12:51:34 +09:00
Jacek Caban feed9d4750 mshtml: Added IHTMLWindow6::onmessage property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 12:51:30 +09:00
Jacek Caban 8c3d3c754d mshtml: Added focusin and focusout event tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:45 +09:00
Jacek Caban 86116b16bf mshtml: Added support for focusout event and IHTMLElement4::onfocusout property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:45 +09:00
Jacek Caban a86a4e6557 mshtml: Added support for focusin 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 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 b692aad3b6 mshtml: Allow events without event object specified and EVENT_DEFAULTLISTENER flag in dispatch_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 baf9db63ed mshtml: Added HTMLHtmlElement object implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:21 +09:00
Jacek Caban e35a84360c mshtml: Added IHTMLElement::outerText tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:11 +09:00
Jacek Caban 7c1fa88ced mshtml: Added IHTMLElement::put_outerText implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:05 +09:00
Jacek Caban ca3178d0c5 mshtml: Added IHTMLElement::get_outerText implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:01 +09:00
Jacek Caban 386042fbdf mshtml: Return NULL instead of empty string in get_node_text.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:09:56 +09:00
Jacek Caban 17fcc112ad mshtml: Added IHTMLElement4::setAttributeNode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:29 +09:00
Jacek Caban 423b7ba1d1 mshtml: Added IHTMLDOMAttribute2::get_parentNode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:26 +09:00
Jacek Caban 7ad4aeb735 mshtml: Added support for IHTMLDOMAttribute2::get_value on detached attributes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:24 +09:00
Jacek Caban a3ab8d6792 mshtml: Split conversion to string out of get_elem_attr_value_by_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:22 +09:00
Jacek Caban 51304cbe72 mshtml: Moved createAttribute tests to test_attr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:19 +09:00
Jacek Caban f24526e79f mshtml/tests: Fixed remaining xmlhttprequest test failures.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 22:58:18 +09:00
Jacek Caban f8d47a6637 mshtml/tests: Fixed xmlhttprequest test failures.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 23:51:31 +09:00
Francois Gouget 49ceec53c4 mshtml: Make some functions static.
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-03-22 23:51:31 +09:00
Jacek Caban 0eba20def8 mshtml: Fixed copy&paste typo in GetAsciiHostPort implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 21:58:01 +09:00
Jacek Caban 13079c5696 mshtml: Fixed cloning comment nodes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 19:50:08 +09:00
Jacek Caban 6c637ab9c6 mshtml: Added support for IHTMLDOMAttribute::nodeValue property on detached attributes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 22:54:25 +09:00
Jacek Caban 4e9324c43e mshtml: Always return false in IHTMLDOMAttribute2::get_expando for detached attributes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 22:54:22 +09:00
Jacek Caban 206bebfd8f mshtml: Added IHTMLXMLHttpRequest::getResponseHeader implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 13:33:07 +09:00
Jacek Caban b652c11969 mshtml/tests: Fixed tests on some IE versions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 01:00:41 +09:00
Jacek Caban c0fda9824e mshtml: Expose XMLHttpRequest constructor to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:02 +09:00
Jacek Caban 5996de5c2e mshtml: Added HTMLXMLHttpRequestFactory DISPID_VALUE implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00