[Webkit-unassigned] [Bug 24506] New: Geolocation in Safari differs from the spec, no Coordinates attribute on Position
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 10 18:56:06 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24506
Summary: Geolocation in Safari differs from the spec, no
Coordinates attribute on Position
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bolsinga at apple.com
CC: sam at webkit.org
The spec at http://dev.w3.org/geo/api/spec-source.html specifies that there
should be a Coordinates attribute (coords) on the Position interface, which
encapsulates lat, long, altitude, accuracy, etc. But our version doesn't have
the Coordinates attribute. In our implementation, lat, long, accuracy, etc are
attributes on Position.
>From the spec:
"The Position interface is the container for the geolocation information
returned by this API. This version of the specification allows one attribute of
type Coordinates and a timestamp. Future versions of the API may allow
additional attributes that provide other information about this position (e.g.
street addresses).
interface Position {
readonly attribute Coordinates coords;
readonly attribute DOMTimeStamp timestamp;
};
The coords attribute contains a set of geographic coordinates together with
their associated accuracy, as well as a set of other optional attributes such
as altitude and speed.
The timestamp attribute represents the time when the Position object was
acquired and is represented as a DOMTimeStamp [DOMTIMESTAMP].
Coordinates interface
interface Coordinates {
readonly attribute double latitude;
readonly attribute double longitude;
readonly attribute double altitude;
readonly attribute double accuracy;
readonly attribute double altitudeAccuracy;
readonly attribute double heading;
readonly attribute double speed;
};
"
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list