mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1388738 - add comment for devtools-startup developerToggleCreated flag;r=ochameau
MozReview-Commit-ID: FN4YuM7VpHf --HG-- extra : rebase_source : f8adaedf6511ce2ed4ffd493afbffca64337f01f
This commit is contained in:
parent
62b13a707c
commit
c6f19f876e
@ -238,6 +238,9 @@ DevToolsStartup.prototype = {
|
||||
// Key Shortcuts need to be added on all the created windows.
|
||||
this.hookKeyShortcuts(window);
|
||||
|
||||
// In some situations (e.g. starting Firefox with --jsconsole) DevTools will be
|
||||
// initialized before the first browser-delayed-startup-finished event is received.
|
||||
// We use a dedicated flag because we still need to hook the developer toggle.
|
||||
if (!this.developerToggleCreated) {
|
||||
this.hookDeveloperToggle();
|
||||
this.developerToggleCreated = true;
|
||||
|
Loading…
Reference in New Issue
Block a user