Can't execute code from a freed script

前端 未结 4 650
挽巷
挽巷 2021-01-21 05:51

I have a function that in a different frame that I need to override. In addition, I need to call the original function from within my override. To do so, I\'m using the followin

4条回答
  •  时光取名叫无心
    2021-01-21 06:43

    You cannot do that in IE, you've discovered. You need to make sure that any objects you pass between frames are native things like strings. Even "Date" instances have caused me problems, though that was on obscure versions of Windows 2000 back in the day.

    By "freed script" what IE means is that your the page context where an object was "born" has been overwritten by a new page.

提交回复
热议问题