I am having some real trouble using the WebSQL Api. Actually, I can’t use it at all. When I try to open the database, I get:
TypeError: ‘undefined’ is not a function (evaluating ‘window.openDatabase’)
I have tried calling simply openDatabase(), window.openDatabase(), no results. Seems like it’s not available at all. I have tried both my code and the code provided in tutorials:
WebSQL API not working (undefined)
Hello
I am having some real trouble using the WebSQL Api. Actually, I can’t use it at all. When I try to open the database, I get:
TypeError: ‘undefined’ is not a function (evaluating ‘window.openDatabase’)
I have tried calling simply openDatabase(), window.openDatabase(), no results. Seems like it’s not available at all. I have tried both my code and the code provided in tutorials:
http://download.tizen.org/misc/examples/w3c_html5/storage/web_sql_database/websqldatabase_example.html
This happens both on the device and the emulator.
I do have the http://tizen.org/privilege/unlimitedstorage declared.
window.webkitIndexedDB is defined and works properly… so it’s not a matter of visibility.
Any ideas?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio