Closed
Bug 1232216
Opened 9 years ago
Closed 9 years ago
test_timezone_definition.js only tests every second timezone/alias
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
4.7
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file)
1.46 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
From the test:
> while (aliases.hasMore()) {
> foundAlias = true;
> resolveAlias(aliases.getNext());
> aliases.getNext();
> }
There's two calls to getNext, which not only skips half of the aliases, it breaks if there is an odd number of them. I've removed this second call from the loop in zone_test with https://hg.mozilla.org/comm-central/rev/5f239d0dd5b6 to fix bustage, but doing so in alias_test exposes a failure:
> JavaScript Error: "Couldn't find America/Indianapolis"
Assignee | ||
Comment 1•9 years ago
|
||
That turned out to be easier to debug than I expected.
Updated•9 years ago
|
Attachment #8697899 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.7
You need to log in
before you can comment on or make changes to this bug.
Description
•