Closed Bug 1516287 Opened 10 months ago Closed 10 months ago

Today pane frequently fails to initialise

Categories

(Calendar :: Lightning Only, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

Using Thunderbird 65 beta 1, I frequently get this error at start-up, and the Today Pane doesn't show:

>  InvalidAccessError: A parameter or an operation is not supported by the underlying object calendar-views.js:466 

This is the part that loads calendar colours into a stylesheet. I think it might be happening too early because the same code can run again later with no problem.
I've used this pattern in the other two places we add rules to a stylesheet, but not this one, apparently.
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9033257 - Flags: review?(philipp)
Comment on attachment 9033257 [details] [diff] [review]
1516287-category-colour-1.diff

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

Would feel more comfortable if there was an if() that checks for a certain exception and re-raises if not, but I guess its ok without as well.
Attachment #9033257 - Flags: review?(philipp) → review+
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e8fcc4360ac4
Wait for stylesheet to load before adding category colours. r=philipp
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Keywords: checkin-needed
Resolution: --- → FIXED
Attachment #9033257 - Flags: approval-calendar-beta?(philipp)
Target Milestone: --- → 6.8
Attachment #9033257 - Flags: approval-calendar-beta?(philipp) → approval-calendar-beta+
You need to log in before you can comment on or make changes to this bug.