哪个版本的Firefox将支持Web SQL? [英] Which version of firefox will support Web SQL?

查看:122
本文介绍了哪个版本的Firefox将支持Web SQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个需要离线存储SQL的应用程序。



我尝试:

  if(window.openDatabase){
window.db = window.openDatabase(app,,my app db name,1024 * 1024)
}

这在Chrome上效果很好,但在Firefox 3.6上不起作用。 p>

firefox的哪个版本会支持openDatabase? 解决方案

将永远不会执行它根据这个线程:



HTML5 IndexedDB,Web SQL数据库和浏览器之战


I'm developing an app that needs offline storage SQL.

I try:

    if (window.openDatabase) {
        window.db = window.openDatabase("app", "", "my app db name", 1024*1024);
    }   

this works great on Chrome but doesn't work on my Firefox 3.6

What version of firefox will support openDatabase?

解决方案

Mozilla have said they will never implement it according to this thread:

HTML5 IndexedDB, Web SQL Database and browser wars

这篇关于哪个版本的Firefox将支持Web SQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆