If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Win7 related errors on browser startup.

VERIFIED FIXED in Firefox 3.7a1

Status

()

Firefox
General
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: Natch, Assigned: jimm)

Tracking

({verified1.9.2})

Trunk
Firefox 3.7a1
x86
Windows Vista
verified1.9.2
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(status1.9.2 beta1-fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

8 years ago
Error: Cc[WINTASKBAR_CONTRACTID] is undefined
Line: 2533
Source File: chrome://browser/content/browser.js
________________________________________

Warning: reference to undefined property Cc[WINTASKBAR_CONTRACTID]
Line: 2533
Source File: chrome://browser/content/browser.js

I get these errors/warnings when I startup on trunk.
(Reporter)

Comment 1

8 years ago
That was added by Rob Arnold in bug 474056.
Blocks: 474056
Do taskbar previews work for you?   See bug 520801.
(Assignee)

Comment 3

8 years ago
Created attachment 405164 [details] [diff] [review]
components check v.1
(Assignee)

Updated

8 years ago
Attachment #405164 - Flags: review?(gavin.sharp)
Comment on attachment 405164 [details] [diff] [review]
components check v.1

>diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js

>+  if (!(WINTASKBAR_CONTRACTID in Cc))
>+    return { onOpenWindow: function () {}, onCloseWindow: function () {} };
>+
>   let taskbar = Cc[WINTASKBAR_CONTRACTID].getService(Ci.nsIWinTaskbar);
>   if (taskbar.available) {

I'd prefer:

if (WINTASKBAR_CONTRACTID in Cc &&
    Cc[WINTASKBAR_CONTRACTID].getService(Ci.nsIWinTaskbar).available) {
Attachment #405164 - Flags: review?(gavin.sharp) → review+
(Assignee)

Comment 5

8 years ago
Created attachment 405166 [details] [diff] [review]
components check
Assignee: nobody → jmathies
Attachment #405164 - Attachment is obsolete: true
(Assignee)

Updated

8 years ago
Attachment #405166 - Flags: approval1.9.2?
(Assignee)

Comment 6

8 years ago
http://hg.mozilla.org/mozilla-central/rev/63c6082e6230
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Comment on attachment 405166 [details] [diff] [review]
components check

a192=beltzner
Attachment #405166 - Flags: approval1.9.2? → approval1.9.2+
(Assignee)

Comment 8

8 years ago
(In reply to comment #7)
> (From update of attachment 405166 [details] [diff] [review])
> a192=beltzner

http://hg.mozilla.org/releases/mozilla-1.9.2/rev/98bdd45f7c91
(Reporter)

Updated

8 years ago
status1.9.2: --- → beta1-fixed
Flags: in-testsuite-
(Reporter)

Comment 9

8 years ago
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091008 Minefield/3.7a1pre
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2b1pre) Gecko/20091008 Namoroka/3.6b1pre

V. Fixed. I get no errors now.
Status: RESOLVED → VERIFIED
Keywords: verified1.9.2
Target Milestone: --- → Firefox 3.7a1
You need to log in before you can comment on or make changes to this bug.