Closed Bug 440126 Opened 16 years ago Closed 16 years ago

Error during timezone guessing [ReferenceError: navigator is not defined]

Categories

(Calendar :: Internal Components, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

References

Details

(Keywords: regression)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16pre) Gecko/2008061810 Calendar/0.9pre

Steps to Reproduce:
1. Create new profile and start Sunbird
2. Check Error Console

Actual Results:

Error: Skipping Operating System timezone '(null)'. ReferenceError: navigator is not defined
Source File: file:///[...]/js/calTimezoneService.js
Line: 731
Flags: blocking-calendar0.9+
Attached patch Fix v1Splinter Review
There is obviously no navigator in a component. The navigator gets the info from the http protocol handler.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #326668 - Flags: review?(mschroeder)
Comment on attachment 326668 [details] [diff] [review]
Fix v1

r=mschroeder
Attachment #326668 - Flags: review?(mschroeder) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → 0.9
Verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16pre) Gecko/2008062521 Calendar/0.9pre.

Verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.1pre) Gecko/2008062518 Calendar/0.6a1.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.