3 Replies Latest reply on Jul 16, 2015 8:50 AM by Michal Petrov

    rich:calendar crashes IE 11 under Windows 10

    mister_s Newbie

      I'm running my application, which uses RF 4.1.0, in the technical preview Version of Windows 10 in IE 11 (version 11.0.9800.0). Everything works fine, except the "Today" button of the rich:calendar popup.

      I can reproduce it using the following xhtml:


      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
        function changeHandler() {
             return false;
        <rich:calendar onchange="alert('foo');" />


      Steps taken:


      1. Open the file in IE 11
      2. Open the calendar popup, choose a day not equal to "today"
        • The change-handler fires, the alert is shown
      3. Open the calendar popup again, click "Today"
        • IE crashes without showing the popup.


      Here's a screencap: Webm.Host - IE11 crash


      This seems to be a timing problem. If I set a breakpoint in IE's debugger on line #18 (i.e. right before the alert), the crash won't happen! Btw: I'm using a separate function just to be able to set a breakpoint, IE will crash if I put the call to alert directly as the "onchange" attribute, too.


      The whole problem is client-side only. Attached is a zip with all the files needed (basically: the rendered HTML file and the JS code of RichFaces). Also other Versions of IE 11 under Windows 7 work fine, too.


      Any ideas a) what causes the crash b) why setting a breakpoint prevents it and c) how to properly fix the error?