summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authorsgurun@chromium.org <sgurun@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-14 21:13:41 +0000
committersgurun@chromium.org <sgurun@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-14 21:13:41 +0000
commite210f6223ae766268fc9c27ffb4e0e0f74edb89d (patch)
tree9b0c43775288128dd541d2d7e3f725a0cc3cbb70 /android_webview/test
parentb7ecd5f5040c54fd690b3a7631939d33cff4cc21 (diff)
downloadchromium_src-e210f6223ae766268fc9c27ffb4e0e0f74edb89d.zip
chromium_src-e210f6223ae766268fc9c27ffb4e0e0f74edb89d.tar.gz
chromium_src-e210f6223ae766268fc9c27ffb4e0e0f74edb89d.tar.bz2
Implement Websettings.[get/set]DatabaseEnabled
BUG=6294786 Review URL: https://chromiumcodereview.appspot.com/12194033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/test')
-rw-r--r--android_webview/test/data/device_files/database_access.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/android_webview/test/data/device_files/database_access.html b/android_webview/test/data/device_files/database_access.html
new file mode 100644
index 0000000..566c01c
--- /dev/null
+++ b/android_webview/test/data/device_files/database_access.html
@@ -0,0 +1,13 @@
+<html>
+ <head><title>None</title><script>
+ function checkDatabase() {
+ var db = null;
+ if ('openDatabase' in window) {
+ db = window.openDatabase('test', '1.0', 'results', 1*1024*1024);
+ }
+ document.title = db ? "Has database" : "No database";
+ }
+ </script></head>
+ <body onload='checkDatabase()'>
+ </body>
+</html>