Commit f9079857 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added DISPATCH_PROPERTYGET|DISPATCH_METHOD flags support for elements…

mshtml: Added DISPATCH_PROPERTYGET|DISPATCH_METHOD flags support for elements exposed as window properties.
parent 7a2d68ab
...@@ -2599,6 +2599,7 @@ static HRESULT HTMLWindow_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD ...@@ -2599,6 +2599,7 @@ static HRESULT HTMLWindow_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD
} }
case GLOBAL_ELEMENTVAR: case GLOBAL_ELEMENTVAR:
switch(flags) { switch(flags) {
case DISPATCH_PROPERTYGET|DISPATCH_METHOD:
case DISPATCH_PROPERTYGET: { case DISPATCH_PROPERTYGET: {
IHTMLElement *elem; IHTMLElement *elem;
......
...@@ -33,6 +33,7 @@ Sub runTest() ...@@ -33,6 +33,7 @@ Sub runTest()
Call ok(counter = 6, "counter = " & counter) Call ok(counter = 6, "counter = " & counter)
Call ok(isNull(document.onkeyup), "document.onkeyup is not null") Call ok(isNull(document.onkeyup), "document.onkeyup is not null")
Call ok(document.formname.tagName = "FORM", "document.form.tagName = " & document.formname.tagName) Call ok(document.formname.tagName = "FORM", "document.form.tagName = " & document.formname.tagName)
Call ok(formname.tagName = "FORM", "form.tagName = " & formname.tagName)
Call external.reportSuccess() Call external.reportSuccess()
End Sub End Sub
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment