Bug 691478 - JavaScript strict warning: resource:///modules/HUDService.jsm, line 5012: reference to undefined property this.lastInputValue; r=dcamp
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Wed, 21 Dec 2011 10:52:08 +0100
changeset 85024 93e89c2fd0964403d910f7b6df968e4f4e1c3220
parent 85023 52d25037c272a62341f3cd988f2f289585216be3
child 85025 4795500b7c1d62f7659c9cd2e0c26e8b7a705bd4
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdcamp
bugs691478
milestone12.0a1
Bug 691478 - JavaScript strict warning: resource:///modules/HUDService.jsm, line 5012: reference to undefined property this.lastInputValue; r=dcamp
browser/devtools/webconsole/HUDService.jsm
--- a/browser/devtools/webconsole/HUDService.jsm
+++ b/browser/devtools/webconsole/HUDService.jsm
@@ -1357,16 +1357,21 @@ function HUD_SERVICE()
    * Response headers for requests that haven't finished yet.
    */
   this.openResponseHeaders = {};
 };
 
 HUD_SERVICE.prototype =
 {
   /**
+   * Last value entered
+   */
+  lastInputValue: "",
+
+  /**
    * L10N shortcut function
    *
    * @param string aName
    * @returns string
    */
   getStr: function HS_getStr(aName)
   {
     return stringBundle.GetStringFromName(aName);