Sign in or 

|
evolanding |
Javascript errors in IE6 and Opera 9.51
Jul 17 2008, 7:44 PM EDT
For reference, the problem can be viewed at http://www.bmwmonthly.com/wiki.The menu on the right has an 'edit page' button, which causes problems when clicked. In FF2, FF3, and IE7, it works fine. The spinner pops up, loads, and then the 'you need to login' box appears. On IE6, an error was generated, saying 'permission denied' and nothing else, so i couldn't really troubleshoot it. It just hung at the spinner screen. In Opera, it generated the following errors: Timeout thread: delay 0 ms Error: name: Error message: SYNTAX_ERR stacktrace: Line 936 of linked script http://wapi.wetpaint.com/JavaScriptService/getJSApplication.do?version=20080702154624 for(var rl=0;rl<fi.length-1;rl++) styleSheet.insertRule(fi[rl]+'}',styleSheet.cssRules.length); Line 1600 of linked script http://wapi.wetpaint.com/JavaScriptService/getJSApplication.do?version=20080702154624 WPC.ph.Bh("editor"); Line 1869 of linked script http://wapi.wetpaint.com/JavaScriptService/getJSApplication.do?version=20080702154624: In function Bx if(cv.onreadystatechange) cv.onreadystatechange(cv); Line 897 of linked script http://wapi.wetpaint.com/JavaScriptService/getJSApplication.do?version=20080702154624 function(){uX(QX,tT);} ... In Opera, it continued past this, and popped up the 'you arent logged in blah blah' box. And now, IE6 is crashing instead of yielding an error. It's pretty brutal. Anyone have any ideas? Do you find this valuable?
Keyword tags:
crash
errors
ie6
javascript
permission denied
|
|
devin_wetpaint |
1. RE: Javascript errors in IE6 and Opera 9.51
Jul 22 2008, 1:58 PM EDT
Whoa.. this is strange behavior. I haven't been able to repro this on IE6 (6.0.2900.2180.xpsp_sp2_qfe.070227-2300) at http://www.bmwmonthly.com/wiki . The Permission Denied error sounds like it could be a XSS issue, but it's equally likely to be some DOM manipulation that isn't allowed to occur. Our platform does not support the Opera web browser, so large components of its functionality will be absent or broken. I've asked our QA team to take some time and look at http://www.bmwmonthly.com/wiki in IE6. I'll let you know what they come up with.- DC Do you find this valuable? |
|
evolanding |
2. RE: Javascript errors in IE6 and Opera 9.51
Jul 24 2008, 7:50 PM EDT
The reason for the IE6 crashing was because of a second external script file containing the following lines:if( window.WPCAPI ) { WPCAPI.setBackgroundColor("#ffffff"); WPCAPI.setBorderBevelColor("#cccccc"); WPCAPI.setBorderColor("#999999"); } I don't know why this crashed IE6, but with 100% reproducability, I have determined this to be the cause. Removing it fixed all the problems on the dev site, and we are propogating the changes to the live sites soon. Any idea why this would break things? It was being called after the clientside setting of the devkey and the namespace. Do you find this valuable? |
|
devin_wetpaint |
3. RE: Javascript errors in IE6 and Opera 9.51
Jul 24 2008, 8:40 PM EDT
The style customization setters actually propagate and are dynamically inserted as CSS rules into the page. We've done some thorough testing with this technique on IE6/IE7/FF2/FF3/SF3... I'll have a crack at it in the morning on my VM and see if I can't get it to bail out on me. My guess is a conflict with a browser security setting, but at this point it's impossible to be sure.We're hearing about this at http://www.wetpaintinjected.com/thread/1687625/IE6+crashing+on+%22Edit%22 , but it only seems to affect non-VM installations of Windows. Is the IE6 you're using for testing on a VM? - DC Do you find this valuable? |
|
evolanding |
4. RE: Javascript errors in IE6 and Opera 9.51
Jul 24 2008, 9:58 PM EDT
It was on VM and non-VM. The code will not be reproducible on our sites now, as the javascript has been taken out in the interest of stability.
Do you find this valuable?
|