[Bug 29574] New: Ajax example fails with unspecified error (IE8)
http://bugs.winehq.org/show_bug.cgi?id=29574 Bug #: 29574 Summary: Ajax example fails with unspecified error (IE8) Product: Wine Version: 1.3.36 Platform: x86 URL: http://www.w3schools.com/ajax/tryit.asp?filename=tryaj ax_asyncfalse OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: msxml3 AssignedTo: wine-bugs(a)winehq.org ReportedBy: ocean04(a)suomi24.fi Classification: Unclassified There are many examples: http://www.w3schools.com/ajax/default.asp All work fine except this one: http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_asyncfalse 1. winetricks ie8 2. open that page in ie 3. click "Change Content" -> There is yellow question mark "unspecified error". Workaround is winetricks msxml3 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #1 from ocean04(a)suomi24.fi 2012-01-09 02:42:47 CST --- Created attachment 38305 --> http://bugs.winehq.org/attachment.cgi?id=38305 +msxml,+tid Relevant part is after the (non fatal) crash, thats when I clicked the button. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 ocean04(a)suomi24.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #2 from ocean04(a)suomi24.fi 2012-01-09 03:56:08 CST --- On that page change "responseText" -> "readyState" and click button "Edit and Click Me" Now example gives you "2". Seems it's not waiting as it should, readyState should be "4" -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-01-09 06:36:21 CST --- It works for me with wine iexplore, so the problem is likely cause you're using native urlmon shipped with ie8. And the reason state is not updated is probably because bind callback sequence differs or something like that. So this really is about builtin urlmon being compatible/replaceable with native one. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #4 from ocean04(a)suomi24.fi 2012-01-09 07:06:24 CST --- with wine iexplore I don't get any msxml traces, it doesn't use msxml? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-01-09 07:28:37 CST --- (In reply to comment #4)
with wine iexplore I don't get any msxml traces, it doesn't use msxml?
Yes, it's possible actually, gecko has its own implementation. But if you keep only ActiveXObject("Microsoft.XMLHTTP") way it should start using msxml. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #6 from ocean04(a)suomi24.fi 2012-01-09 08:26:52 CST --- Tried that, but seems it fails to create object. (Nothing happens) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|msxml3 |-unknown Resolution| |INVALID --- Comment #7 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2012-01-09 08:59:06 CST --- http://wiki.winehq.org/winetricks#winetricks_and_bugs -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-01-09 09:04:39 CST --- (In reply to comment #6)
Tried that, but seems it fails to create object. (Nothing happens)
Yeah, I can confirm. So there's a bunch of problems here: - ActiveXObject("Microsoft.XMLHTTP") doesn't work probably; - IXMLDOMHttpRequest fails to resolve relative path name, I'm aware of this problem, and this is a good test case to fix it, we even have a tests that show how it supposed to work. (In reply to comment #7)
Don't do that, it's still a valid bug. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msxml3 --- Comment #9 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-01-09 13:35:46 CST --- (In reply to comment #8)
- ActiveXObject("Microsoft.XMLHTTP") doesn't work probably;
This is intentional apparently, wine iexplore doesn't use builtin jscript for every page.
- IXMLDOMHttpRequest fails to resolve relative path name, I'm aware of this problem, and this is a good test case to fix it, we even have a tests that show how it supposed to work.
Let's make this bug about this particular issue. Requested document url should be resolved to http://www.w3schools.com/ajax/ajax_info.txt. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #10 from ocean04(a)suomi24.fi 2012-01-09 16:23:13 CST --- 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? Example works if set This->async=VARIANT_FALSE; -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #11 from Nikolay Sivov <bunglehead(a)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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #12 from ocean04(a)suomi24.fi 2012-03-30 00:13:51 CDT --- Example now uses msxml in builtin iexplore, and works if this patch is also included: http://source.winehq.org/patches/data/82922 It's "bool 0" case, but anyway.. I can't test Microsoft.XMLHTTP, I always get "Filename missing" problem -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Kyle Auble <randomidman48(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |randomidman48(a)yahoo.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #13 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-12-07 05:40:13 CST --- (In reply to comment #12)
Example now uses msxml in builtin iexplore, and works if this patch is also included:
http://source.winehq.org/patches/data/82922
It's "bool 0" case, but anyway..
I can't test Microsoft.XMLHTTP, I always get "Filename missing" problem
Requesting site uri is implemented now: http://source.winehq.org/git/wine.git/?a=commit;h=36a47dd0f2493ce5e0fcc594ac... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #14 from ocean04(a)suomi24.fi 2012-12-07 07:38:37 CST --- Microsoft.XMLHTTP case now works both builtin iexplore and IE8 (from winetricks) But this new XMLHttpRequest(); still fails in IE8 (with builtin msxml). And is still unimplemented in builtin iexplore bug 29583 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 --- Comment #15 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-12-07 08:00:13 CST --- (In reply to comment #14)
But this new XMLHttpRequest(); still fails in IE8 (with builtin msxml). And is still unimplemented in builtin iexplore bug 29583
That's covered by bug 29583. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=29583 Resolution| |FIXED --- Comment #16 from Nikolay Sivov <bunglehead(a)gmail.com> 2012-12-24 23:26:58 CST --- I'm marking this fixed as we have a separate bug for "new XMLHttpRequest();" way to create request object. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Alexandre Julliard <julliard(a)winehq.org> 2013-01-04 15:00:55 CST --- Closing bugs fixed in 1.5.21. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=29574 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |36a47dd0f2493ce5e0fcc594ace | |17933c1dbf3d3 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=29574 Kyle Auble <kyle.auble(a)zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|kyle.auble(a)zoho.com | -- 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.
participants (1)
-
wine-bugs@winehq.org