WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
62370
IndexedDB deleteIndex should throw NOT_ALLOWED_ERR if called outside a VERSION_CHANGE transaction callback
https://bugs.webkit.org/show_bug.cgi?id=62370
Summary
IndexedDB deleteIndex should throw NOT_ALLOWED_ERR if called outside a VERSIO...
Mark Pilgrim (Google)
Reported
2011-06-09 05:48:06 PDT
Created
attachment 96576
[details]
test case
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-deleteIndex-void-DOMString-indexName
states "Note that this method must only be called from a VERSION_CHANGE transaction callback. ... NOT_ALLOWED_ERR [indicates] This method was not called from a VERSION_CHANGE transaction callback." This test opens a database, creates an objectstore, creates an index, waits for the VERSION_CHANGE transaction to end, and then attempts to delete the index. Expected behavior: throws webkitIDBDatabaseException.NOT_ALLOWED_ERR Actual behavior: throws webkitIDBDatabaseException.NOT_FOUND_ERR Test case attached.
Attachments
test case
(2.68 KB, text/html)
2011-06-09 05:48 PDT
,
Mark Pilgrim (Google)
no flags
Details
Patch
(5.22 KB, patch)
2011-11-23 12:57 PST
,
Joshua Bell
no flags
Details
Formatted Diff
Diff
Patch
(5.15 KB, patch)
2011-11-23 15:09 PST
,
Joshua Bell
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Joshua Bell
Comment 1
2011-10-24 16:17:42 PDT
This functions correctly now (circa M16), but we don't appear to have a layout test for this case. We should add Mark's test.
Joshua Bell
Comment 2
2011-11-23 12:57:39 PST
Created
attachment 116404
[details]
Patch
Joshua Bell
Comment 3
2011-11-23 15:09:27 PST
Created
attachment 116437
[details]
Patch
Joshua Bell
Comment 4
2011-11-23 15:10:24 PST
Comment on
attachment 116437
[details]
Patch removed stylesheet link
Hans Wennborg
Comment 5
2011-11-24 08:03:44 PST
Looks good to me.
Joshua Bell
Comment 6
2011-12-07 10:43:52 PST
tony@ - r? cq?
WebKit Review Bot
Comment 7
2011-12-07 13:18:46 PST
Comment on
attachment 116437
[details]
Patch Clearing flags on attachment: 116437 Committed
r102269
: <
http://trac.webkit.org/changeset/102269
>
WebKit Review Bot
Comment 8
2011-12-07 13:18:52 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug