Closed
Bug 308835
Opened 19 years ago
Closed 19 years ago
calendar magic style sheet not being populated
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dmosedale, Assigned: dmosedale)
Details
Attachments
(2 files)
|
1.50 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.89 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
For some time, I've been seeing complaints about the calendar pref style sheet not being found. Turns out this was a race: the code that does the setup was sometimes running before the stylesheet was available to the DOM. Solved by creating a general load listener, consolidating a bit of other code into that, and not doing the stylesheet setup until then.
| Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 196337 [details] [diff] [review] use load listener, v1 Bah. I'm seeing the race again. So apparently I just thought this patch fixed it, when in fact I coincidentally won the race a bunch of times in a row while testing.
Attachment #196337 -
Flags: first-review?(shaver)
| Assignee | ||
Comment 3•19 years ago
|
||
The race seems to be of a different nature than I thought. According to DOMI, on runs when I see that error message, it's not that the stylesheet shows up late; in fact, it's not showing up at all.
Comment 4•19 years ago
|
||
I'm pretty sure this is the solution we agreed on in IRC.
Attachment #197132 -
Flags: first-review?(shaver)
Comment 5•19 years ago
|
||
Comment on attachment 197132 [details] [diff] [review] get chrome stylesheet Hrm. I think I'd prefer to either do a full-URL match, or just give that stylesheet the title we were using before. Though, honestly, we could just grab the last stylesheet and use it, and lose only some debugging juice. r=shaver with whatever of those paths you take. Wish I knew why we had that problem, though. =/
Attachment #197132 -
Flags: first-review?(shaver) → first-review+
Comment 6•19 years ago
|
||
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
QA Contact: shaver → lightning
You need to log in
before you can comment on or make changes to this bug.
Description
•