Closed Bug 766535 Opened 13 years ago Closed 13 years ago

[devtb] this.DeveloperToolbar is undefined when starting Firefox with toolbar previously visible

Categories

(DevTools :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: paul, Unassigned)

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(1 file, 3 obsolete files)

No description provided.
Attached patch s/this/window/ (obsolete) — Splinter Review
Attached patch v1 (obsolete) — Splinter Review
Attachment #634872 - Attachment is obsolete: true
Attachment #634875 - Flags: review?(gavin.sharp)
Attachment #634872 - Flags: review+
Attachment #634872 - Flags: review+
This will cause the DeveloperToolbar to be instantiated every startup - move the DeveloperToolbar reference after the pref check.
Comment on attachment 634875 [details] [diff] [review] v1 >+ if (window.DeveloperToolbar && Why would DeveloperToolbar be null/undefined?
Attached patch v1.1 (obsolete) — Splinter Review
Attachment #634875 - Attachment is obsolete: true
Attachment #634875 - Flags: review?(gavin.sharp)
Comment on attachment 634894 [details] [diff] [review] v1.1 testing window.DeveloperToolbar is useless.
Attachment #634894 - Flags: review?(dao)
Comment on attachment 634894 [details] [diff] [review] v1.1 remove "window.", it's redundant
Attachment #634894 - Flags: review?(dao) → review+
Attached patch v1.1 - to landSplinter Review
Attachment #634894 - Attachment is obsolete: true
Whiteboard: [land-in-fx-team]
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: