 +    this.term.setAttribute("flex", "1");
 +    this.term.appendChild(inputStack);
    },
- 
+
    get inputValue()
    {
      return this.inputNode.value;
    },
- 
+
    attachUI: function JSTF_attachUI()
 @@ -5513,19 +5566,18 @@ ConsoleUtils = {
     * @return nsIDOMNode

   function HUD_createConsoleInput(aWindow, aParentNode, aExistingConsole)
   {
     var context = Cu.getWeakReference(aWindow);
 
+    this.usegcli = false;
+    try {
+      this.usegcli = Services.prefs.getBoolPref("devtools.gcli.enable");

+    if (typeof aBody != "string" && aClipboardText == null) {
+      aClipboardText = aBody.innerText;
     }

     // Make the icon container, which is a vertical box. Its purpose is to
     // ensure that the icon stays anchored at the top of the message even for
     // long multi-line messages.
     let iconContainer = aDocument.createElementNS(XUL_NS, "xul:vbox");
     iconContainer.classList.add("webconsole-msg-icon-container");

@@ -5545,18 +5597,23 @@ ConsoleUtils = {
     bodyNode.setAttribute("flex", "1");
     bodyNode.classList.add("webconsole-msg-body");

     // If a string was supplied for the body, turn it into a DOM node and an
     // associated clipboard string now.
     aClipboardText = aClipboardText ||
