Closed
Bug 490046
Opened 15 years ago
Closed 15 years ago
Geolocation fails when link is dragged into another tab with "update is null"
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: whimboo, Assigned: dougt)
References
()
Details
(Keywords: verified1.9.1)
Attachments
(1 file)
3.91 KB,
patch
|
Gavin
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090423 Shiretoko/3.5b4pre ID:20090423163827 When I do the following steps an error appears in the error console and the page is blank: Error: update is null Source File: file:///C:/Programme/Mozilla%20Firefox%203.5%20Beta%204/components/NetworkGeolocationProvider.js Line: 218 Steps: 1. Drag&Drop the URL from the URL field to the tab bar to open a new tab or drop it over an already existing tab 2. Click the button "Tell them" inside the notification toolbar 3. Page is blank This problem persist for the remaining time the browser is open. I can see this on Windows and OS X.
Flags: blocking1.9.1?
Comment 1•15 years ago
|
||
this was also seen by tracy during the testday and looks to be the same issue.
Assignee | ||
Comment 2•15 years ago
|
||
Joel, are you able to reproduce this without the drag and drop step?
Comment 3•15 years ago
|
||
if I hit this error by drag and drop, any subsequent work results in the same error. For example if I browse to a geolocation page after hitting this error and click "Tell them", it will give me the update is null error. trying to reproduce this without the drag/drop step
Comment 4•15 years ago
|
||
I hit this without any drag/drop using dougt's demo page. It worked the first time, but not after that.
Assignee | ||
Comment 5•15 years ago
|
||
it might be the way I am stashing the update object in the network channel. ted, you able to repo?
Comment 6•15 years ago
|
||
Here are my STR: 1) Load http://people.mozilla.org/~dougt/geo.html, click "tell them", works 2) Load http://geo.webvm.net/, click "tell them", get error 3) Reload http://people.mozilla.org/~dougt/geo.html, get the same error
Assignee | ||
Comment 7•15 years ago
|
||
no longer caching the update object, but instead just grabbing the global service. Thinking about this a bit, we probably should redo the way geolocation providers push locations into the geolocation. I will fix that up in bug 454490. also, dropping the const on the xhr request because this really isn't a const object. and, nulling the wifi_service when done with it.
Assignee: nobody → doug.turner
Attachment #374831 -
Flags: superreview?(jst)
Attachment #374831 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #374831 -
Flags: review? → review?(gavin.sharp)
Assignee | ||
Comment 8•15 years ago
|
||
@ted, can you try this patch out?
Updated•15 years ago
|
Attachment #374831 -
Flags: review?(gavin.sharp) → review+
Comment 9•15 years ago
|
||
If you throw it at the try server and point me to a build. Not enough bandwidth/time to do a build currently.
Comment 10•15 years ago
|
||
(In reply to comment #7) > no longer caching the update object, but instead just grabbing the global > service. Do you know why the update ended up being null? Was the channel losing track of it somehow? Or was shutdown() called unexpectedly before onChange()? Or something else?
Assignee | ||
Comment 11•15 years ago
|
||
@gavin, i filed 490490 to investigate.
Updated•15 years ago
|
Attachment #374831 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Updated•15 years ago
|
Attachment #374831 -
Flags: approval1.9.1?
Assignee | ||
Comment 12•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f510e421b136
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Reporter | ||
Comment 14•15 years ago
|
||
Verified fixed with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090504 Minefield/3.6a1pre ID:20090504031236
Status: RESOLVED → VERIFIED
Target Milestone: --- → mozilla1.9.2a1
Reporter | ||
Comment 15•15 years ago
|
||
Comment on attachment 374831 [details] [diff] [review] patch v.1 No approval needed anymore since it's a blocker.
Attachment #374831 -
Flags: approval1.9.1?
Reporter | ||
Updated•15 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 16•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/38c2817eba84
Keywords: checkin-needed → fixed1.9.1
Reporter | ||
Updated•15 years ago
|
Keywords: fixed1.9.1 → verified1.9.1
Reporter | ||
Comment 17•15 years ago
|
||
Verified fixed with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090511 Shiretoko/3.5b5pre ID:20090511031352
You need to log in
before you can comment on or make changes to this bug.
Description
•