Out of Stack Space on IE 7 and 8
I'm getting an "Out of Stack Space" error in IE7 and 8 when using a number input and webshims. If I remove the call to $.webshims.polyfill() the error doesn't occur anymore. Has anyone come across this?
I couldn't reproduce this. Can you give a testcase? You can also mail me.
Yeah I've been trying to repro in a new project and can't. There must be something else going on in the page that is having some negative side-effect.
Yes, there might be some issues with other scripts, but I need to see it, to know, wether it is a bug in webshims or not. It would really help me to get this testcase, even if it is a little bit more code.
I'll see if I can track down the offending code. If I can find it I'll provide you with it.
I'm pretty much 100% sure that this issue has nothing to do with webshims. For whatever reason, the number input has 4 change handlers on the page I'm looking at. I haven't been able to identify where they are all coming from. In addition, I added a number input on another page and the error doesn't occur.
So I finally tracked down the issue. I had the call to $.webshims.polyfill() in a div that was being used as an overlay (from jquery tools). Apparently the code was being executed when the page was rendered (as expected) but was being executed again when the overlay was actually opened. I think the issue is that webshims was applying multiple change handlers to the input.
Ok, thanks, could you still give me a testcase. It doesn't need to be simplified and if you mail me it stays private :-).
No problem. I just emailed it to you. Let me know if you have any issues or questions. If you don't mind, could you let me know if/how you fix it?
Thanks, Mike