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

          Brad Kroeger created issue -
          Brad Kroeger made changes -
          Field Original Value New Value
          Link This issue duplicates ICE-5988 [ ICE-5988 ]
          Brad Kroeger made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Brad Kroeger made changes -
          Link This issue blocks IPCK-182 [ IPCK-182 ]
          Brad Kroeger made changes -
          Summary ICEfaces2.0 Facelets ui:debug tag causes out-of-memory error with IE8 ICEfaces2.0 Facelets ui:debug tag causes out-of-memory error with IE
          Environment ICEfaces 2, JSF 2.1.0 b09, IE8 ICEfaces 2, JSF 2.1.0 b09, IE
          Salesforce Case []
          Brad Kroeger made changes -
          Salesforce Case []
          Description When pressing keys in our composite component showcase in IE8 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.
          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.
          Ken Fyten made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: