Closed Bug 728662 Opened 12 years ago Closed 11 years ago

Error: document.getElementById("sep-window-list") is null

Categories

(Thunderbird :: Mail Window Front End, defect)

11 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 27.0

People

(Reporter: Nomis101, Assigned: aceman)

Details

Attachments

(1 file)

In the error console in Thunderbird 11 I see:

Error: document.getElementById("sep-window-list") is null
Source File: chrome://messenger/content/hiddenWindow.js
Line: 46
I think I have seen this somewhere. Can you tell what you were doing when the error comes up? Does it happen in TB13?
(In reply to :aceman from comment #1)
> Can you tell what you were doing when
> the error comes up? 
Nothing specific, I have this everytime. If you want some STR, than: Start Thunderbird --> Open the error console

(In reply to :aceman from comment #1)
> Does it happen in TB13?
Yes, I also see it in the latest nightly.
I still can't see it anywhere. Does it still happen? Have you tried Thunderbird's Safe mode?
Try Help->Restart with addons disabled.
Ok, that element seems to be defined only /mozilla/toolkit/content/macWindowMenu.inc and is being overlaid on Mac.

http://mxr.mozilla.org/comm-central/search?string=sep-window-list&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central

At http://mxr.mozilla.org/comm-central/source/mozilla/browser/base/content/browser.js#1463 the attribute setting is dependent on being on Mac OS X.

In Seamonkey at http://mxr.mozilla.org/comm-central/source/suite/browser/navigator.js#1915 they set the attribute only if the element exists. So do the same in TB.
Assignee: nobody → acelists
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
So actually I should have seen the error on linux but I have not. Nomis101 filed it under Mac where I would expect the element to exist so no error should be produced. Strange. I'd like somebody with a Mac to check this out.
Attachment #789178 - Flags: review?(bwinton)
Attachment #789178 - Flags: feedback?(Nomis101)
I have no problem with your patch, no new error or whatsoever. But, I have checked and I don't see the reported error anymore in TB 23 and higher.
Attachment #789178 - Flags: feedback?(Nomis101) → feedback+
Comment on attachment 789178 [details] [diff] [review]
patch

Josiah, are you able to check this out on Mac?
Attachment #789178 - Flags: feedback?(josiah)
(In reply to :aceman from comment #8)
> Comment on attachment 789178 [details] [diff] [review]
> patch
> 
> Josiah, are you able to check this out on Mac?

I'm not seeing the error at all in the error console on OS X. So I can't really say if your patch it working.
Comment on attachment 789178 [details] [diff] [review]
patch

Review of attachment 789178 [details] [diff] [review]:
-----------------------------------------------------------------

Clearing review flag until more info is given on how to reproduce the error (If even possible).
Attachment #789178 - Flags: feedback?(josiah)
Comment on attachment 789178 [details] [diff] [review]
patch

Yeah, I can see how that happened.

The m-c version (at http://mxr.mozilla.org/comm-central/source/mozilla/browser/base/content/browser.js#1388 ) is wrapped in an "#ifdef XP_MACOSX" (at http://mxr.mozilla.org/comm-central/source/mozilla/browser/base/content/browser.js#1357 )

The rest of the cleanup is unnecessary, but seems harmless, so r=me.  ;)

Thanks,
Blake.
Attachment #789178 - Flags: review?(bwinton) → review+
Thanks!
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/fa422ca68f08
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 27.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: