Closed
Bug 625415
Opened 15 years ago
Closed 15 years ago
Position is lost after a few seconds
Categories
(Core :: DOM: Geolocation, defect)
Core
DOM: Geolocation
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: u279076, Assigned: dougt)
References
Details
(Keywords: regression, Whiteboard: [4b9][hardblocker])
Attachments
(1 file)
4.66 KB,
patch
|
jdm
:
review+
jst
:
approval2.0+
|
Details | Diff | Splinter Review |
Test Case:
https://litmus.mozilla.org/show_test.cgi?id=12056
Test Page:
http://hg.mozilla.org/qa/litmus-data/raw-file/tip/firefox/geolocation/position.html
The test page above is used in the test case above to check that we can share the location. It just simply prints out the tester's coordinates once a location is shared. However, there seems to be a regression because the location is lost after a few seconds.
Some preliminary regression testing indicates the last time this worked correctly was in Firefox 4.0b6.
Updated•15 years ago
|
Keywords: regression,
regressionwindow-wanted
Version: unspecified → Trunk
I suspect something here caused the regression:
http://hg.mozilla.org/mozilla-central/rev/0d8d6369655d
Keywords: regressionwindow-wanted
Comment 3•15 years ago
|
||
The reason this occurs is due to the SetTimeoutTimer() call that was added at the bottom of nsGeolocationRequest::SendLocation. Doug, what's the rationale behind that? I'm having trouble coming up with why we want a timer to fire after we've already sent the location.
blocking2.0: --- → ?
Updated•15 years ago
|
Assignee | ||
Comment 4•15 years ago
|
||
oic. that SetTimeooutTimer should only be called if the request was created by a WatchPosition call.
Comment 5•15 years ago
|
||
Josh, Doug does this need to block. Can we make a call so we can get it out of the nomination queue. Who would work on it?
Assignee | ||
Comment 6•15 years ago
|
||
something like this...
Assignee: nobody → doug.turner
Attachment #506903 -
Flags: review?(josh)
Comment 7•15 years ago
|
||
Comment on attachment 506903 [details] [diff] [review]
patch v.1
Darn, I had this same patch sitting in my queue two weeks ago, and I thought I put it up here. r=me as long as you get rid of the default parameter; I don't see any need for that.
Updated•15 years ago
|
Attachment #506903 -
Flags: review?(josh) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #506903 -
Flags: approval2.0?
Updated•15 years ago
|
Attachment #506903 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 8•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
blocking2.0: ? → final+
Whiteboard: [4b9] → [4b9][hardblocker]
You need to log in
before you can comment on or make changes to this bug.
Description
•