Closed
Bug 891796
Opened 12 years ago
Closed 11 years ago
Geolocation spoofing in devtools
Categories
(DevTools Graveyard :: WebIDE, defect, P3)
DevTools Graveyard
WebIDE
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: sankha, Unassigned)
References
Details
Attachments
(1 file)
Firefox Devtools should have an option to spoof the Geolocation, so that websites can be tested by changing the location.
Updated•12 years ago
|
Component: Developer Tools → Developer Tools: App Manager
Updated•12 years ago
|
Priority: -- → P3
Comment 2•12 years ago
|
||
(In reply to David from comment #1)
> Created attachment 824934 [details] [review]
> Geolocation overriding in devtools
Hi David. Thanks for looking at this.
Your code looks a lot like the code we already have in the simulator (see https://github.com/mozilla/r2d2b2g/tree/master/prosthesis/components ), but I think we want a different approach.
First, the fake geolocation provider needs to live at the toolkit level (not in /browser/ but in /toolkit/) because we might want to use this in B2G desktop (Simulator). Also, this needs to work via the remote protocol (https://wiki.mozilla.org/Remote_Debugging_Protocol) to make it available on the device. So using the fake geolocation needs to be done via an actor (see http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/ ).
Also, about the integration in the interface, we're not sure we want to move that at the toolbox level. We just don't know yet how to correctly expose API Simulation in the UI.
You might want to look at bug 925761 instead.
Flags: needinfo?(paul)
Comment 4•12 years ago
|
||
It was previously in the simulator, but was removed, I think, when we went from the Firefox OS Simulator 4.x to App Manager. Can we add it back in the simulators used in App Manager?
Comment 5•12 years ago
|
||
(related: bug 943528)
Comment 6•12 years ago
|
||
Oh my fault, I thought it was geolocation emulation. I'll fill another bug, as it's not about spoofing.
Comment 7•11 years ago
|
||
The platform will soon allow geolocation spoofing, which will be controlled by observer notifications. Once bug 925761 lands it should be easy to implement a devtools actor for it.
Depends on: 925761
Blocks: 1069882
Comment 8•11 years ago
|
||
Not really sure what to do with this, as it started as a duplicate of bug 1069882 but ended up being a duplicate of bug 925761 (when I say "duplicate" I mean "original bug that was since duplicated by a more recent bug").
Anyway, I'll close this because there already is a way to spoof geolocation in WebIDE's Simulators (see bug 925761) and better geolocation tools should eventually be added to the devtools (see bug 1069882).
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•