Closed Bug 1556034 Opened 5 years ago Closed 5 years ago

Fix some Calendar errors in the error console

Categories

(MailNews Core :: XUL Replacements, defect)

defect
Not set
normal

Tracking

(thunderbird68 fixed, thunderbird69 fixed)

RESOLVED FIXED
Thunderbird 69.0
Tracking Status
thunderbird68 --- fixed
thunderbird69 --- fixed

People

(Reporter: jorgk-bmo, Assigned: darktrojan)

References

Details

Attachments

(2 files)

Attached image calendar errors.png

I'm using TB 68 and the error console looks just terrible, see enclosed.

Can all these be safely ignored?

On trunk it looks much better. So what's going on in the beta that will be the next ESR?

Flags: needinfo?(geoff)

On trunk I've also seen an error from the removeObserver() here:
https://searchfox.org/comm-central/rev/d3a0f4232bb7b703258d7687572f7ade075c6401/calendar/base/content/today-pane.js#65
but right now I can't reproduce it.

There's also a lot of errors like this one:
TypeError: this.tree is null calendar-unifinder.js:486:9

I suggest you get a beta build from the tree and see for yourself.

At least some of these are caused by the overlay loader running a second time on a document. This seems to be happening a lot in the last week or so. I think I've found a reason why.

The others I don't recognise at all, and I haven't managed to reproduce them.

Overlays.load could be called once when readyState was loading, and then again when it changed to interactive. No idea why I'm seeing it more often recently.

Assignee: nobody → geoff
Status: NEW → ASSIGNED
Flags: needinfo?(geoff)
Attachment #9069323 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9069323 [details] [diff] [review]
1556034-repeat-overlay-1.diff

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

I assume the loading documents would get some later?
Attachment #9069323 - Flags: review?(mkmelin+mozilla) → review+
Comment on attachment 9069323 [details] [diff] [review]
1556034-repeat-overlay-1.diff

Not really a Calendar fix, so I'm approving this here myself.
Attachment #9069323 - Flags: approval-calendar-beta+

I'll land and uplift this, then we'll see which errors are left.

Keywords: leave-open
Target Milestone: --- → 7.1
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/3adb373a816a
Prevent overlays from being applied when document.readyState is "loading". r=mkmelin

TB 68 beta:
https://hg.mozilla.org/releases/comm-beta/rev/e2b462f6e540fcafa3ace677674b62111d1d69cf

We'll see into which product/component this bug should go when we're done.

OK, some errors have disappeared from the beta, I'll let you know if I see more.

Or let's close it and open another more specific bug for other errors.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Component: General → XUL Replacements
Flags: approval-calendar-beta+
Keywords: leave-open
Product: Calendar → MailNews Core
Resolution: --- → FIXED
Target Milestone: 7.1 → Thunderbird 69.0
Attachment #9069323 - Flags: approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: