Commit Graph

3918 Commits

Author SHA1 Message Date
Jacek Caban aa27dd07aa jscript: Added Date.prototype.toISOString implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 20:14:45 +02:00
Jacek Caban 3263d51a1f jscript: Allow using reserved words as identifiers in ES5 mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-04 22:04:27 +02:00
Jacek Caban cfb67712ce mshtml: Check if BSC is still attached to window before using it in OnRedirectVerifyCallback.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 23:20:10 +01:00
Jacek Caban e36b765be4 mshtml/tests: Added more IDOMEvent::preventDefault tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 09:24:22 -06:00
Jacek Caban 39766bcded mshtml: Use nsIDOMEvent directly to prevent default event handling in dispatch_event_object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 09:24:19 -06:00
Jacek Caban 3987d93992 jscript: Added Array.prototype.indexOf implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:54:32 +01:00
Jacek Caban 3bd3d559ce jscript: Added Array.isArray implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:45 +01:00
Jacek Caban af5edf9504 jscript: Added Date.now implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:32 +01:00
Jacek Caban ff54bafb43 mshtml: Use JScript extension for IE9+ mode support.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:27 +01:00
Jacek Caban be897e2d92 mshtml: Use SCRIPTLANGUAGEVERSION_5_7 for IE7 and IE5 compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:16 +01:00
Jacek Caban 667b3f0dff mshtml: Use IE8 compatibility mode for documents in standards mode in internet zone.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:11 +01:00
Jacek Caban c89fef781b mshtml: Merge propbag.c into pluginhost.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban f0372fbfbe mshtml: Merge ipwindow.c into pluginhost.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban 86bdba81ad mshtml: Merge htmlscreen.c into imnavigator.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban 92e3036c72 mshtml: Implement IOleDocumentView and IViewObjectEx interfaces in HTMLDocumentObj object instead of HTMLDocument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban e55e6b8c45 mshtml: Implement IHTMLTextContainer interface directly in HTMLBodyElement object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban 49f20a5b74 mshtml: Merge htmltextcont.c into htmlbody.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban eb1494cec8 mshtml: Merge htmltablecell.c into htmltable.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:01 +01:00
Jacek Caban 865b93495c mshtml: Merge htmltablerow.c into htmltable.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Jacek Caban 6683740c66 mshtml: Merge htmloption.c into htmlselect.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Jacek Caban ecc6ee0810 mshtml: Merge htmlmeta.c into htmlhead.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Jacek Caban ac3b1f3201 mshtml: Merge htmlembed.c into htmlobject.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Jacek Caban 48365004b0 mshtml: Merge htmliframe.c into htmlframe.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Jacek Caban 1f8ff829d9 mshtml: Merge htmlframebase.c into htmlframe.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 18:21:00 +01:00
Jacek Caban 9ae8b8c00f mshtml: Support X-UA-Compatible HTTP header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 20:18:34 +01:00
Andrey Gusev 80690ecf4d mshtml/tests: Use GetModuleHandleA instead of LoadLibraryA.
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>
2018-02-26 16:40:22 +01:00
Jacek Caban dd78fd0966 mshtml: Set SCRIPTPROP_INVOKEVERSIONING based on document mode value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Jacek Caban 67de587f60 mshtml: Properly handle conditional comments in IE9+ modes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Jacek Caban 74d6c6d2fb mshtml: Properly support custom event listeners in XMLHttpRequest object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Jacek Caban d7c94cc7d8 mshtml: Register load, error and abort events directly in event target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Jacek Caban 5ec6b8f807 mshtml/tests: Fixed copy&paste typo in createDocumentFragment call.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 20:08:22 +01:00
Jacek Caban 113fc68259 mshtml: Forward IHTMLEventObj::toElement and fromElement implementation to IDOMMouseEvent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:50 +01:00
Jacek Caban beb0b78a5a mshtml: Added IDOMMouseEvent::fromElement property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:48 +01:00
Jacek Caban c0d248f2a5 mshtml: Added IDOMMouseEvent::toElement property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:46 +01:00
Jacek Caban cf6d34d815 mshtml: Improved IDOMMouseEvent::offset[XY] stubs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:44 +01:00
Jacek Caban 832b90d4a5 mshtml: Added IDOMMouseEvent::relatedTarget implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:56 +01:00
Jacek Caban ad1599f276 mshtml: Share more code between get_form implementations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:52 +01:00
Jacek Caban cff4612646 mshtml: Use get_element helper in IHTMLDocument3::get_documentElement implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:47 +01:00
Jacek Caban 62335569c4 mshtml: Get rid of no longer needed document argument from create_collection_from_nodelist and create_collection_from_htmlcol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:44 +01:00
Jacek Caban 567f911fcf mshtml: Use get_element helper in IHTMLDocument2::elementFromPoint implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:40 +01:00
Jacek Caban d5a190b052 mshtml: Use get_element helper in IHTMLElement::get_offsetParent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban b304616f8a mshtml: Get rid of no longer needed document argument from get_element.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban ae4809c7d6 mshtml: Get rid of no longer needed document argument from create_all_list.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban dfc13245f1 mshtml: Get rid of no longer needed document argument from script_elem_from_nsscript.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban a19caad9d0 mshtml: Get rid of no loner needed document node reference in HTMLDOMChildrenCollection.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban 69af9a4c9d mshtml: Get rid of no longer needed document argument in get_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban 7586334008 mshtml/tests: Added more ownerDocument property tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban 23b1d3a79d mshtml: Get owner document from Gecko node in get_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban abd27e0926 mshtml: Added IDOMKeyboardEvent::which and IDOMMouseEvent::which properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 19:19:44 +01:00
Jacek Caban 881ba0627b mshtml: Added IDOMEvent::pageX and pageY properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:35:07 +01:00