"DOM Exception 12" is reported the very first time the DatabaseExample.html page is opened.
* STEPS TO REPRODUCE
1. Remove ~/Libraries/WebKit/Databases if it exists.
2. Launch Safari + WebKit.
3. Open URL: http://webkit.org/misc/DatabaseExample.html
* EXPECTED RESULTS
* ACTUAL RESULTS
SYNTAX_ERR: DOM Exception 12
Not applicable as client-side database support is a new feature.
Tested with a local debug build of WebKit r26847 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).
Also, I believe this "DOM Exception 12" prevents a new blank note from being created the first time the page is loaded.
(In reply to comment #1)
> Also, I believe this "DOM Exception 12" prevents a new blank note from being
> created the first time the page is loaded.
The problem is that there is a race condition between creating the WebKitStickyNotes table for the first time and querying the table in the loaded() function. The loaded() function may get called before the WebKitStickyNotes table is created.
Created attachment 16767 [details]
Comment on attachment 16767 [details]
Committed revision 26851.
Oops, I fixed this for the original example. But it wasn't fixed in Adam's version.