A browser that supports Javascript and Google Gears version 0.2.2 or later is required to run this player. Check your browser settings to make sure that you have Javascript enabled and the correct version of Google Gears installed.
This player is meant to be a testing and idea-forming ground for the Client-side Database Storage, a new functionality specified by the HTML5 draft.
You can try this functionality right here in the browser. Type (or paste from your favorite editor) Javascript code in
the text box and hit Play
to see the results.
It's important to know that your code will be executed outside of the document context, in a separate thread. As such,
none of the DOM objects will be available to you, except for the window object, and this object only
implements the openDatabase method from the spec and has the console object for printing results.
That's not much, but should be enough to run some SQL queries and get an idea or two about the spec.
The console object is modeled after the Firebug console object and supports
log, debug, error, and info methods.
I would really like to keep improving this player and let it evolve with the specification. Since the spec is young, this may be a bit hard with the limited time I have to spend on this project. Nevertheless, I am looking forward to the challenges, and will try to stay nimble.
Though I don't have the bandwidth to provide fully-fledged support, I encourage you to use WHATWG discussion channels to ask questions pertaining the spec, dig into the Gears site and group to talk with developers about specific capabilities, and sure, bug me if you have something to contribute.
The HTML5 SQL player is made possible by Google Gears, specifically the WorkerPool and Database modules. The icons are provided by FamFamFam.
The player's code is licensed under the terms of the Creative Commons 3.0 license. Obviously, Google Gears and HTML5 have their own copyright and licensing terms.
Special thanks to Aaron and Erik for their guidance and providing simple answers to complex questions.