mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement emulated Geolocation position retrieval
This implements enough of the Geolocation spec that it is now possible for websites to retrieve the current geo position or try to watch for updates (which currently never happen). As it stands now, it only returns a single emulated position that points to San Francisco.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
53c35c5d3b
commit
71f03cb785
Notes:
github-actions[bot]
2025-06-24 09:35:05 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/71f03cb7856 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5169 Reviewed-by: https://github.com/shannonbooth ✅
@@ -35,6 +35,9 @@ public:
|
||||
TimerTask,
|
||||
JavaScriptEngine,
|
||||
|
||||
// https://w3c.github.io/geolocation/#dfn-geolocation-task-source
|
||||
Geolocation,
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#navigation-and-traversal-task-source
|
||||
NavigationAndTraversal,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user