]> spindle.queued.net Git - midori/commitdiff
Disable HTML5 storage features in Private Browsing
authorChristian Dywan <christian@twotoasts.de>
Sun, 17 Apr 2011 23:31:56 +0000 (01:31 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 17 Apr 2011 23:31:56 +0000 (01:31 +0200)
midori/main.c

index 1d93f057ad0b28c2f80f64a8db57093928fd459c..cfb3683525098325b6f430096c11b08f9fe24400 100644 (file)
@@ -2217,6 +2217,11 @@ main (int    argc,
             #if WEBKIT_CHECK_VERSION (1, 1, 2)
                           "enable-private-browsing", TRUE,
             #endif
+            #if WEBKIT_CHECK_VERSION (1, 1, 8)
+                          "enable-html5-database", FALSE,
+                          "enable-html5-local-storage", FALSE,
+                          "enable-offline-web-application-cache", FALSE,
+            #endif
             /* Arguably DNS prefetching is or isn't a privacy concern. For the
              * lack of more fine-grained control we'll go the safe route. */
                           "enable-dns-prefetching", FALSE,