|Summary:||DOM Exception opening up client-side database example for the first time|
|Product:||WebKit||Reporter:||David Kilzer (:ddkilzer) <ddkilzer>|
|Component:||WebKit Website||Assignee:||David Kilzer (:ddkilzer) <ddkilzer>|
|Severity:||Normal||CC:||andersca, beidson, timothy|
|Version:||523.x (Safari 3)|
|OS:||OS X 10.4|
Description David Kilzer (:ddkilzer) 2007-10-21 10:33:02 PDT
Comment 1 David Kilzer (:ddkilzer) 2007-10-21 10:34:23 PDT
Also, I believe this "DOM Exception 12" prevents a new blank note from being created the first time the page is loaded.
Comment 2 David Kilzer (:ddkilzer) 2007-10-21 11:07:12 PDT
(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.
Comment 3 David Kilzer (:ddkilzer) 2007-10-21 11:33:30 PDT
Created attachment 16767 [details] Patch v1 Proposed fix.
Comment 5 David Kilzer (:ddkilzer) 2007-10-21 11:53:42 PDT
Committed revision 26851.
Comment 6 Timothy Hatcher 2007-10-21 12:49:54 PDT
Oops, I fixed this for the original example. But it wasn't fixed in Adam's version.