Hi Koen

Apologies again for falling out of this message loop for some time...

>That is strange, have you ruled out that you are not still using the
>old unpatched version of Wt ?

I have now set up witty from the git repository so hopefully, there will not 
be issues with patches that have been left out. I am now able to replicate 
the same error in Ubuntu 10.4/Chromium 6.0.xx and in Vista/Chrome 6.0.495

>One possibility is to build a Debug version of the library, in that
>way the non-minified JavaScript is used, and in this way we will get
>meaningful line numbers in firefox. You can then also enable debugging
>in /etc/wt/wt_config.xml and debug the JavaScript error using Firebug.
>
>You need set CMAKE_BUILD_TYPE:String=Debug in the CMakeCache.txt of Wt
>and re-run make.

I have now done this as suggested and with that obtained the following:

In Chrome, in developer mode/scripts panel, when I set it to pause on all 
exceptions, it pauses at the following line:

if(document.styleSheets)for(var e=0;e<document.styleSheets.length;e++){var 
k=document.styleSheets[e],i=0,n=false;do{if((n=k.cssRules?k.cssRules[i]:k.rules[i])&&n.selectorText)if(n.selectorText.toLowerCase()==a)if(b=="delete"){k.cssRules?k.deleteRule(i):k.removeRule(i);return
 
true}else return n;++i}while(n)}return 
false};this.removeCssRule=function(a){return 
h.getCssRule(a,"delete")};this.addStyleSheet=function(a,b){if(document.createStyleSheet)setTimeout(function(){document.createStyleSheet(a)},15);

when I step-over to the next line, an exception is thrown:

Uncaught TypeError: Cannot read property '0' of null
getCssRule/?wtd=MdOO46BpwTkkZcDP&request=script&rand=464055:144
(anonymous function):1
q/?wtd=MdOO46BpwTkkZcDP&request=script&rand=464055:163
D/?wtd=MdOO46BpwTkkZcDP&request=script&rand=464055:163
recvCallback/?wtd=MdOO46BpwTkkZcDP&request=script&rand=464055:201

I was not able to get Firebug to pause at the exception in Vista/Firefox, 
with Firebug enabled, when I tried to login, the page just appears to stall 
where the top-right Loading... indicator is shown with little other 
activity.


>
>Since most browsers complain, there is definitely something particular
>about what you are trying to do -- could you hint to anything special
>about it, or, provide a trimmed down test case ?

This may take some time... but if the further details on the javascript 
errors encountered above does not shed any light, I'll attempt to do this.

Many thanks again.

Calvin 



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to