[Bug 29574] Ajax example fails with unspecified error (IE8)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 10 05:05:44 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29574

--- Comment #11 from Nikolay Sivov <bunglehead at gmail.com> 2012-01-10 05:05:44 CST ---
(In reply to comment #10)
> 003e:trace:msxml:httprequest_open (0x33ab6e8)->(L"GET"
> L"http://www.w3schools.com/ajax/ajax_info.txt" {VT_BOOL: ffffffff})
> 
> Why that's not {VT_BOOL: 0} when async is false?

That's because when you create object with 'new XMLHttpRequest()' as builtin
jscript extension it's always acts as asynchronous with installed event
handler.

If you do ActiveXObject() it's created as a normal COM object and operated
through IDispatch, jscript extension for this class acts as a wrapper over
msxml implementation and doesn't even use IDispatch as you may see in logs.

I'll open a jscript bug for that.

> 
> Example works if set This->async=VARIANT_FALSE;

Yeah, that could be caused by urlmon problems or a real bug in httprequest in
msxml itself.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list