From 23c22a60ec108914d8df8cd80023582fbedfe978 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Mon, 1 Feb 2010 12:39:36 +0000 Subject: Cherry-pick WebKit change 54079 for client-based Geolocation See http://trac.webkit.org/changeset/54079 This is required to bring Geolocation up-to-date with webkit.org to allow upstreaming of maximumAge code. Change-Id: I46b8f439668768fa930c610d4b10c7e45cc1ca01 --- WebCore/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'WebCore/ChangeLog') diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index b9bfc25..d2c246a 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,18 @@ +2010-01-29 Steve Falkenburg + + Reviewed by Darin Adler. + + Client-based Geolocation starts updating before getting consent from the user + https://bugs.webkit.org/show_bug.cgi?id=34343 + + * page/Geolocation.cpp: + (WebCore::Geolocation::startRequest): Pass notifier instead of options to startUpdating. + (WebCore::Geolocation::setIsAllowed): Add the observer or notify of error for deferred startUpdating. + (WebCore::Geolocation::startUpdating): Pass notifier instead of options, since we may need to call it if we fail to get user consent. + Defer adding the observer if we don't yet have user consent, since this could kick off + server-based wifi Geolocation requests. + * page/Geolocation.h: + 2010-01-22 Steve Falkenburg Reviewed by Dan Bernstein. -- cgit v1.1