ICEfaces
  1. ICEfaces
  2. ICE-6455

ICEfaces2.0 Facelets ui:debug tag causes out-of-memory error with IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2, JSF 2.1.0 b09, IE
    • Workaround Exists:
      Yes
    • Workaround Description:
      Remove <ui:debug hotkey="s" rendered="true"/>

      Description

      When pressing keys in our composite component showcase in IE we are getting a popup "Message from webpage" "Out of memory at line: 140".

      The Developer Tools javascript debugger breaks with an Out of memory error in the following code:

      <span id="debugPanel"><script language="javascript" type="text/javascript">//<![CDATA[
      function faceletsDebug(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left = 240,top = 212');"); };var faceletsOrigKeyup = document.onkeyup; document.onkeyup = function(e) { if (window.event) e = window.event; if (String.fromCharCode(e.keyCode) == 'S' & e.shiftKey & e.ctrlKey) faceletsDebug('/component-showcase/showcase.jsf?facelets.ui.DebugOutput=1294359175693'); else if (faceletsOrigKeyup) faceletsOrigKeyup(e); };
      //]]>

      And highlights faceletsOrigKeyup(e)

      Once I commented out <ui:debug hotkey="s" rendered="true"/>, the error no longer occurred.

        Issue Links

          Activity

          Hide
          Brad Kroeger added a comment -

          Similar to this issue with IE6

          Show
          Brad Kroeger added a comment - Similar to this issue with IE6
          Hide
          Brad Kroeger added a comment -

          Patrick tested this with all versions of IE

          Show
          Brad Kroeger added a comment - Patrick tested this with all versions of IE
          Hide
          Ken Fyten added a comment -

          This issue is caused by a JSF bug, see details in ICE-5988.

          Show
          Ken Fyten added a comment - This issue is caused by a JSF bug, see details in ICE-5988 .

            People

            • Assignee:
              Ken Fyten
              Reporter:
              Brad Kroeger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: