mshtml: Added support for DISPATCH_METHOD|DISPATCH_PROPERTYGET flags in HTMLDocumentNode_invoke.
This commit is contained in:
parent
64dc6561cd
commit
bdcc88a396
|
@ -2183,7 +2183,7 @@ static HRESULT HTMLDocumentNode_invoke(DispatchEx *dispex, DISPID id, LCID lcid,
|
||||||
nsresult nsres;
|
nsresult nsres;
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
if(flags != DISPATCH_PROPERTYGET) {
|
if(flags != DISPATCH_PROPERTYGET && flags != (DISPATCH_METHOD|DISPATCH_PROPERTYGET)) {
|
||||||
FIXME("unsupported flags %x\n", flags);
|
FIXME("unsupported flags %x\n", flags);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,7 @@ If true then counter = counter+1
|
||||||
Sub runTest()
|
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 external.reportSuccess()
|
Call external.reportSuccess()
|
||||||
End Sub
|
End Sub
|
||||||
</script>
|
</script>
|
||||||
|
@ -39,5 +40,6 @@ End Sub
|
||||||
// We're in javascript
|
// We're in javascript
|
||||||
</script>
|
</script>
|
||||||
<body onload="If true then runTest()">
|
<body onload="If true then runTest()">
|
||||||
|
<form name="formname"></form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue