W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2021

Re: [geolocation-api] Change text for description of GeolocationPositionError.message attribute (#50)

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 May 2021 00:49:05 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-835990616-1620607743-sysbot+gh@w3.org>
As @aphillips mentioned above, we have the STRING-META and BP-I18N-SPECDEV documents for generalized solutions and guidance to this particular i18n problem - with the aim to push a solution to WebIDL, which is the spec that governs `DOMException`s and the `.message`s that goes with those exceptions. 

Geolocation is unfortunate in its legacy design, in that it uses its own error handling system. Remember, this was designed over a decade ago, and it seemed like a good idea at the time!... same with Indexed DB... we know better now. 

Pie in the sky idea right now but... if we do end up revising how Geolocation works (e.g., by turn it into a Promise-returning API), then we can address these problem fully at that time. 

-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/geolocation-api/issues/50#issuecomment-835990616 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 May 2021 00:49:07 UTC

This archive was generated by hypermail 2.4.0 : Monday, 10 May 2021 00:49:08 UTC