Hi guys. I've been tracking why the IncludePlugin [1] doesn't work with Opera but it went a bit too deep, so now I need help of the true developers' power :)
The tracking can can be viewed in [2]. I just added some displayMessage(...) lines (commented with "YL debug") to the code and figured that the onLoad function is called with an empty 3d parameter (responseText) which is not correct (as I understand from the comparison with the FireFox 4's behavior, it should be the text of the included TW file). Now, where onLoad is called? It is passed to the loadRemoteFile as the 2d parameter. So, we go to the core code. Definition of loadRemoteFile [3] shows that it just calls httpReq [4]. But this one is tough. First, it's the core, so it's quite inconvenient to modify and test in right in browser (I'm not familiar with TW and js developer tools yet aside Notepad++), second, it has a load of params and I'm not sure how to test the whole thing in vacuum, without the IncludePlugin, and third, it calls setRequestHeader and some jQuery methods, so it is presumably easier for DevWizards to figure what's the problem. / Opera has some other problems (with import [5], Plugin: jsMath [6]) and it'll be good if any of them appear to be connected with this so that it would be possible to handle some others too. \ So, any suggestions how to test httpReq in Opera? Or perhaps someone experienced can do this? Thanks in advance, Yakov. [1] http://tiddlywiki.abego-software.de/#IncludePlugin [2] http://yl-materials.tiddlyspace.com/#TrackingIncludePluginErrorInOpera [3] http://www.tiddlytools.com/insideTW/#loadRemoteFile [4] http://svn.tiddlywiki.org/Trunk/core/js/Http.js [5] https://groups.google.com/group/tiddlywiki/browse_thread/thread/628ae4abdc7a95ec?hl=ru [6] couple of words here: http://groups.google.com/group/tiddlywiki/browse_thread/thread/5cd8ee8b2bd32e63 ; in fact, the lines 4-7 (definition of ajax) should be studied [7]; the problem is presumably with XMLHttpRequest [7] http://bob.mcelrath.org/tiddlyjsmath.html -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
