Can't execute code from a freed script - IE6 IE7 IE8 IE9

前端 未结 3 957
甜味超标
甜味超标 2020-12-19 05:30

I ran into this problem today in IE6 (but is reproducible on all recent version of IE).

I noticed quite a few people run into this problem and I haven\'t seen a very

3条回答
  •  感动是毒
    2020-12-19 06:02

    If you have page that uses several Frames, this error might be caused by objects initialized in one frame being used in some other frame after the initial frame was removed from the page.

    When that happens, then depending on situation, you might want to:

    • Review your code looking for potential memory leaks
    • If those object represent some data you do actually want passed between frames, then consider using their stringified form instead.

提交回复
热议问题