TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

IE 11 Crashes After Clearing 5+ Input Elements

27 pointsby dahjelleover 11 years ago

11 comments

be5invisover 11 years ago
Well, I tried this in IE11 on Windows 7 x64, all three buttons works. IE11 still works.<p>screenshot: <a href="http://ww4.sinaimg.cn/large/798f7769gw1eceuea9cwhj211i0ox10b.jpg" rel="nofollow">http:&#x2F;&#x2F;ww4.sinaimg.cn&#x2F;large&#x2F;798f7769gw1eceuea9cwhj211i0ox10b...</a>
评论 #7036885 未加载
评论 #7036880 未加载
judahover 11 years ago
I&#x27;m running IE 11 here and couldn&#x27;t get it to crash, despite clearing the forms, focusing one of the text boxes, and beginning to enter data.
评论 #7036891 未加载
评论 #7036956 未加载
swehnerover 11 years ago
This sounds very much like the bug at <a href="http://connect.microsoft.com/IE/feedback/details/808033/ie11-two-reproducible-crashes-on-assigning-the-value-of-an-input-element-with-javascript" rel="nofollow">http:&#x2F;&#x2F;connect.microsoft.com&#x2F;IE&#x2F;feedback&#x2F;details&#x2F;808033&#x2F;ie11...</a><p>The (surprising) solution is to first assign a space character, then the empty string.<p>So (I&#x27;m guessing), in that <a href="http://jsfiddle.net/dahjelle/zVjfY/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;dahjelle&#x2F;zVjfY&#x2F;</a> code, change<p>field.value = clearValue;<p>to<p>field.value = &#x27; &#x27;; field.value = clearValue;
评论 #7038072 未加载
Piskvorrrover 11 years ago
Well, shit. And for a few short years, it seemed that IE has outgrown its monstrous reputation it had rightfully acquired in the 00s; nope, still the usual &quot;spend enormous time catering to my quirks&quot; IE. This makes me sad.
评论 #7036951 未加载
评论 #7036949 未加载
评论 #7036831 未加载
nticompassover 11 years ago
Tried this and it crashed for me on IE 11.0.9600.16476 (Update Versions: 11.0.2) on Windows 7.<p>Screenshot: <a href="http://i.imgur.com/oSi1rlL.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;oSi1rlL.png</a><p>Steps:<p>- Filled in all fields<p>- Clicked 1st clear button<p>- Clicked in 1st field<p>- Tried to type something
评论 #7036980 未加载
dahjelleover 11 years ago
We ran into this in out application the other day, and it&#x27;s a surprisingly &quot;normal&quot; thing to do to result in a hard crash of a browser.<p>I&#x27;m especially curious if anyone knows:<p>1. Is there any hope of this being fixed in the near-term? The MS bug report didn&#x27;t have much information. I&#x27;d sure like to avoid implementing the somewhat crazy workaround if I can help it.<p>2. It seems like this ought to be a pretty widespread problem. Are others seeing it? Are there other workarounds that aren&#x27;t so ugly?
iziettoover 11 years ago
It doesn&#x27;t work here :-( Win 8.1, IE 11.0.9431.228
评论 #7036931 未加载
评论 #7036929 未加载
dahjelleover 11 years ago
I was also able to reproduce this on all of the IE 11 instances on <a href="http://browserstack.com" rel="nofollow">http:&#x2F;&#x2F;browserstack.com</a>: Windows 8.1 desktop and metro and Windows 7.<p>I did notice that the crash very occasionally <i>didn&#x27;t</i> happen the first time, but did, perhaps, the second.
ignuover 11 years ago
personally, i think it&#x27;s adorable that microsoft keeps trying to make a web browser.
评论 #7037031 未加载
评论 #7037125 未加载
nticompassover 11 years ago
In case anyone is wondering, it doesn&#x27;t crash in IE 8! :-D
adrianlmmover 11 years ago
It didn&#x27;t crash for me.