Cordova's Storage API is based on Web SQL API. This API is widely used in Cordova-based applications.
Web SQL API is also used on some mobile web sites, so it would be good to have it not only in CordovaSim, but also in BrowserSim.
The problem is that Safari's Web SQL API is not available in SWT Browser on Windows. A way to provide this API is needed.
Now this script is automatically injected in BrowserSim when Web SQL API is needed.