Răsfoiți Sursa

Document i18n in WebView leak

mirokuratczyk 6 ani în urmă
părinte
comite
4559ca71b6

+ 8 - 0
MobileLibrary/Android/SampleApps/TunneledWebView/README.md

@@ -10,6 +10,14 @@ an Android app. TunneledWebView proxies a WebView through the Psiphon tunnel.
 Caveats
 --------------------------------------------------------------------------------
 
+### i18n API Leaks Timezone
+
+The Internationalization API (i18n) provides websites, though a JavaScript API, with access to the timezone used by
+the user's browser (in this case WebView). This does not reveal the precise location of the user, but can be accurate
+enough to identify the city in which the user is located.
+
+The i18n API cannot be disabled without disabling JavaScript.
+
 ### Untunneled WebRTC
 
 WebRTC requests do not use the configured proxy settings of a WebView. JavaScript must be disabled in a WebView to

+ 9 - 1
MobileLibrary/iOS/SampleApps/TunneledWebView/README.md

@@ -16,7 +16,15 @@ We use a slightly modified version of JiveAuthenticatingProtocol (https://github
 
 ## *\*\* Caveats \*\*\*
 
-### Challenges
+### i18n API Leaks Timezone
+
+The Internationalization API (i18n) provides websites, though a JavaScript API, with access to the timezone used by
+the user's browser (in this case UIWebView). This does not reveal the precise location of the user, but can be accurate
+enough to identify the city in which the user is located.
+
+Like the "Untunneled WebRTC" issue mentioned below, the i18n API cannot be disabled without disabling JavaScript.         
+
+### NSURLProtocol Challenges
 
 ***NSURLProtocol is only partially supported by UIWebView (https://bugs.webkit.org/show_bug.cgi?id=138169) and iOS,
 meaning that some network requests are made out of process and are consequently untunneled.***