Closed Bug 463038 Opened 13 years ago Closed 13 years ago

Cap the number of watchPostion callbacks and the number of pending callbacks

Categories

(Core :: DOM: Geolocation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1

People

(Reporter: dougt, Assigned: dougt)

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

Since we are returning an int as the watchPosition result (something that can be passed to clearWatch), we need to cap the total number so that there isn't a problem.
Attached patch patch v.1Splinter Review
Attachment #346505 - Flags: superreview?(jst)
Attachment #346505 - Flags: review?(jst)
Attachment #346505 - Flags: superreview?(jst)
Attachment #346505 - Flags: superreview+
Attachment #346505 - Flags: review?(jst)
Attachment #346505 - Flags: review+
Flags: blocking1.9.1?
Flags: blocking1.9.1? → blocking1.9.1+
Target Milestone: --- → mozilla1.9.1
Comment on attachment 346505 [details] [diff] [review]
patch v.1

a=beltzner since it comes in a bundle with the blockers
Attachment #346505 - Flags: approval1.9.1b2+
pushed a1364547a182.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.