mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927035 - Replace Data.now() in browser/devtools/webconsole/hudservice.js with static counter. r=bbenvie
This commit is contained in:
parent
5d3ced4c07
commit
d4d7a18f02
@ -28,6 +28,8 @@ const BROWSER_CONSOLE_WINDOW_FEATURES = "chrome,titlebar,toolbar,centerscreen,re
|
||||
// The preference prefix for all of the Browser Console filters.
|
||||
const BROWSER_CONSOLE_FILTER_PREFS_PREFIX = "devtools.browserconsole.filter.";
|
||||
|
||||
let gHudId = 0;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
//// The HUD service
|
||||
|
||||
@ -301,7 +303,7 @@ function WebConsole(aTarget, aIframeWindow, aChromeWindow)
|
||||
{
|
||||
this.iframeWindow = aIframeWindow;
|
||||
this.chromeWindow = aChromeWindow;
|
||||
this.hudId = "hud_" + Date.now();
|
||||
this.hudId = "hud_" + ++gHudId;
|
||||
this.target = aTarget;
|
||||
|
||||
this.browserWindow = this.chromeWindow.top;
|
||||
|
Loading…
Reference in New Issue
Block a user