WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
63891
unable to open a transaction to the database after changeVersion failure.
https://bugs.webkit.org/show_bug.cgi?id=63891
Summary
unable to open a transaction to the database after changeVersion failure.
jaebok.lee
Reported
2011-07-03 23:10:52 PDT
On testing Web SQL Database, I found a problem. I attached a test html file. The test file is testing changeVersion method. There is two changeVersion method calls. The 1st call is wrong because the value of the first argument to the changeVersion() method exactly dows not matche the database's actual version. The 2nd call is not wrong, but it return error message, "unable to open a transaction to the database"!! So I debug the problem, And I found there is a problem performing rollback on 1st call. // Transaction Steps 3 - Peform preflight steps, jumping to the error callback if they fail if (m_wrapper && !m_wrapper->performPreflight(this)) { m_database->disableAuthorizer(); // <= this code is needed. m_sqliteTransaction.clear(); m_database->enableAuthorizer(); // <= this code is needed. Reference url :
http://www.w3.org/TR/webdatabase/#dom-database-sync-changeversion
Attachments
test html file
(2.44 KB, text/html)
2011-07-03 23:38 PDT
,
jaebok.lee
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
jaebok.lee
Comment 1
2011-07-03 23:38:22 PDT
Created
attachment 99602
[details]
test html file
Michael Nordman
Comment 2
2012-10-19 12:49:22 PDT
Looks like this bug is either invalid or has been fixed since the bug was filed. The attached test file passes.
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