dart-sdk/tools/dom
Srujan Gaddam 7abaa95492 [dart:html] Fix Geoposition bindings and callbacks
Closes https://github.com/dart-lang/sdk/issues/45562
Closes https://github.com/dart-lang/sdk/issues/44324

Geoposition should be bound to GeolocationPosition as well since
Position is deprecated since Chrome 79.

Similarly, success callbacks used in the Geolocation API can accept
a Firefox-specific implementation, so the callback should accept a
dynamic instead. Doing this requires adding annotations to the APIs
so liveness of Geolocation types is maintained.

Change-Id: Id38f68d10c9cdcb7d711ef83a70df87b30be405d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194325
Reviewed-by: Mayank Patke <fishythefish@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2021-04-29 21:32:15 +00:00
..
docs [dart:html] Add track event to RTCPeerConnection 2020-06-12 00:42:36 +00:00
idl/dart [dart:html] Fix Geoposition bindings and callbacks 2021-04-29 21:32:15 +00:00
new_scripts [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
scripts [dart:html] Fix Geoposition bindings and callbacks 2021-04-29 21:32:15 +00:00
src [dart:html] Fix sanitization for HTML templates 2021-04-13 23:29:08 +00:00
templates [web] deprecate dart:web_sql 2021-04-23 19:04:42 +00:00
.gitignore
dom.json [dart:html] Fix Geoposition bindings and callbacks 2021-04-29 21:32:15 +00:00
dom.py [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
PRESUBMIT.py Mass format python with yapf 2019-08-05 20:34:31 +00:00