IE11中的reset()方法崩溃 [英] reset() method crash in IE11

查看:63
本文介绍了IE11中的reset()方法崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用javascript"reset()"时直接使用表单名称IE 11的方法因访问冲突而崩溃。

When I use the javascript "reset()" method directly using the form name IE 11 crashes with access violation.

示例代码:

<!DOCTYPE HTML>
<html>
<head>
	<title>CrashTest</title>

    <script type="text/javascript">
        function ResetForm() {
		captura.reset();
        }
    </script>
</head>
<body>
<form action="#" name="captura" autocomplete="off">
    <input type="text" id="txt1" /><br />
    <input type="text" id="txt2" /><br />
    <input type="text" id="txt3" /><br />
    <input type="text" id="txt4" /><br />
    <input type="text" id="txt5" /><br />
    <input type="button" value="Reset Form" onclick="ResetForm()" />
</form>
</body>
</html>

任何线索?

提前致谢!

IE 11版本11.0.9600.16476,Windows 7 64位(禁用兼容性视图)

IE 11 version 11.0.9600.16476 with Windows 7 64-bit (Compatibility view disabled)

推荐答案

如果你使用< input type =" reset"会发生什么? /> (没有onclick处理程序)...

what happens if you use a <input type="reset" /> (with no onclick handler)...

我无法重现你的问题....

I cannot reproduce your issue....

解决IE问题的第一步是测试在noaddons模式下......你有RoboForm或谷歌工具栏吗?

the first step in troubleshooting IE issues is to test in noaddons mode... Do you have RoboForm or the Google toolbar installed?

好的我转载了这个错误:

Ok I reproduced this error:

日志名称:   ;&NBSP;&NBSP;&NBSP;申请

来源:       应用程序错误

日期:          5/02/2014 11:26:50 AM
活动编号:      1000

任务类别:(100)

级别:        错误

关键字:     经典

用户:          N / A

电脑:      Wollongong

描述:

错误应用程序名称:IEXPLORE.EXE,版本:11.0.9600.16428,时间戳:0x525b664c

错误模块名称:MSHTML .dll,版本:11.0.9600.16476,时间戳:0x52947390

异常代码:0xc0000005

故障偏移:0x0026ca5c

错误进程id:0x414

错误的应用程序启动时间:0x01cf2169844dec37

错误的应用程序路径:C:\Program Files(x86)\ Internet Explorer \\\ SOFTPLORE.EXE

错误模块路径:C:\ Windows \system32 \ MSHTML.dll

报告ID:341c2943-8dfc-11e3-bb98-78acc0573470

事件Xml:

<事件xmlns =" http://schemas.microsoft.com / win / 2004/08 / events / event ">

  <系统>

    < Provider Name =" Application Error" />
$
    < EventID Qualifiers =" 0"> 1000< / EventID>

    < Level> 2< / Level>

    <任务> 100< /任务>

    < Keywords> 0x80000000000000< / Keywords>

    < TimeCreated SystemTime =" 2014-02-05T00:26:50.000000000Z" />
$
    < EventRecordID> 62528< / EventRecordID>

    <频道>申请< /频道>

    < Computer> Wollongong< / Computer>

    <安全/>

  < / System>

  < EventData>

    < Data> IEXPLORE.EXE< / Data>

    <数据> 11.0.9600.16428< /数据>

    <数据> 525b664c< /数据>

    < Data> MSHTML.dll< / Data>

    <数据> 11.0.9600.16476< /数据>

    <数据> 52947390< /数据>

    <数据> c0000005< /数据>

    <数据> 0026ca5c< /数据>

    <数据> 414< /数据>

    < Data> 01cf2169844dec37< / Data>

    <数据> C:\Program Files(x86)\ Internet Explorer \ IEXORE.EXE< / Data>

    < Data> C:\ Windows \ system32 \ MSHTML.dll< / Data>

    <数据> 341c2943-8dfc-11e3-bb98-78acc0573470< / Data>

  < / EventData>

< / Event>

Log Name:      Application
Source:        Application Error
Date:          5/02/2014 11:26:50 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Wollongong
Description:
Faulting application name: IEXPLORE.EXE, version: 11.0.9600.16428, time stamp: 0x525b664c
Faulting module name: MSHTML.dll, version: 11.0.9600.16476, time stamp: 0x52947390
Exception code: 0xc0000005
Fault offset: 0x0026ca5c
Faulting process id: 0x414
Faulting application start time: 0x01cf2169844dec37
Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
Faulting module path: C:\Windows\system32\MSHTML.dll
Report Id: 341c2943-8dfc-11e3-bb98-78acc0573470
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-02-05T00:26:50.000000000Z" />
    <EventRecordID>62528</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Wollongong</Computer>
    <Security />
  </System>
  <EventData>
    <Data>IEXPLORE.EXE</Data>
    <Data>11.0.9600.16428</Data>
    <Data>525b664c</Data>
    <Data>MSHTML.dll</Data>
    <Data>11.0.9600.16476</Data>
    <Data>52947390</Data>
    <Data>c0000005</Data>
    <Data>0026ca5c</Data>
    <Data>414</Data>
    <Data>01cf2169844dec37</Data>
    <Data>C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE</Data>
    <Data>C:\Windows\system32\MSHTML.dll</Data>
    <Data>341c2943-8dfc-11e3-bb98-78acc0573470</Data>
  </EventData>
</Event>

首次重置表单后,我将文本字段留空(从已完成的表单...所有文本字段包含文字)...

WHEN I leave textfields blank after first resetting the form (from a completed form... all text fields contain text)...

将反馈和错误报告发布到IETeam,网址为http://connect.microsoft.com/ie

Post feedback and bug reports to the IETeam at http://connect.microsoft.com/ie

我是非常确定存在关于同一问题的现有票证......但是我无法在连接上找到它...

I am pretty sure that there is an existing ticket about the same issue.... but I could not find it on connect...

解决方法是关闭IE的表格自动完成。

the workaround is to turn off IE's Form autocompletion.

但无论您的测试计划是否还应包括在noAddons模式下的测试。

but regardless your testing plans should also include testing in noAddons mode.

发布到 http://connect.microsoft.com/ie ,以便IETeam分类和其他测试人员确认问题。

Post to http://connect.microsoft.com/ie for the IETeam triage and other testers to confirm the issue.

Thx。


这篇关于IE11中的reset()方法崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆