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> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, beidson, timothy | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://webkit.org/misc/DatabaseExample.html | ||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2007-10-21 10:33:02 PDT
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]
Patch v1
Proposed fix.
Comment on attachment 16767 [details]
Patch v1
r=me
Committed revision 26851. Oops, I fixed this for the original example. But it wasn't fixed in Adam's version. |