goupviet / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

safari 1.3.2 (Panther) throws error "RangeError - Maximum call stack size exceeded" on DOMContentLoaded #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
code: 
base2.DOM.bind(document);
document.addEventListener('DOMContentLoaded',function(e){}, false );

hint: call stack size is only 100 on safari, 1000 on firefox.

Original issue reported on code.google.com by goo...@ichwelt.de on 2 Apr 2007 at 7:07

GoogleCodeExporter commented 9 years ago
Sorry, this does not apply to
"document.addEventListener('DOMContentLoaded',function(e){}, false );" but to
"base2.DOM.bind(document);" itself. 

Original comment by goo...@ichwelt.de on 2 Apr 2007 at 7:12

GoogleCodeExporter commented 9 years ago
> hint: call stack size is only 100 on safari, 1000 on firefox.

The point is that it is looping too much! :-)  I've now fixed this and will 
check in
soon.

Original comment by dean.edw...@gmail.com on 1 May 2007 at 8:04

GoogleCodeExporter commented 9 years ago
Fixed in trunk and reflected in libs/ directory.

Original comment by dean.edw...@gmail.com on 2 May 2007 at 3:28

GoogleCodeExporter commented 9 years ago

Original comment by doek...@gmail.com on 14 Jul 2007 at 6:48