如何禁用IE8脚本错误信息?

Fyb*_*ber 6 performance internet-explorer internet-explorer-8 coded-ui-tests

我在IE8上使用CodedUI,并收到此错误消息:

     Stop running this script?
     A script on this page is causing your web browser to run slowly.
     If it continues to run, your computer might become unresponsive.
Run Code Online (Sandbox Code Playgroud)

我已经阅读了一些论坛并执行了以下操作:工具> Internet选项>高级选项卡>浏览

  1. 选中"禁用脚本调试(Internet Explorer)"复选框
  2. 选中"禁用脚本调试(其他)"复选框
  3. 取消选中"显示有关每个脚本错误的通知"复选框

这条消息仍然出现......

有人可以帮助我吗?

Dam*_*uid 8

IE有一个注册表设置

错误消息:"此页面上的脚本导致Internet Explorer运行缓慢"

但这需要您更改每台客户端计算机和每个用户的注册表.

但是它允许您运行脚本,以便您可以对其进行分析并找出导致延迟的原因.

另请参阅此SO问题如何模拟MaxScriptStatements的效果(即防止"此页面上的脚本导致Internet Explorer运行缓慢")而不更改注册表?