简体   繁体   中英

Can ydn-db be used as a direct WebSQL polyfill

I am building a webkit-based browser and want to provide a polyfill for WebSQL. I found ydn-db but if I inject the polyfill into the webpage, will it just work automatically? Meaning, when WebSQL javascript APIs are called such as window.openDatabase or executeSql , will these APIs be polyfilled?

YDN-DB has basic SQL query engine on top of IndexedDB (or any supported storage engine). But it is not fully featured.

Look at

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM