summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
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>