[webkit-qt] jsMath behavior different on win vs. linux

Carter, Nathan NCARTER at bentley.edu
Mon Apr 12 18:06:31 PDT 2010


I've tracked down the difference I've been seeking.  jsMath functions in my Mac and Linux QtWebkits but not in my Windows one for the following reason:

jsMath loads its plugins using XMLHttpRequest, which is working just fine to load local files on Mac and Linux.  It is failing with network errors on Windows.  I've tried from the QtWebkit Web Inspector and manually constructed and sent XMLHttpRequest objects on Mac and Windows, and they work fine on Mac to load local files, but fail on Windows.

Any idea why this is happening?

Note:  I tried the solution at the URL below, and it didn't help.
	http://www.forum.nokia.com/forum/showthread.php?t=186338

Nathan

PS: I'm currently in the process of hacking in a replacement for XMLHttpRequest using addToJavaScriptWindowObject(), and then modifying jsMath so that it uses my replacement.  Inelegance, ho!



More information about the webkit-qt mailing list