ACTION-90: Clarify with hixie what the Geolocation spec should say about stopping watchPosition processes on document unload
Clarify with hixie what the Geolocation spec should say about stopping watchPosition processes on document unload
- State:
- closed
- Person:
- Andrei Popescu
- Due on:
- September 14, 2011
- Created on:
- September 7, 2011
- Related emails:
- Geolocation API Level 2 Last Call comment on privacy (from [email protected] on 2012-01-15)
Related notes:
Hixie commented on a very similar issue in File API:
http://lists.w3.org/Archives/Public/public-webapps/2010OctDec/1049.html
I think we just need to follow the example of the File API and say that
"This specification adds an additional unloading document cleanup step: user agents MUST abort any watch processes created with navigator.geolocation.watchPosition() from within that document".
See also
http://www.w3.org/TR/2011/WD-FileAPI-20111020/#lifeTime
Fixed in http://dev.w3.org/cvsweb/geo/api/spec-source-v2.html.diff?r1=1.31;r2=1.32
Andrei Popescu, 31 Oct 2011, 21:55:12Display change log.