Thursday, May 3, 2012

IE 8/9 Not Enough Space Issue

We had an interesting bug report come in today. One of our customers who is stuck using IE8, reported that the spell checker in our rich text editor was causing the browser to lock up.

We are using CKEditor with the SSL Web Spell Checker product. So first thing I did was fire up IE, and test it out. I was greeted with a Javascript error of "Not enough storage is available to complete this operation." I verify my machine has 4GB of memory, plenty of disk space, paging file etc. Everything seems fine.

So I launch into the debugger and am greeted with: this.$.createStyleSheet(h)

The lightbulb went off in my head. This page is compromised of many small user controls written in ASP.Net. Sometimes our developers will put their style blocks in the control since they are building at a component level. IE stops processing style tags after the 31st. I guess it also causes an exception to be thrown if you try and add one and your past that point.

Just one more reason, I am pushing our customers to Chrome

No comments: