diff options
author | Steve Block <steveblock@google.com> | 2012-05-17 23:28:22 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-05-22 14:43:02 +0100 |
commit | ff6a037798489e3dc77bcba7af8851d894e78471 (patch) | |
tree | 2c63db2305cfc50f9da8a86f9d8e7d105e53aa3d /Source/JavaScriptCore/wtf | |
parent | 46b2af401355ec7f5da6603268f6f08160ebc71b (diff) | |
download | external_webkit-ff6a037798489e3dc77bcba7af8851d894e78471.zip external_webkit-ff6a037798489e3dc77bcba7af8851d894e78471.tar.gz external_webkit-ff6a037798489e3dc77bcba7af8851d894e78471.tar.bz2 |
Use preemptive permissions policy for Geolocation
This means that we always check for permission before starting the location
acquisition process.
We pass all Geolocation LayoutTests.
Bug: 4500947
Change-Id: Ia963874cecbf79ce2cc99c5f848682d1cc8aa6aa
Diffstat (limited to 'Source/JavaScriptCore/wtf')
-rw-r--r-- | Source/JavaScriptCore/wtf/Platform.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h index 76c2ae4..5ac08d1 100644 --- a/Source/JavaScriptCore/wtf/Platform.h +++ b/Source/JavaScriptCore/wtf/Platform.h @@ -1285,13 +1285,8 @@ Client based implementations will have option to choose between pre-emptive and nonpre-emptive permission policy. pre-emptive permission policy is enabled by default for all client-based implementations. */ #if ENABLE(CLIENT_BASED_GEOLOCATION) -#if PLATFORM(ANDROID) -// Consider enabling preemptive permissions. See b/4500947. -#define WTF_USE_PREEMPT_GEOLOCATION_PERMISSION 0 -#else #define WTF_USE_PREEMPT_GEOLOCATION_PERMISSION 1 #endif -#endif #if CPU(ARM_THUMB2) #define ENABLE_BRANCH_COMPACTION 1 |